<?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 Licca Tsai on Medium]]></title>
        <description><![CDATA[Stories by Licca Tsai on Medium]]></description>
        <link>https://medium.com/@u1101071?source=rss-5494e362181a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*iGRBUN5RoIRhWNbwU21y_Q.jpeg</url>
            <title>Stories by Licca Tsai on Medium</title>
            <link>https://medium.com/@u1101071?source=rss-5494e362181a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:27:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@u1101071/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[#7_用《七百年後》歌詞練習定義function]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/7-%E7%94%A8-%E4%B8%83%E7%99%BE%E5%B9%B4%E5%BE%8C-%E6%AD%8C%E8%A9%9E%E7%B7%B4%E7%BF%92%E5%AE%9A%E7%BE%A9function-6cb757595758?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cb757595758</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[playground]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Mon, 13 Apr 2020 04:11:36 GMT</pubDate>
            <atom:updated>2020-04-13T05:41:51.246Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_NRf4HQw4MU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_NRf4HQw4MU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_NRf4HQw4MU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7309f8dc6e66282943df541b210d620b/href">https://medium.com/media/7309f8dc6e66282943df541b210d620b/href</a></iframe><p>雖然這首歌的MV看起來是描述男子對他重病將死的妻子至死不渝的愛情，但單純從歌詞上來看，它更適合用在末日前後。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*6XD-54Kw-AV034CimZ8BGQ.png" /><figcaption>《七百年後》的歌詞靈感來自電影《Wall.E》</figcaption></figure><p>能源將盡，地球一片荒蕪，看似毫無希望，但仍有彼此。兩人依偎在破矮的小空間，照亮一方的是拾來的破燈泡，餵養靈魂的是舊時的卡帶唱片。<br>回想過去，這是繁華落盡的七百年後；<br>遙望未來，那是一切如初的七百年後。<br>無論是哪個七百年後，我們仍抱著一起安睡。</p><p>我非常喜歡這首歌，在文明崩壞的世界裡，雖然有點想念舊世界，但也不需要去對抗什麼，就兩人隨遇而安，微小而幸福的生活著。</p><p>這次練習是<strong>定義function</strong>，歌詞重複性高，很適合做練習的對象。</p><h3>七百年後＿陳奕迅</h3><p>作曲：柳重言<br>填詞：林若寧<br>編曲：柳重言<br>演唱：陳奕迅</p><pre>你那太空艙 能夠發出金色的光<br>我廢置一方 抬頭便會為你守望<br>一天天催迫生活在現代化<br>繽紛星空拋低我寄存繁榮垃圾缸<br>多得你原諒我骯髒</pre><pre>送你破黑膠 廉價發出歌聲依稀<br>送你破燈泡 便宜地照亮你天地<br>一箱卡式帶一直沒落仍能回味<br>那套舊文藝戲<br>生生不息的悽美愛情逾越物質跨過世紀</pre><pre>文明能壓碎 情懷不衰 無論枯乾山水<br>舊時年月投入垃圾裡 你我一起同居<br>仍然能送你 兒時玩具<br>老地方抱著一起安睡<br>七百年 潮流裡 瞬息過去</pre><pre>棄置那棵花 容我帶它的根歸家<br>送你這棵花 來懷念已逝去初夏<br>漆黑的星體花葉樹木無從留下<br>你會在流淚嗎<br>花開的沙丘滋養我們貧窮地方優美似畫</pre><pre>文明能壓碎 情懷不衰 無論枯乾山水<br>舊時年月投入垃圾裡 你我一起同居<br>仍然能送你 兒時玩具<br>老地方抱著一起安睡<br>七百年 潮流裡 建築通通破碎</pre><pre>天天進化熱潮已記不起<br>用霓虹去建設歡喜<br>雖則你我被每粒星唾棄<br>我們貧乏卻去到金禧</pre><pre>文明能壓碎 情懷不衰 無論枯乾山水<br>舊時年月投入垃圾裡 你我一起同居<br>仍然能送你 兒時玩具<br>老地方抱著一起安睡<br>七百年 隨年歲 記憶老去<br>仍然有你忠心愛侶</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*eAJGogV7E-tD2JfZ_vERoA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*2kk6vAPdj1b9x_xfLOIcOw.png" /></figure><p>這麼長的歌詞，最終使用七句func就能處理了，真棒！<br>副歌的『文明能壓碎⋯⋯』這段落，在結尾時使用的歌詞不一樣，所以我就用change1&amp;2處理，也不知道對不對，或是有沒有更好的方法，有的話請告訴我呀～</p><p>用這首歌練習的時候，正好是covid_19疫情重創世界的時刻，因此非常有感觸，也許很快的，我們將要迎來未知的末日，就算是那時，我會很慶幸我還擁有能抱著一起安睡的人，然後一起迎接七百年後。</p><p>哎呀，我的喪禮就放這首歌好了。</p><h4>參考</h4><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84%E8%A9%A6%E7%85%89-%E5%8B%87%E8%80%85%E7%9A%84-100-%E9%81%93-swift-ios-app-%E8%AC%8E%E9%A1%8C/%E5%AE%9A%E7%BE%A9-function-%E5%8D%B0%E5%87%BA%E8%AE%93%E8%87%AA%E5%B7%B1%E4%B8%80%E7%A7%92%E8%90%BD%E6%B7%9A%E7%9A%84%E6%83%85%E6%AD%8C%E6%AD%8C%E8%A9%9E-851ff4147fda">#64 定義 function，印出讓自己一秒落淚的情歌歌詞</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cb757595758" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/7-%E7%94%A8-%E4%B8%83%E7%99%BE%E5%B9%B4%E5%BE%8C-%E6%AD%8C%E8%A9%9E%E7%B7%B4%E7%BF%92%E5%AE%9A%E7%BE%A9function-6cb757595758">#7_用《七百年後》歌詞練習定義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[#6_從playground調色去背＆利用mask為動物森友會調製新花樣]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/6-%E5%BE%9Eplayground%E8%AA%BF%E8%89%B2%E5%8E%BB%E8%83%8C-%E5%88%A9%E7%94%A8mask%E7%82%BA%E5%8B%95%E7%89%A9%E6%A3%AE%E5%8F%8B%E6%9C%83%E8%AA%BF%E8%A3%BD%E6%96%B0%E8%8A%B1%E6%A8%A3-9eee95652526?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9eee95652526</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Sun, 05 Apr 2020 04:05:10 GMT</pubDate>
            <atom:updated>2020-04-05T04:08:56.622Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2a3SiZb4Dfq5awemRWYNvA.jpeg" /></figure><p>整個清明連假都在動物森友會的無人島上度過，但玩switch不忘swift，就利用動物森友會的圖片來做練習吧。</p><h3>目的：</h3><ol><li>練習換色去背</li><li>利用Mask製作特殊形狀的圖片、加入遮罩顏色、合併兩張圖片。</li></ol><h3>練習</h3><h4>練習換色去背</h4><p>將博物館的古典地磚換成櫻花地毯。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X4XMBPRaXMpa0cjloZS3HA.png" /><figcaption>我和打瞌睡的館長傅達。</figcaption></figure><pre>import UIKit<br>let image = UIImage(named: “animalcrossing.png”)<br>let animalImageView = UIImageView(image: image)<br>let patternImageView = UIImageView(frame: animalImageView.frame)<br>patternImageView.image = UIImage(named:”sakura.png”)<br>patternImageView.addSubview(animalImageView)<br>patternImageView</pre><p>因為課堂上Peter說，可以先用中文說出想做的事，再改成程式碼，類似翻譯的概念，所以我就稍微試了一下上述內容的翻譯，只是我是事後翻來理解用的。</p><ol><li>加入UI函式庫</li><li>放一張UIimage，上面是animalcrossing的圖，叫它image。</li><li>放一個UIImageView，上面放UIImage，叫它animalImageView。</li><li>再放一個UIImageView，讓它的大小位置和animalImageView一樣，叫它patternImageView。</li><li>在patternImageView上放上image，這個image就是叫做sakura的圖</li><li>在patternImageView去加上subview(animalImageView這張圖)</li><li>秀patternImageView呈現結果。→patternImageView在下，animalImageView在上。</li></ol><p>完成。</p><p>嗯⋯⋯處在薛丁格式的理解中。</p><h4>利用Mask製作特殊形狀的圖片</h4><p>透過帳篷的形狀顯現我的角色站在花園中的場景。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5596_5Lt_QXf-lLbXUrcXw.png" /><figcaption>這就我的花園啦。</figcaption></figure><pre>import UIKit<br>let tentImage = UIImage(named:”tent”)<br>let tentImageView = UIImageView(image:tentImage)<br>let islandImage = UIImage(named:”myisland.jpg”)<br>let islandImageView = UIImageView(image: islandImage)<br>islandImageView.mask = tentImageView</pre><p>翻譯一下？</p><ol><li>加入UI函式庫。</li></ol><p>2.放一張UIimage，是帳篷去背的圖，叫它tentImage。</p><p>3.放一個UIImageView，上面放tentImage，叫它tentImageView。</p><p>4.放一張UIimage，是我的森友會小島圖（是jpg檔，名稱要加上jpg)，叫它islandImage</p><p>5.放一個UIImageView，上面放islandImage，叫它islandImageView</p><p>6.islandImageView去做一個遮罩(mask)，並將它換成tentImageView</p><p>完成。</p><h4>加入遮罩顏色</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I2JjlENxWwjk38tJSnewdg.png" /><figcaption>金色遮罩，有點像黃昏。</figcaption></figure><pre>import UIKit<br>let tentImage = UIImage(named:”tent”)<br>let tentImageView = UIImageView(image:tentImage)<br>let islandImage = UIImage(named:”myisland.jpg”)<br>let islandImageView = UIImageView(image: islandImage)<br>islandImageView.mask = tentImageView<br>let goldenView = UIView(frame: islandImageView.frame)<br>goldenView.backgroundColor = UIColor(red: 1.5, green: 1, blue: 0, alpha:0.3)<br>let tentImageView2 = UIImageView(image:tentImage)<br>goldenView.mask = tentImageView2<br>islandImageView.addSubview(goldenView)</pre><h4>合併兩張圖片</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QsREBKeCHPCtrqytYSyZOA.png" /><figcaption>加上貍克、豆貍、粒貍，動森不可或缺的ＮＰＣ。</figcaption></figure><pre>import UIKit<br>let tentImage = UIImage(named:”tent”)<br>let tentImageView1 = UIImageView(image:tentImage)<br>let islandImage = UIImage(named:”myisland.jpg”)<br>let islandImageView = UIImageView(image: islandImage)<br>islandImageView.mask = tentImageView1<br>let nookImage = UIImage(named:”nook2&quot;)<br>let nookImageView = UIImageView(image:nookImage)<br>islandImageView.alpha=0.7<br>nookImageView.alpha=0.5<br>let tentImageView2 = UIImageView(image: tentImage)<br>nookImageView.mask = tentImageView2<br>let backgroundView = UIView(frame: islandImageView.frame)<br>backgroundView.addSubview(islandImageView)<br>backgroundView.addSubview(nookImageView)</pre><h3>小結</h3><p>這次的練習包含了生成圖片、變換圖片顏色、放置多張圖片等基礎。我邊做邊想到之前用storyboard做的練習還有階層概念，但比起storyboard即時可見可調的方式，用寫程式來做出東西比較難，無法從畫面上直接反應與調整。</p><p>程式語言之所以叫做語言，是因為它也是用一連串的文字去傳達要進行的動作，是一個和電腦溝通的過程，就像我們寫小說寫信件寫公告寫文宣，是利用文字去和人類進行交流。</p><p>人類的語言，人類和非人的語言。想想覺得很奇妙。</p><p>電腦不像人類有天馬行空的聯想力，要真的寫對才會正確執行，它不會猜你真正的心意，頂多秀出類似的指令問你是否要做這件事，這是一種方便，給人還能掌握的安心感。</p><p>雖然一直看到紅色警告真的很崩潰。</p><h3>參考資料</h3><ul><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E5%BE%9E-playground-%E8%AA%BF%E8%89%B2%E5%8E%BB%E8%83%8C%E5%9C%96%E7%89%87-727d0d73bb59">從 playground 調色去背圖片</a></li><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E5%88%A9%E7%94%A8-uiview-%E7%9A%84-mask-%E8%A8%AD%E8%A8%88%E7%89%B9%E5%88%A5%E5%BD%A2%E7%8B%80%E7%9A%84%E5%9C%96%E7%89%87-4e22cd7c3fbe">利用 UIView 的 mask 設計特別形狀的圖片</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9eee95652526" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/6-%E5%BE%9Eplayground%E8%AA%BF%E8%89%B2%E5%8E%BB%E8%83%8C-%E5%88%A9%E7%94%A8mask%E7%82%BA%E5%8B%95%E7%89%A9%E6%A3%AE%E5%8F%8B%E6%9C%83%E8%AA%BF%E8%A3%BD%E6%96%B0%E8%8A%B1%E6%A8%A3-9eee95652526">#6_從playground調色去背＆利用mask為動物森友會調製新花樣</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[#4_用 Swift 打造跳舞機器人 BoogieBot_初心者習作]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/4-%E7%94%A8-swift-%E6%89%93%E9%80%A0%E8%B7%B3%E8%88%9E%E6%A9%9F%E5%99%A8%E4%BA%BA-boogiebot-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-3211298a6300?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3211298a6300</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Thu, 26 Mar 2020 16:22:29 GMT</pubDate>
            <atom:updated>2020-03-27T03:13:24.376Z</atom:updated>
            <content:encoded><![CDATA[<h3>#5_用 Swift 打造跳舞機器人 BoogieBot_初心者習作</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*bEwvAiQY2t8WYyAZ3L_LLw.gif" /></figure><h3>目的</h3><p>這次的作業是使用別人寫好的function來讓機器人跳舞。</p><p>有下列這些指令可以操作</p><pre>動作<br>1.leftArmUp(), leftArmDown(), rightArmUp(), rightArmDown()<em>_左右手上下</em><br>2.leftLegUp(), leftLegDown(), rightLegUp(), rightLegDown()<em>＿左右腳上下</em><br>3.shakeItLeft(), shakeItRight(), shakeItCenter()<em>＿扭屁股</em><br>4.jumpUp(), jumpDown()<em>＿跳</em><br>5.fabulize(), defabulize()<em>＿變色</em></pre><pre>除了動作外，另外還有簽名的部分<br>setBotTitle(“My Awesome Dance”)<em>＿上方的主標題</em><br>setBotSubtitle(“By The Boogiemaster”)<em>＿下方的副標題</em></pre><p>要打造這個機器人舞蹈，最重要的技巧大概是編舞吧？！畢竟最難的部分別人都幫你寫好了，如果不想打字還能複製貼上，這個作業的主要目的大概是讓我們熟悉輸入指令，以及更認識指令長怎樣。</p><p>我原本想說可不可以讓他脖子也動動，手臂可以隨意擺放角度，這樣就能實現『左三圈右三圈，脖子扭扭屁股扭扭』這首歌的帶動唱了，可惜好像不行。也好，不然我又要做到三更半夜了。</p><p>以上，交作業囉～</p><h3>參考資料</h3><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E7%94%A8-swift-%E6%89%93%E9%80%A0%E8%B7%B3%E8%88%9E%E6%A9%9F%E5%99%A8%E4%BA%BA-boogiebot-199d07d9bb95">用 Swift 打造跳舞機器人 BoogieBot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3211298a6300" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/4-%E7%94%A8-swift-%E6%89%93%E9%80%A0%E8%B7%B3%E8%88%9E%E6%A9%9F%E5%99%A8%E4%BA%BA-boogiebot-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-3211298a6300">#4_用 Swift 打造跳舞機器人 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[#4_用storyboard作APP_初心者習作]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/4-%E7%94%A8storyboard%E4%BD%9Capp-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-db0a3f13d87d?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/db0a3f13d87d</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[storyboard]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Mon, 23 Mar 2020 16:24:57 GMT</pubDate>
            <atom:updated>2020-03-24T03:14:41.788Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*9Y90QHdpP-uyqGvIHALtWQ.gif" /></figure><h3>目的</h3><p>這次的作業是<strong>不寫程式</strong>，從 storyboard 運用 tab bar controller，navigation controller，table view controller &amp; static cell 實作電子書 App。</p><p>我的主題就是『偵探事務所』－一個藉由推理書籍、電影來更認識偵探的app。不過做此app的主要目的是要學習各元件的應用，所以目前也只是個雛形。</p><p>下列是製作這款app有應用到的內容，算是一個綜合呈現的作業。</p><pre>1.Tab Bar Controller &amp; Navigation Controller 的相關練習<em>＿認識分類與階層。<br></em>2.以 static cells 模仿製作 iOS App 表格頁面<em>。<br>3</em>.研究輸入多行文字的 UITextView<em>＿可輸入多行文字並建立網頁連結。<br></em>4.讓view變圓角的 layer.cornerRadius<em>。</em></pre><h3>storyboard全貌</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*GE7qHs7iNVTPbyhPvMGyzA.png" /></figure><pre>1.Tab Bar Controller &amp; Navigation Controller 的相關練習<em>＿認識分類與階層。</em></pre><p>用Tab Bar Controller將內容分為主頁、書籍區、BGM區。各區裡再用Navigation Controller製作一頁一頁下去的階層關係。</p><pre>2.以 static cells 模仿製作 iOS App 表格頁面<em>。</em></pre><p>這個app幾乎是static cells 的 table view構成的。利用sections和rows就可以讓表格盡情複製增長。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*lcvP3xiCbfWGykdPtv929g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*54ShtiHaGPbjML9s7SXldA.png" /></figure><pre><em>3</em>.研究輸入多行文字的 UITextView<em>＿可輸入多行文字並建立網頁連結。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*rXcCzgOkHbcJ39p1byrSXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*kqC75eNUzwSueCFIOiKUCA.png" /></figure><pre>4.讓view變圓角的 layer.cornerRadius<em>。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*GF6Qbs99mWpf_Qa2GBSyHw.png" /></figure><p><strong><em>新增layer.cornerRadius，數字30表示四周以45度畫出半徑30的圓形。</em></strong></p><h3>小結</h3><p>這個使用storyboard作app的作業差不多要告一段落了，接下來就要真正的學程式啦！</p><h3>參考資料</h3><ul><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84%E8%A9%A6%E7%85%89-%E5%8B%87%E8%80%85%E7%9A%84-100-%E9%81%93-swift-ios-app-%E8%AC%8E%E9%A1%8C/storyboard-%E9%9B%BB%E5%AD%90%E6%9B%B8-app-%E6%90%AD%E9%85%8D-tab-controller-table-controller-navigation-controller-%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-ios-app-%E4%BD%9C%E6%A5%AD-aaa7e5f9165e">#24 Storyboard 電子書 App</a></li><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E7%A0%94%E7%A9%B6%E8%BC%B8%E5%85%A5%E5%A4%9A%E8%A1%8C%E6%96%87%E5%AD%97%E7%9A%84-uitextview-b3e0090c12e1">研究輸入多行文字的 UITextView</a></li><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84%E8%A9%A6%E7%85%89-%E5%8B%87%E8%80%85%E7%9A%84-100-%E9%81%93-swift-ios-app-%E8%AC%8E%E9%A1%8C/39-%E4%BB%A5-static-cells-%E8%A3%BD%E4%BD%9C%E5%9B%BA%E5%AE%9A%E5%85%A7%E5%AE%B9%E7%9A%84%E8%A1%A8%E6%A0%BC-ee3f9a1feff9">#39 以 static cells 模仿製作 iOS App 表格頁面</a></li><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E8%AE%93-view-%E8%AE%8A%E5%9C%93%E8%A7%92%E7%9A%84-layer-cornerradius-54aa7afda2a1">讓 view 變圓角的 layer.cornerRadius</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db0a3f13d87d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/4-%E7%94%A8storyboard%E4%BD%9Capp-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-db0a3f13d87d">#4_用storyboard作APP_初心者習作</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[#3＿研究各種UI元件＿初心者習作]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/3-%E7%A0%94%E7%A9%B6%E5%90%84%E7%A8%AEui%E5%85%83%E4%BB%B6-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-61fe1de9fe87?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/61fe1de9fe87</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[storyboard]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Sun, 22 Mar 2020 04:57:27 GMT</pubDate>
            <atom:updated>2020-03-22T13:41:12.095Z</atom:updated>
            <content:encoded><![CDATA[<h3>#3_研究各種UI元件＿初心者習作</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*rmJQQq0hMBIorbRa9yvJgw.gif" /><figcaption>利用設定背景音樂的功能練習各種UI元件</figcaption></figure><h3>目的</h3><p>這次的作業是<strong>研究各種UI元件</strong>，題目中有下列內容要實現。</p><pre>1.Segmented Control<em>＿切換分類。</em><br>2.Slider<em>＿滑動設定數值。</em><br>3.Switch<em>＿開關。</em><br>4.Activity Indicator View<em>＿轉圈圈進度，也就是小菊花。</em><br>5.Progress View<em>＿進度條。</em><br>6.Page Control<em>＿顯示分頁小圓點。</em><br>7.Date Picker<em>＿時間選擇。</em><br>8.Visual Effect View with Blur<em>＿毛玻璃效果。</em></pre><p>這些內容多數是app中的設定功能會使用到的，我剛好想幫我的『偵探事務所』做個設定BGM的功能，為什麼偵探事務所需要設定BGM？畢竟這個app是讓用戶可以藉由閱讀偵探小說或電影來更認識偵探們，希望用戶在閱讀的同時有背景音樂襯托，就像高智慧殺人魔在潛心研究計畫時都會放個古典樂來聽一樣。</p><h3>參考資料</h3><p>主要是參考 <a href="https://medium.com/u/db931b3b2f8b">彼得潘的 iOS App Neverland</a>的這篇文章製作。</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E7%A0%94%E7%A9%B6%E4%BB%A5%E4%B8%8B-ui-%E5%85%83%E4%BB%B6-segmented-control-slider-switch-activity-indicator-view-progress-view-page-control-date-71acc5b2dd7e">研究以下 UI 元件: Segmented Control，Slider，Switch，Activity Indicator View，Progress View，Page Control</a></p><h3>使用的元件介紹</h3><pre>1.Segmented Control<em>＿切換分類。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*Dsh0Jo35q2Zd_GVmCxVqTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*XVqBQ-c-d5tGCYtgrZGj1g.png" /></figure><p>研究欄位</p><p>1 Segments<em>＿分類數量。</em><br>2 Segment<em>＿各分類設定切換。</em><br>3 Title<em>＿分類名稱。</em><br>4 Image<em>＿分類圖像（使用系統提供的圖像時無法使用title）</em><br>5 Selected<em>＿預設選取。</em></p><pre>2.Slider<em>＿滑動設定數值。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*N-NpcWHl6Oh04hZz4nq6qA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*i5Sp5m1wxPrNi_LhLhSFWg.png" /></figure><p>研究欄位</p><p>1 Value<em>＿預設數值。</em><br>2 Minimum<em>＿最小值。</em><br>3 Maximum<em>＿最大值。</em><br>4 Min Image<em>＿最小值顯示圖。</em><br>5 Max Image<em>＿最大值顯示圖。</em><br>6 Min Track<em>＿小到大軌道色。</em><br>7 Max Track<em>＿大到小軌道色。</em><br>8 Thumb Tint<em>＿控制鈕顏色。</em></p><pre>3.Switch<em>＿開關。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*XqJqFZ1EM1xD7cRmafiH-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*go1oJd6Xwv-FLxf_6BClPA.png" /></figure><p>研究欄位</p><p>1 State<em>＿預設狀態on/off。</em><br>2 On Tint<em>＿on的顏色。</em><br>3 Thumb Tint<em>＿控制鈕顏色。</em></p><pre>4.Activity Indicator View<em>＿轉圈圈進度，也就是小菊花。</em><br>5.Progress View<em>＿進度條。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*d8KRcRrL25HtXHOYMv-5UQ.png" /><figcaption>為了方便呈現，一口氣放了兩種進度條，一般不會這樣做。</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*XiYYCAREFsgTefoCok2W0g.png" /></figure><p>研究欄位</p><p>1 Style<em>＿菊花大小。</em><br>2 Color<em>＿菊花顏色。</em><br>3 Animating<em>＿開啟動態效果。</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*0iKemRbDBYznI0kz0Eu1Bw.png" /></figure><p>研究欄位</p><p>1 Style<em>＿進度條樣式。</em><br>2 Progress<em>＿進度（1為滿條）。</em><br>3 Progress Tint<em>＿已完成進度色。</em><br>4 Track Tint<em>＿未完成進度顏色。</em></p><pre>6.Page Control<em>＿顯示分頁小圓點。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*uRpD5rWGo3aTqDLugDQDTw.png" /><figcaption>可用來顯示有多少項目</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*QJUUdUj4s-8WwNjQ5Ywwkg.png" /></figure><p>研究欄位</p><p>1 # of Pages<em>＿分頁總數。</em><br>2 Current<em>＿目前在第幾頁。</em><br>3 Hides for Single Page<em>＿單一頁時隱藏。</em><br>4 Tint Color<em>＿點點本來色。</em><br>5 Current Page<em>＿目前所在分頁色。</em></p><pre>7.Date Picker<em>＿時間選擇。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*l9fTRTxXMsjRYM7ATld5Fg.png" /><figcaption>時間選擇有多種模式，這次選用的是倒數模式。</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*yRc2ie_7s8ade-eU7NrMww.png" /></figure><p>研究欄位</p><p>1 Mode<em>＿模式選擇。</em><br>2 Locale<em>＿時區。</em><br>3 Interval<em>＿調整時間間隔。</em><br>4 Count Down<em>＿預設倒數。</em></p><pre>8.Visual Effect View with Blur<em>＿毛玻璃效果。</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*Xo6rM_9k9fpuGnsKjavIaA.png" /><figcaption>發現毛玻璃效果壓在圖片上用來顯示字串效果還不錯。</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*V4twOq1T2woiCKJGP_uDIw.png" /></figure><p>研究欄位</p><p>Blur Style<em>＿模糊風格。</em></p><h3>小結</h3><p>這些元件可設定的內容遠比說明得多，運用得當會得到很不錯的視覺效果。裡面部分設定無法從替換看出明顯效果，所以也不知道做什麼用的，僅會的這幾項也算是目前堪用，足夠讓我的我的『偵探事務所』做出個雛形出來。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61fe1de9fe87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/3-%E7%A0%94%E7%A9%B6%E5%90%84%E7%A8%AEui%E5%85%83%E4%BB%B6-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-61fe1de9fe87">#3＿研究各種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[#2_scroll view上下＆水平＆分頁＿初心者習作]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/2-scroll-view%E4%B8%8A%E4%B8%8B-%E6%B0%B4%E5%B9%B3-%E5%88%86%E9%A0%81-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-5eb70323c161?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5eb70323c161</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[storyboard]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Sat, 21 Mar 2020 03:07:39 GMT</pubDate>
            <atom:updated>2020-03-21T03:07:39.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*DyBBbcIhzazZA0dYaW0P4Q.gif" /></figure><p>這次要練習的項目是<strong>Scroll View</strong>，我做了一個介紹偵探主題的app「偵探事務所」來模擬，這是其中一個頁面。最上方是banner，中間有偵探推理相關的書籍、電影作品可選，最下方則是知名作品中的偵探介紹。</p><h4>參考資料</h4><p>主要是參考 <a href="https://medium.com/u/db931b3b2f8b">彼得潘的 iOS App Neverland</a>的這篇文章製作。</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E5%9C%A8-storyboard-%E8%A8%AD%E5%AE%9A-content-size-%E5%AF%A6%E7%8F%BE%E6%B0%B4%E5%B9%B3%E6%8D%B2%E5%8B%95%E7%9A%84-scroll-view-2710fa247293">設定 content size，實現水平捲動，上下捲動和分頁的 scroll view</a></p><h4>Scroll View的練習項目</h4><blockquote>上下捲動<br>水平捲動<br>分頁捲動</blockquote><h4>進行步驟</h4><p>製作這些Scroll View的共通步驟就是</p><ol><li>放Scroll View<em>_可視空間。</em></li><li>在Scroll View裡放一片View<em>＿放置內容的空間。</em></li><li>擺放內容<em>＿我是放Image View。</em></li><li>在Identity inspector 頁面裡的User Defined Runtime Attributes點擊加號，輸入contentSize，大小寫要一模一樣，然後選擇size。</li><li>水平捲動請設定寬度，上下捲動則是設定高度。尺寸需符合View的寬或高<em>＿可拖曳的空間。</em></li><li>若是分頁捲動，則需勾選 Paging Enabled，並將contentSize的尺寸配合頁數調整，比如寬度是400，有三頁就是調成400*3=1200。</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*ThkP_3z54e0keyzUh5u6zA.png" /><figcaption>不管哪種捲動都要記得設定可拖曳的空間。</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*fx0FoHJwxx1PrTxs4gEIBQ.png" /><figcaption>分頁捲動要記得勾選這個。</figcaption></figure><p>這樣就大致完成囉。結果這次還是弄到三更半夜呢，其中還是有些細節需要調整，目前還不確定該如何做，只好先記錄下來。</p><h4>習作後問題</h4><blockquote>1.Scroll View上安排的 Label 和 Page Control如何鎖著，不隨拖曳移動？<br>2.如何一次更改全部的字體？（中途下載了粉圓體，但一一替換好沒效率）<br>3.在上下捲動內放置數個水平捲動，如何讓平均間隔？（手動調整也好累）</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5eb70323c161" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/2-scroll-view%E4%B8%8A%E4%B8%8B-%E6%B0%B4%E5%B9%B3-%E5%88%86%E9%A0%81-%E5%88%9D%E5%BF%83%E8%80%85%E7%BF%92%E4%BD%9C-5eb70323c161">#2_scroll view上下＆水平＆分頁＿初心者習作</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[#1_初心者亂闖StoryBoard]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/1-%E5%88%9D%E5%BF%83%E8%80%85%E4%BA%82%E9%97%96storyboard-9fcc582ed5aa?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fcc582ed5aa</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[storyboard]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Sat, 14 Mar 2020 02:36:18 GMT</pubDate>
            <atom:updated>2020-03-14T03:49:47.005Z</atom:updated>
            <content:encoded><![CDATA[<p>這次學著用storyboard拉介面，做出心目中app的樣子。雖然目前只會一些簡單的元件，但也玩得不亦樂乎。</p><p>有些想要的效果還不會使用，比如頁面間的連結跳轉，按鈕的反饋，但我想之後就會學到吧？！由於對元件屬性的一知半解，雖然是簡單的東西，也花了不少時間，這時候才知道沒學好英文有多吃虧。</p><p>下列就是這次學習的內容：</p><ol><li>用storyboard建立新專案</li><li>更換app icon</li><li>套用客制字體</li><li>使用元件拼介面，這次使用到的元件如下</li></ol><pre>View Controller Scene＿新開一頁<br>Label＿放文字<br>Image View＿放圖片<br>Button＿放按鈕<br>Text View＿放可捲動的文字</pre><p>然後就會出現下面這個看起來有點簡陋的東西囉。哎，就說是初心者啊！</p><p>主題：咖啡時光（一個介紹各種咖啡沖泡步驟以及建議的克數配方的app）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UCIY64eTiBoHSyAI8sIokQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fcc582ed5aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/1-%E5%88%9D%E5%BF%83%E8%80%85%E4%BA%82%E9%97%96storyboard-9fcc582ed5aa">#1_初心者亂闖StoryBoard</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[像孩子一樣coding]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%83%8F%E5%AD%A9%E5%AD%90%E4%B8%80%E6%A8%A3coding-26527c1bdfcb?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/26527c1bdfcb</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[coding-game]]></category>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 17:18:25 GMT</pubDate>
            <atom:updated>2020-02-29T03:38:12.929Z</atom:updated>
            <content:encoded><![CDATA[<p>有鑒於老MBA不堪操作playgrounds的負荷，我又找了一個邊玩邊學code的遊戲。對，不長進如我，不想好好看一下正規教學的書，只想躺著邊玩邊覺得自己好像學了些什麼。</p><p>這次找到的遊戲是Algorithm City : Coding Game</p><p><a href="https://play.google.com/store/apps/details?id=air.MusterenGames.ElHarezmiCoding&amp;hl=en">Algorithm City : Coding Game - Apps on Google Play</a></p><p>裡面除了一開始的training關卡外，還有easy/medium/hard三種關卡難度各15關，花了我大約三小時。說他是coding game，其實比較像解謎遊戲，一樣靠指令操控角色去拿金幣，拿到的金幣可以解鎖更多角色。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U1eg50Wk2TS39t12y94iIA.jpeg" /><figcaption>15隻角色等你收集？</figcaption></figure><p>比較特別的是，關卡會告訴你最佳步數，也用三個星等為你的解法打分數，如果在它指定的步數內完成，就會得到三顆星，超過越多步則星數越少，如果像我有強迫症的，就會花上不少時間想方設法讓每關都三顆星。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WU8RszfsH_PV6XGVddt39w.jpeg" /><figcaption>關卡長這樣，右上角有最佳步數參考。</figcaption></figure><p>在這些關卡中會學到的概念，大概類似playgrounds教過的command/functions/for loops，異曲同工。話說現代的孩子真好，學英文學程式學成語學數學都有遊戲化的教程幫助學習，雖然我不是孩子了，但也因此受益，這些APP降低了學習的門檻，給陌生領域立了些和善的指路牌。</p><p>感謝開發者，讚嘆開發者。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26527c1bdfcb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%83%8F%E5%AD%A9%E5%AD%90%E4%B8%80%E6%A8%A3coding-26527c1bdfcb">像孩子一樣coding</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[摸摸Playgrounds]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E6%91%B8%E6%91%B8playgrounds-18218a9715eb?source=rss-5494e362181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/18218a9715eb</guid>
            <dc:creator><![CDATA[Licca Tsai]]></dc:creator>
            <pubDate>Tue, 25 Feb 2020 16:03:16 GMT</pubDate>
            <atom:updated>2020-02-26T02:38:27.643Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUXRbGo9q9cE2f3mGOerrQ.png" /></figure><p>報名的Swift課程還沒開課，先來玩玩playgrounds。</p><p>它很像遊戲，好玩又有成就感，雖然關卡越來越難，花在想的時間也越來越多，但還是樂此不疲，下了班很想躺著看劇，卻還是願意花點時間解個一兩題，趕些進度。</p><p>不過好像沒有正確解答，不管我的指令寫得很醜很長很重複，或是後來學會func/for，改寫的看起來簡潔一點，只要我可以順利拿到寶石或打開開關，系統都會說Good job~!</p><p>真的沒有正確答案嗎？還是藏在什麼地方我沒發現？這世界上很多事情都沒有正確答案，這個也是嗎？我就這樣充滿疑惑的繼續往前走。</p><p>順道一提，這台2013年的MacBook Air大概該退役了，它要花上二十幾秒轉圈圈才會執行指令，好像正在努力理解我的意思的機器人，而且邊轉圈圈邊發出呼呼呼的聲音，聽起來真的很辛苦啊！但想想，願意等它慢慢執行的我也真有耐心。時間就是金錢哪，朋友！</p><p>正式開課後，大概會很忙吧！希望在那之前，可以把這遊樂場跑完。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18218a9715eb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E6%91%B8%E6%91%B8playgrounds-18218a9715eb">摸摸Playgrounds</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>