<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chun on Medium]]></title>
        <description><![CDATA[Stories by Chun on Medium]]></description>
        <link>https://medium.com/@chun871222?source=rss-a29ddb7b8b7a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GzLMIg7vklj1IbfCMONXqQ.jpeg</url>
            <title>Stories by Chun on Medium</title>
            <link>https://medium.com/@chun871222?source=rss-a29ddb7b8b7a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:43:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chun871222/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[令人頭痛的數學課]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E4%BB%A4%E4%BA%BA%E9%A0%AD%E7%97%9B%E7%9A%84%E6%95%B8%E5%AD%B8%E8%AA%B2-32abe7d449fe?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/32abe7d449fe</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Tue, 19 Apr 2022 15:11:03 GMT</pubDate>
            <atom:updated>2022-04-20T09:40:13.861Z</atom:updated>
            <content:encoded><![CDATA[<p>曾是國小安親班老師的我<br>想必數學一定很好(才怪🤣<br>看著班上的孩子每次的考試都紅一片<br>一個個問了才知道原來是公式都沒背熟啊！！<br>如果他們考試時能夠用以下的function公式來計算的話…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*g8BgAROMs-_9BJkrVwa3Zg.png" /></figure><p>1正方形</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*CCnJPCez8yJitqVRaR46tQ.png" /><figcaption>正方形面積公式是邊長＊邊長</figcaption></figure><p>2長方形</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*43zEHRnkXaLyyykcDkP_ag.png" /><figcaption>長方形的面積公式是長＊寬</figcaption></figure><p>3三角形</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*2kzVzHHhF3VzFF1sUbEmzQ.png" /><figcaption>三角形的面積公式是底＊高／２</figcaption></figure><p>4梯形</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*mZdD5Ynf5H56Bi5-4am5fw.png" /><figcaption>梯形面積公式是(上底＋下底)＊高／2</figcaption></figure><p>這裡要特別注意的是如果三角形跟梯形的數字帶入<br>即便是整數但是計算出來後有小數點<br>呈現出來的答案依舊是整數，但是數值就會有所不同哦！</p><p>下課。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32abe7d449fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E4%BB%A4%E4%BA%BA%E9%A0%AD%E7%97%9B%E7%9A%84%E6%95%B8%E5%AD%B8%E8%AA%B2-32abe7d449fe">令人頭痛的數學課</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[利用function印出歌詞]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%88%A9%E7%94%A8function%E5%8D%B0%E5%87%BA%E6%AD%8C%E8%A9%9E-425f04afea59?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/425f04afea59</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Tue, 19 Apr 2022 14:17:42 GMT</pubDate>
            <atom:updated>2022-04-20T09:41:07.670Z</atom:updated>
            <content:encoded><![CDATA[<p>感謝告五人讓我順利的完成此功課❤️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*HR2O78sIp3u00oCHfJyWPA.jpeg" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVpwAq7hiij0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVpwAq7hiij0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVpwAq7hiij0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4509efcd6a5ad72b300690673ce6e9c7/href">https://medium.com/media/4509efcd6a5ad72b300690673ce6e9c7/href</a></iframe><p>先來看看原始版的歌詞</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*RZcPRShAyBLstQFqDGfQBQ.png" /></figure><p>整首歌非常簡單的只有兩個主歌其他部分都是副歌<br>真佩服我自己那麼會挑歌呢😚<br>所以這首歌打出來的function也是非常的簡潔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*QEHq1xgfZPq7MXF5PXAOuA.png" /></figure><p>//代表只是在程式裡做註解而已並不會顯示出來</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*34BbMNuJmMzrb4p3aC57pQ.png" /></figure><p>再來就是執行的動作啦<br>是不是非常的乾淨俐落呢😎</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*8HdRWU-rOSVctcALv1b-1A.png" /></figure><p>完成一首歌啦～</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=425f04afea59" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%88%A9%E7%94%A8function%E5%8D%B0%E5%87%BA%E6%AD%8C%E8%A9%9E-425f04afea59">利用function印出歌詞</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[簡單的function練習]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%B0%A1%E5%96%AE%E7%9A%84function%E7%B7%B4%E7%BF%92-83403b665249?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/83403b665249</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Sun, 17 Apr 2022 13:26:24 GMT</pubDate>
            <atom:updated>2022-04-18T10:29:43.588Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*auyyrJkHZ9gpft3O-aHkTw.jpeg" /><figcaption>未成年請勿飲酒</figcaption></figure><p>func 酒鬼的週五日常() {<br>早上八點起床()<br>在床上彌留一下()<br>八點半下床刷牙洗臉換衣服()<br>九點出門()<br>騎車到家人的店裡幫忙()<br>中午休息吃飯()<br>下午騎車到阿姨的倉庫幫忙理貨()<br>晚上六點下班()<br>跟朋友約七點吃飯()<br>八點半吃完晚餐()<br>坐計程車到酒吧續攤()<br>喝酒聊天玩遊戲()<br>三點回到家()<br>洗澡睡覺()<br>早上八點起床()<br>在床上彌留一下()<br>八點半下床刷牙洗臉換衣服()<br>九點出門()<br>騎車到家人的店裡幫忙()<br>中午休息吃飯()<br>下午騎車到阿姨的倉庫幫忙理貨()<br>晚上六點下班()<br>跟朋友約七點吃飯()<br>八點半吃完晚餐()<br>坐計程車到酒吧續攤()<br>喝酒聊天玩遊戲()<br>三點回到家()<br>洗澡睡覺()<br>早上八點起床()<br>在床上彌留一下()<br>八點半下床刷牙洗臉換衣服()<br>九點出門()<br>騎車到家人的店裡幫忙()<br>中午休息吃飯()<br>下午騎車到阿姨的倉庫幫忙理貨()<br>晚上六點下班()<br>跟朋友約七點吃飯()<br>八點半吃完晚餐()<br>坐計程車到酒吧續攤()<br>喝酒聊天玩遊戲()<br>三點回到家()<br>洗澡睡覺()<br>}</p><p>酒鬼的週五日常()</p><p>這是我的禮拜五日常<br>當然不是每個禮拜啦！<br>大概一個月會有兩次吧😅<br>就是如此的樸實無華且好玩呢☺️</p><p>再次提醒未成年請勿飲酒<br>以及理性飲酒</p><p>以上。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83403b665249" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%B0%A1%E5%96%AE%E7%9A%84function%E7%B7%B4%E7%BF%92-83403b665249">簡單的function練習</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[幫小新換衣服]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%B9%AB%E5%B0%8F%E6%96%B0%E6%8F%9B%E8%A1%A3%E6%9C%8D-ca685e3b9349?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca685e3b9349</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Sat, 16 Apr 2022 07:30:48 GMT</pubDate>
            <atom:updated>2022-04-16T13:28:35.360Z</atom:updated>
            <content:encoded><![CDATA[<p>媽媽你回來了～<br>蠟筆小新是每個小孩的經典卡通之一吧<br>紅色上衣配上黃色短褲就讀雙葉幼稚園向日葵班的五歲小孩</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ics6Y9ex-Qx_b8EMplB-8w.jpeg" /><figcaption>嗨我叫野原新之助今年五歲</figcaption></figure><p>首先先將小新的衣服顏色去背<br>打開圖片後按一隻筆的圖案(藍色的那隻)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*iq12dYrP6n8xhvnBHXFMwg.png" /></figure><p>再點進去後點選一隻很像仙女棒的去背功能</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*IQoQ0ewamX-FvGXXoPJAWw.png" /></figure><p>接下來只需要將想換顏色的部分去背就可以了</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*WO8RgzWhGVlsn_Gx7n0y8Q.png" /><figcaption>優出現這種虛線範圍的才可以去到背哦</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*r0Q6rOHsqb6ksgkNFY3b2A.png" /><figcaption>這樣就算完成去背了！</figcaption></figure><p>好了之後就可以進入到playground的部分了<br>一樣先將去背完成的圖片加入到Resources裡了～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*3JV5HdKkvSYSwhoE_2x0Kw.png" /><figcaption>小新的英文我隨便取的🤣</figcaption></figure><p>建立一個image，再建立一個imageview</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*jYx_8D_dFw-Wn3y5N8BPVA.png" /></figure><p>最後一步就是幫他換衣服的顏色啦～<br>我是覺得藍色跟黃色滿搭的啦☺️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*S0DaWJgPoM_WsFbX40byHw.png" /></figure><p>春日部防衛隊…Fire!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca685e3b9349" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%B9%AB%E5%B0%8F%E6%96%B0%E6%8F%9B%E8%A1%A3%E6%9C%8D-ca685e3b9349">幫小新換衣服</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[可愛的寶貝卡片]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%8F%AF%E6%84%9B%E7%9A%84%E5%AF%B6%E8%B2%9D%E5%8D%A1%E7%89%87-4cfb86b9b04?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cfb86b9b04</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Wed, 13 Apr 2022 14:26:50 GMT</pubDate>
            <atom:updated>2022-04-15T04:00:42.765Z</atom:updated>
            <content:encoded><![CDATA[<p>先獻上我家的寶貝😚</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bi9Lfw3IOwv4SNha9XvAWA.jpeg" /><figcaption>不得不說Iphone的人像真的很讚</figcaption></figure><blockquote>1加入圖片</blockquote><p>製作卡片的第一步就是要先有照片呀～<br>所以先設一個image名稱<br>那個名字我就設在resources裡面照片的名稱這樣才不會亂掉🤣</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hxduzK5ATJCo8SN5xzi4Ww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*ydl8Gwi60Wz8xjBbpGKBQA.png" /></figure><blockquote>2加入文字</blockquote><p>再來幫她加上每次都想告訴我的話<br>(如果她會說話的話一定每天都跟我說這句)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*yEfV4fOb79Mk-iFgaOrHug.png" /></figure><p>首先先設定一個label的大小，我是設定滿大的，可以依照每張照片的大小去更改<br>再來就是加入文字的部分以及加顏色跟文字的大小<br>完成後就可以.addSubview(messagelabel)<br>看看文字的位子以及顏色有沒有滿意，不滿意的話再微調即可<br>(當初文字的位子我可是調了一段時間呢😅)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*mHWnUiyRUDXVk8ik1ZhU9Q.png" /><figcaption>文字的部分因為縮小所以有點糊掉，不過放大後沒問題的</figcaption></figure><blockquote>3圖片圓角及邊線</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*B9inAg6mDqCPMo37szHgTA.png" /></figure><p>cornerRadius的部分記得不要把數字設太大不然會很醜🤣<br>clipsToBounds是設定圓角，所以要圓角的話就一定要true<br>borderWidth是邊留白的部分<br>borderColor是留白後的背景色，這邊比較不一樣的是RGB部分最大只到1，所以要用255去除以RGB的色碼</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*l8tprWq5t2U884mtgyiZrQ.png" /></figure><p>很貼心的我附上RGB查詢表給大家參考😚<br><a href="https://www.rapidtables.com/web/color/RGB_Color.html">https://www.rapidtables.com/web/color/RGB_Color.html</a></p><blockquote>4加入可愛emoji</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*ZdcivkexaENtaqp0p4deoQ.png" /></figure><p>！以下這段很重要！<br>如果只要新增一個emoji的話用let<br>如果是要新增兩個以上的emoji的話用var<br>再來就是調整個對稱的位置就可以了</p><blockquote>最終成果</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*FtQQYG_UFG65--bfJE1quA.png" /></figure><p>是不是很可愛壓😍😍</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cfb86b9b04" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%8F%AF%E6%84%9B%E7%9A%84%E5%AF%B6%E8%B2%9D%E5%8D%A1%E7%89%87-4cfb86b9b04">可愛的寶貝卡片</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Boogiebot嗨起來]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/boogiebot%E5%97%A8%E8%B5%B7%E4%BE%86-d4a2ad87aee7?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4a2ad87aee7</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 15:31:38 GMT</pubDate>
            <atom:updated>2022-04-12T05:59:32.158Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*rTgYU6HKBQCyMuMCApK_jg.gif" /></figure><p>就…很間單的律動這樣<br>不過記得在手或腳以及屁股抬起來(屁股左右搖擺要回正)後要把他放下來餒不然動作會不完整🤣<br>使用到的function非常之基礎</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*wHBkYAhWd185LAm83nKhHw.png" /></figure><p>簡單歸簡單，不過做出一個成品滿有成就感的☺️</p><p>下次再挑戰其他的高難度動作吧！</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4a2ad87aee7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/boogiebot%E5%97%A8%E8%B5%B7%E4%BE%86-d4a2ad87aee7">Boogiebot嗨起來</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[程式設計的學習小遊戲]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%A8%8B%E5%BC%8F%E8%A8%AD%E8%A8%88%E7%9A%84%E5%AD%B8%E7%BF%92%E5%B0%8F%E9%81%8A%E6%88%B2-fff029c0c07f?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fff029c0c07f</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Fri, 08 Apr 2022 15:50:06 GMT</pubDate>
            <atom:updated>2022-04-09T07:58:42.811Z</atom:updated>
            <content:encoded><![CDATA[<p>邊學邊玩對於在學習的人所能最快進入狀況的一種方法，在遊戲中激發每個人想過關的慾望，不知不覺中也就學習到了不少的技能。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*E0QRe9bgwhyjcfu_86rjNg.png" /></figure><p>這三個是入門款的遊戲(一開始看到這個覺得他們三個好醜🤣)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ybb1btksdUITEcUSO_4Kvw.png" /></figure><p>第一關指令的部分電腦會很好心的直接把順序以及怎麼排出正確的程式可以讓那個外星人完成任務！<br>第二關就開始需要動一點腦了，不過都還在基礎範圍內～<br>在遊戲的過程中都會忘記時間，一個晚上默默的就不小心完成了這些關卡，在玩遊戲的過程從不覺得程式是個很難懂的東西，就只需要換個思考方式就可以讓外星人過關啦～</p><p>好遊戲推推～！</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fff029c0c07f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%A8%8B%E5%BC%8F%E8%A8%AD%E8%A8%88%E7%9A%84%E5%AD%B8%E7%BF%92%E5%B0%8F%E9%81%8A%E6%88%B2-fff029c0c07f">程式設計的學習小遊戲</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI元件研究]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/ui%E5%85%83%E4%BB%B6%E7%A0%94%E7%A9%B6-715ebd1f5632?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/715ebd1f5632</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Tue, 05 Apr 2022 14:36:02 GMT</pubDate>
            <atom:updated>2022-04-08T09:09:21.349Z</atom:updated>
            <content:encoded><![CDATA[<p>一打開xcode發現全部都是英文的當下，心想挫賽了都看不懂啊……不過幸好本身就是拿iphone加上有點英文底子的我稍微研究一下就大致上知道這些密密麻麻的元件到底在幹嘛🙂<br>接下來將會用最白話的方式來一一解釋常用的元件到底該如何使用及設定，讓ios程式設計小白都看得懂也知道該如何設定！</p><blockquote>Segmented Control－類似選擇題</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/1*AykS1gZ7vNGFLNdwDHzJqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*19LVf66x9m_Z7zu0-aw-fA.png" /></figure><p>1. Segments－選擇的個數(至少要兩個選擇)一定要兩個去選擇啊<br>2. Segment－欄位<br>3. Title－欄位內容<br>4. Image－欄位的圖片<br>5. Selected－是否要顯示所選擇的</p><blockquote>Slider－滑動的數值</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/197/1*V-nOYUkizHcuyapejKtSlQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*InajVVmACIufzFpaI76Jbg.png" /></figure><p>1.Value－預設值<br>2. Minimum－最大值<br>3. Maximum－最小值<br>4. Min Image－最小值那頭的圖片<br>5. Max Image－最大值那頭的圖片<br>6. Min Track－已跑了的顏色<br>7. Max Track－未跑的顏色<br>8. Thumb Tint－那個點點的顏色<br>(4.~8.不一定要設定)</p><blockquote>Switch－開關</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*cGPl2LH3ZzGRaeIDD_FyZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/258/1*vozJmsy1RQFOK0rgOruKPA.png" /></figure><p>1.State－預設是開或是關<br>2. On Tint－開的顏色<br>3. Thumb Tint－那個點點的顏色</p><blockquote>Activity Indicator View－下載的圈圈(沒錯就是我們最不想看到的那個東西)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*9l1JHKwu-RZoV9-JQkP_aQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*nBPC9Epvo3Iwj4jgTMFoCg.png" /></figure><p>1. Style－可以選擇那個圈圈的大小<br>2. Color－圈圈的顏色<br>3. Animating－是否要轉圈</p><blockquote>Progress View－進度條</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*M-l5LdgtzRREniiPg8ZLJA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*KBx9VCpyki5Hqld_K0hF_Q.png" /></figure><p>1.Style－有無灰色的底<br>2. Progress－預設值<br>3. Progress Tint－已跑的進度顏色<br>4. Track Tint－未跑的進度顏色</p><blockquote>Page Control－頁數</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/1*4yxNO6PMRSEYFikaD60Qyg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*I4pV4z9CadlWJyRKXD8RKQ.png" /></figure><p>1.#off page－總頁碼<br>2.Current－預設的頁數<br>3.Hides of single page如果只有一頁的話，隱藏下方的點點<br>4.Tint color－非當頁的點點顏色<br>5.Current Color－當頁的點點顏色</p><blockquote>Date Picker－日曆/時間</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*vASmvC28fzw8Puy4-UdlQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*ilN2gJZe0_oIBLcVZY0tYw.png" /></figure><p>1.Preferred Style－呈現方式(呈現一整個月的或是只呈現當天的)<br>2.Mode－呈現方式(呈現時間、日期，或是同時呈現以及倒數)<br>3.Locale－語言(日期的排法順序)<br>4.Interval－當mode是設定時間時，時間的間距<br>5.Date－預設的日期<br>6.Minimum Date－最小的日期/時間<br>7.Maximum Date－最大的日期/時間</p><p>是不是很簡潔明瞭呢!!因為我也是非常需要有這種懶人包的人🤣<br>希望以上這些有幫忙到正在剛開始學習ios程式的你唷😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=715ebd1f5632" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/ui%E5%85%83%E4%BB%B6%E7%A0%94%E7%A9%B6-715ebd1f5632">UI元件研究</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[戴上耳機，沈浸在自己的世界裡]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E6%88%B4%E4%B8%8A%E8%80%B3%E6%A9%9F-%E6%B2%88%E6%B5%B8%E5%9C%A8%E8%87%AA%E5%B7%B1%E7%9A%84%E4%B8%96%E7%95%8C%E8%A3%A1-31d1cb4ed6ac?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/31d1cb4ed6ac</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Wed, 30 Mar 2022 14:52:44 GMT</pubDate>
            <atom:updated>2022-03-31T07:16:21.423Z</atom:updated>
            <content:encoded><![CDATA[<p>心情好的時候聽音樂，心情不好的時候也可以聽音樂，我想現在每個人的手機裡都有一個專屬的音樂app吧！</p><p>於是呢我就模仿了一個在通勤時必備的app-KKBOX！！</p><p>先給大家看看整體的畫面感</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*dBnRcIBD9LqAld0lAJTswA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*r2NL-vmwnA-gSnBIlwYF9A.gif" /><figcaption>其實我的歌路很廣只是挑前三名放進來而已🤣</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*D8jG9w3rOAvt6w04pw9P-w.png" /><figcaption>不要小看這少少的分頁，其實這就佔了這個app的主要核心了呢！</figcaption></figure><p>這只是初稿而已，因為實在有太多太多的分頁以及太複雜的畫面了，於是乎就先讓自己熟悉最基本的操作</p><p>在這個app裡最常用到的就是 table view controller跟image view， 抓好距離後其實只需要複製然後更改一下照片以及歌曲名稱就好，說真的沒那麼困難🙂</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31d1cb4ed6ac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E6%88%B4%E4%B8%8A%E8%80%B3%E6%A9%9F-%E6%B2%88%E6%B5%B8%E5%9C%A8%E8%87%AA%E5%B7%B1%E7%9A%84%E4%B8%96%E7%95%8C%E8%A3%A1-31d1cb4ed6ac">戴上耳機，沈浸在自己的世界裡</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[電子書－已經成為大人的我們，卻依然擁有一顆幼稚的心]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E9%9B%BB%E5%AD%90%E6%9B%B8-%E5%B7%B2%E7%B6%93%E6%88%90%E7%82%BA%E5%A4%A7%E4%BA%BA%E7%9A%84%E6%88%91%E5%80%91-%E5%8D%BB%E4%BE%9D%E7%84%B6%E6%93%81%E6%9C%89%E4%B8%80%E9%A1%86%E5%B9%BC%E7%A8%9A%E7%9A%84%E5%BF%83-e40b8c79603b?source=rss-a29ddb7b8b7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e40b8c79603b</guid>
            <dc:creator><![CDATA[Chun]]></dc:creator>
            <pubDate>Sat, 19 Mar 2022 14:56:50 GMT</pubDate>
            <atom:updated>2022-03-19T15:15:39.747Z</atom:updated>
            <content:encoded><![CDATA[<p>在經歷了一個多禮拜的時間，終於！！把我的第一本電子書產出來了</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*9cZS5_L0nf8Hi6VHmIrmBQ.gif" /></figure><p>雖然看起來真～的～非常的簡單，但是對於程式開發的小白的我而言卻是一大突破！！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*O2nyfF9t-XAYhFMVR8wvbQ.png" /><figcaption>習慣把所有事物都排列整齊，所以電子書也不例外🤣</figcaption></figure><p><strong>app的架構－</strong></p><p>navigation controller－在app裡扮演的是觀看上一頁及下一頁的來回滑動更加流暢，切在整體畫面中看起來也比較完整</p><p>tab bar controller－這裡的tab bar controller只有將其分成兩大類，一邊是觀看人物介紹，另一邊則是觀看故事大綱</p><p>table controller－將table controller依照每一集的角色人數不同而去設計格數，這樣的排列方式在讀者觀看時比較不會太過混雜</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*fk-9Zb4vcl8-esyAZCQC2A.png" /><figcaption>很有規律的元件排列</figcaption></figure><p><strong>有使用到的 UI 元件－</strong></p><p>電子書在製作的過程其實只要熟悉元件之後都會變得快速許多，再來需要的是多“億”點的美編想法，然而最常用到的就是能夠顯示文字的label、放入圖片的image、點一下就能夠移動到下一個畫面的button，當然還有許多不同功能的元件，只不過最基本款的電子書就一切從簡啦🙂️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJcWAvohdzxDR9jBCtUGuA.png" /><figcaption>光是角色介紹的圖片就找到懷疑人生了😅</figcaption></figure><p><strong>電子書裡的圖片－</strong></p><p>這個部分是我在做電子書時碰到最崩潰的階段，因為一個故事裡不可能只有一位角色，所以在這本電子書裡集結了玩具總動員1~4集的主要出場角色，密密麻麻的圖片說明，可想而知在搜集這些資料時的我是多麼眼神死了吧🙂️</p><p>好啦主要的架構都講解完啦～這是我開課以來的第一個作業，一開始有想說要設計的很華麗又很多樣化，不過真正開始著手操作之後才發現原來不是所有的事物都是想像的那麼美好也並非如此順利，當我看到自己完成了一個完整的app出來後，又有了繼續努力的動力啦！</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e40b8c79603b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E9%9B%BB%E5%AD%90%E6%9B%B8-%E5%B7%B2%E7%B6%93%E6%88%90%E7%82%BA%E5%A4%A7%E4%BA%BA%E7%9A%84%E6%88%91%E5%80%91-%E5%8D%BB%E4%BE%9D%E7%84%B6%E6%93%81%E6%9C%89%E4%B8%80%E9%A1%86%E5%B9%BC%E7%A8%9A%E7%9A%84%E5%BF%83-e40b8c79603b">電子書－已經成為大人的我們，卻依然擁有一顆幼稚的心</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>