<?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 Sasha chiu on Medium]]></title>
        <description><![CDATA[Stories by Sasha chiu on Medium]]></description>
        <link>https://medium.com/@sashachiuchiu?source=rss-60cd5eeca3df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AfpBGqGMbtzsXm80ZV6ceg.jpeg</url>
            <title>Stories by Sasha chiu on Medium</title>
            <link>https://medium.com/@sashachiuchiu?source=rss-60cd5eeca3df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:18:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sashachiuchiu/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[用文青的方式學 swift!?]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%94%A8%E6%96%87%E9%9D%92%E7%9A%84%E6%96%B9%E5%BC%8F%E5%AD%B8-swift-fc9a029e679e?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc9a029e679e</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Tue, 02 Jul 2019 10:11:12 GMT</pubDate>
            <atom:updated>2019-07-03T02:52:10.425Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>先說結論，彼得潘的教法並不會讓你一下就變得非常厲害，但會理解用法和概念，而且有問必答不厭其煩，帶你進入一個值得去動腦的新世界！</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*svZTMzsVHXM3gmENd0b57Q.jpeg" /></figure><p>剛開始接觸 UIUX 時，因為想要更了解底層架構，讓自己做規劃時可以先想到後端大概的樣貌，也能多從不同角度去理解，減少產出想像美好但使用不流暢的窘境，在被 RD 抱怨這做法好複雜好難之類時，可以和RD有共同語言去溝通，這真的會讓事情變得容易很多，加分！<br>更重要的，對於 swift 也充滿好奇！</p><p>但為什麼推 Peter？<br>自學過程總有不斷卡關/找不到人問/得到一知半解的答案...諸如此類的，菜菜時期，有個好引導會讓信心增加很多，而彼得潘可以在輕鬆氣氛下讓你和 swift 變熟，搭配簡單明瞭的簡報和說明，加上滿滿的課後複習作業XDDD， 透過自己練習加強觀念和技巧，同時也能測試自己對於哪些地方不懂，開始試圖解決問題/找到新問題，又會發現更多神奇的用法，越挖越深，不但沒有澆熄熱情，還會更躍躍欲試！</p><p>而且每個同學的作業他都會看！！（對，會交作業的人都是那幾個，我有交，雖然沒有很多）當你看到其他強人同學那麼厲害的時候，你也會燃起熊熊的鬥志，激勵自己。</p><p>我覺得 Peter 最好的地方是願意分享，除了他自己也鼓勵大家，像交作業的Medium 除了紀錄自己學習過程外，也留下學長姐們跟同學們之間的軌跡，提供了一個大量抄作業的管道(誤)…，是教學相長啦，這樣互相鼓勵的方式真的很棒！！</p><p>其實最重要的還是回歸到自己，學 swift 的動機我覺得很重要，當你真心喜歡且有興趣去做一件事，就會感到有趣更能投入，主動學習的慾望會推你去找到更多資源，不論深度或廣度，每次突破後的成就感真的很讓人滿足~</p><blockquote>當你很努力做一件事，全世界都會來幫你</blockquote><p>想和 <a href="https://medium.com/@apppeterpan">彼得潘</a> 當一輩子的好朋友 -&gt;</p><p>Medium：<a href="https://medium.com/@apppeterpan">https://medium.com/@apppeterpan</a><br>文組班：<a href="http://learniosfromzero.strikingly.com/">http://learniosfromzero.strikingly.com/</a><br>彼得潘： <a href="http://peterpaniosapp.strikingly.com/">http://peterpaniosapp.strikingly.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc9a029e679e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%94%A8%E6%96%87%E9%9D%92%E7%9A%84%E6%96%B9%E5%BC%8F%E5%AD%B8-swift-fc9a029e679e">用文青的方式學 swift!?</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[#Assignment 香氛購物 App]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-%E9%A6%99%E6%B0%9B%E8%B3%BC%E7%89%A9-app-806402edca81?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/806402edca81</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Tue, 15 Jan 2019 09:18:05 GMT</pubDate>
            <atom:updated>2019-01-15T09:18:05.992Z</atom:updated>
            <content:encoded><![CDATA[<p>作業目的: 學習 UIStepper 和將數字變成畫面上的文字。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a--9pQrhMbTVzUHsBiWZYQ.jpeg" /></figure><p>在 storyboard 固定 header 讓畫面呈現起來更好看，原本其實想讓 footer 也一起固定，實作後發現這樣做要在 main controller 加上 children 才可以，但試了幾個方式都失敗，只好先拿掉，等之後找到解法再放回去囉～</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/%E8%A8%AD%E5%AE%9A%E8%A1%A8%E6%A0%BC%E7%9A%84%E8%83%8C%E6%99%AF%E5%9C%96%E7%89%87-45508aa6f630"><strong>設定表格的背景圖片</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-Faq35mOeJfP7SYI_Dm1A.jpeg" /></figure><p>這裡要記得這個步驟，不然會卡關～</p><pre>如果想陳列的商品很多，可以用 static cells 的表格呈現，搭配繼承 UITableViewController 的類別，拿掉 function numberOfSections(in:) &amp; tableView(_:numberOfRowsInSection:)，否則將造成表格一片空白。</pre><p>過程中的大卡關，分享給大家～</p><p><strong>清除不完全，數值會累加</strong><br>按 stepper 項目增減累加總金額後再按清除，總金額空格內數字會變0，但如果再繼續按 項目增減，總金額空格內的金額會累加上之前的數值，不會是乾淨的重新開始算～</p><blockquote><em>原本的做法是用 item1, item2，但這樣值沒有被清除，變數 item1 沒有變 0</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M-g4V8DDDl889qu3ECfnGw.jpeg" /><figcaption>左邊為原始寫法，右邊為 Peter 救援寫法</figcaption></figure><p>附上 demo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*yIl4oI_4fr8B9WE3SV5PeA.gif" /></figure><p>github 載點：<a href="https://github.com/sashachiu/byredo1221-master"><br>https://github.com/sashachiu/byredo1221-master</a></p><p>感謝你妳的閱讀；）</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=806402edca81" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-%E9%A6%99%E6%B0%9B%E8%B3%BC%E7%89%A9-app-806402edca81">#Assignment 香氛購物 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[#Assignment_03 調色大師，美女與野獸的故事]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-03-%E8%AA%BF%E8%89%B2%E5%A4%A7%E5%B8%AB-%E7%BE%8E%E5%A5%B3%E8%88%87%E9%87%8E%E7%8D%B8%E7%9A%84%E6%95%85%E4%BA%8B-a75ea8e63fda?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/a75ea8e63fda</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Sun, 09 Dec 2018 16:46:58 GMT</pubDate>
            <atom:updated>2018-12-09T16:46:58.950Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>基本題<br>作業目的：熟練 outlet，action，UISlider, UIColor。</em></blockquote><p>將 Belle 裙子部分去背，後面再疊一張背景圖，利用 RGB 和 alpha 的 slider 滑出不同的配色。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*wBPkqdW7MxjVNmXsFGIz7g.gif" /></figure><blockquote><em>基本題延伸<br>目的：學習偵測 slider 的 value 變化。</em></blockquote><p>水平移動，練習利用 slider 拉近之間距離，且以一樣速度移動。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*PuBpCGy-dip5mXefeR3AXg.gif" /></figure><p>Ｇithub：</p><p><a href="https://github.com/sashachiu/beautyandbeast">sashachiu/beautyandbeast</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a75ea8e63fda" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-03-%E8%AA%BF%E8%89%B2%E5%A4%A7%E5%B8%AB-%E7%BE%8E%E5%A5%B3%E8%88%87%E9%87%8E%E7%8D%B8%E7%9A%84%E6%95%85%E4%BA%8B-a75ea8e63fda">#Assignment_03 調色大師，美女與野獸的故事</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[#Assignment 02 _ 從 playground 調色去背圖片]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-02-%E5%BE%9E-playground-%E8%AA%BF%E8%89%B2%E5%8E%BB%E8%83%8C%E5%9C%96%E7%89%87-697ef22f9ee0?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/697ef22f9ee0</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Tue, 27 Nov 2018 09:30:51 GMT</pubDate>
            <atom:updated>2018-11-27T09:30:51.401Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z6HutHokWOIBz4zNUxZwDA.jpeg" /></figure><ol><li>加入去背圖片並修改顏色</li></ol><p>程式碼如下</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2SAaQDE8K6W_1AKbN_S7A.jpeg" /></figure><p>使用色號為 #26AB7B，這次試用了不一樣的語法來表達 UIColor，<br><strong>UIColor(red: 0x../255, green: 0x../255, blue: 0x../255, alpha: 1)</strong><em><br></em>0x &lt;- 表示16進位，依所屬 RGB 對應代碼填入即可。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*yE7Z-hY_H1ibkZ5wzuQoCg.jpeg" /><figcaption>#26AB7B</figcaption></figure><p>2. 將去背的區域以另一張圖片填入</p><p>一樣先將圖片丟到 Playground/ <strong>Resources</strong>，因為這張圖是jpg格式，所以程式碼要將它寫出來 .jpg，只有png格式可以不用寫出。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NsNd42-mCS6xhtn_HDGW9A.jpeg" /><figcaption>pool water, 看起來很涼阿</figcaption></figure><p>做法和國旗一樣，都是利用 <strong>addSubview</strong> 將圖片疊起來，就完成我的帶有水波紋的戽斗熊貓囉～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X3E_38WuonLga1d9PRGjUg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=697ef22f9ee0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-02-%E5%BE%9E-playground-%E8%AA%BF%E8%89%B2%E5%8E%BB%E8%83%8C%E5%9C%96%E7%89%87-697ef22f9ee0">#Assignment 02 _ 從 playground 調色去背圖片</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[Another Lens — A research tool for conscientious creatives]]></title>
            <link>https://medium.com/@sashachiuchiu/another-lens-a-research-tool-for-conscientious-creatives-b959ebef0ff2?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/b959ebef0ff2</guid>
            <category><![CDATA[thinking]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[ui-ux-design]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Sun, 25 Nov 2018 15:54:42 GMT</pubDate>
            <atom:updated>2018-11-25T15:55:29.791Z</atom:updated>
            <content:encoded><![CDATA[<h3>Another Lens — A research tool for conscientious creatives</h3><p>幾天前的閱讀資料其中之一，由 Airbnb Design 提出的 Another Lens ，<br>覺得不僅適用於設計/UX，也滿適合作為思考訓練的方式。</p><blockquote>避免偏頗的觀點，練習多角度來審視問題。</blockquote><p>簡述如下，<br>Airbnb的設計研究團隊同News Deeply一起制定了一套原則和練習試題。這些能幫助設計師避免偏頗的觀點，以全面、包容的思維來進行設計。</p><p>「Another Lens」研究方法提出了一系列問題來幫助你：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*2VfZdkL2LGfs427lixrCTw.jpeg" /></figure><ul><li>平衡偏見 Balance your Bias.</li><li>反向思考 Consider the opposite.</li><li>擁抱成長的心態 Embrace a growth mindset.</li></ul><p>有興趣可以自行再閱讀原文唷<br><a href="https://airbnb.design/anotherlens/">Another Lens - A research tool for conscientious creatives</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b959ebef0ff2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[#Assignment_從程式製作國旗圖案]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-%E5%BE%9E%E7%A8%8B%E5%BC%8F%E8%A3%BD%E4%BD%9C%E5%9C%8B%E6%97%97%E5%9C%96%E6%A1%88-f19b6d2fd8ed?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/f19b6d2fd8ed</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Sun, 25 Nov 2018 15:20:33 GMT</pubDate>
            <atom:updated>2018-11-25T15:28:51.105Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>試做基本題，以簡單方塊和線條為主的國旗</strong></blockquote><p>雖然愛法國但拿它的國旗好像有點太偷懶了XD<br>剛好 Peter 傳了這個不知哪個年代的法國國旗給我，來看一下國旗本人</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8_UZbaFO6kNeHJUvg6GqCA.jpeg" /></figure><p>根據 維基百科，解釋歷史來源如下：</p><blockquote>自由法國時期的洛林紅十字三色旗，<strong>自由法國</strong>（法語：France libre），是在1940年6月，原法蘭西第三共和國國防部次長夏爾·戴高樂在英國所建立的政體。在法國向納粹德國投降時，戴高樂逃亡至英國，於6月18日透過英國廣播公司發表《告法國人民書》的演說，號召法國人不要放棄希望，「法國抵抗的火焰都不能熄滅，也絕不會熄滅」，這標誌了「自由法國」運動的開始。</blockquote><blockquote>其中的十字便為 國徽 “洛林十字” ，自由法國軍隊中的Thierry d’Argenlieu上尉認為洛林十字作為自由法國標誌最合適不過了，既能回憶聖女貞德，又能對納粹展現其自身不懈的鬥志。</blockquote><p>覺得這國旗理念很適合現況，雖然智力測驗結果不盡如人意，不過可以看見願意為對的事、平等的事，勇敢發聲做選擇的人們，比想像中多很多，時代在前進思想在進步，值得慶幸是幸好我們還有言論自由，這次沒跨過還有下次，畢竟沒有一蹴可及的成功，就像國旗上看起來不過就是放在中間的三條線，也是試了567次才成功找到位置啊啊啊，還在為人權平權努力的你們真棒，還在覺得這很奇怪的你們 才最奇怪！<br>好，我離題太多了，回來～</p><p>所以這次就拿 <strong>Flag of Free France</strong> 它來當練習的範本，程式碼如下：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vMqnPvaF3G-HP2ee5qvvg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*eABXAYKWvGS9frrX7maFvg.jpeg" /></figure><p><strong>色碼</strong></p><p>查詢方式<br>1. <a href="https://www.schemecolor.com/image-to-color-generator">schemecolor</a> 將圖片 url 輸入，即會出現對應色碼</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*Im4V77MjPlfa0lFI17hO8g.png" /></figure><p>2. 因為沒有出現 RGB 色號 ，我是自己在 <a href="https://www.schemecolor.com/color-code-converter?">CODE CONVERTER</a> 單獨查，記得在 playground 中要輸入為 <strong>UIColor(red:204/255, green:0, blue:51/255, alpha:1.0)</strong>，這樣顏色才會是對的唷～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vpescOWHI_ZVcz3g3VOBA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f19b6d2fd8ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-%E5%BE%9E%E7%A8%8B%E5%BC%8F%E8%A3%BD%E4%BD%9C%E5%9C%8B%E6%97%97%E5%9C%96%E6%A1%88-f19b6d2fd8ed">#Assignment_從程式製作國旗圖案</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[設定 content size，實現水平捲動，上下捲動和分頁的 scroll view]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%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-%E4%B8%8A%E4%B8%8B%E6%8D%B2%E5%8B%95%E5%92%8C%E5%88%86%E9%A0%81%E7%9A%84-scroll-view-234d67f8074b?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/234d67f8074b</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Tue, 20 Nov 2018 09:34:09 GMT</pubDate>
            <atom:updated>2018-11-23T10:58:42.785Z</atom:updated>
            <content:encoded><![CDATA[<h3>#常用 Xcode UI Kits- 水平捲動 Scroll View</h3><blockquote>水平捲動的 Scroll View</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*qtFDxmf76CIojjIFLzuVyg.gif" /><figcaption>水平捲動</figcaption></figure><ol><li>在畫面上加入寬度等於螢幕寬度的 scroll view</li><li>再於 scroll view 上放一個 view，為方便操作，先將 View 拉到 的 Exit 下方，呈現畫面如下圖。</li><li>在 View 上加入需要 image view。</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V6-BPCA1yPBE7v8-QurKTA.jpeg" /></figure><p>4. 製作好後再拉回原本的scroll view，當 View 回到 Scroll View 上時，位置會跑掉，須在調整View 的 X 和 Y，這裡千萬千萬不要自己手動拉，會一直跑掉XD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7LM0K6Mb3zYVh_8i6V6fhw.jpeg" /><figcaption>before</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*geKzsIazZ-IdVxVxhFz5rQ.jpeg" /><figcaption>after, 這樣才是對的!!!</figcaption></figure><p>5. 最後設定scroll view 的 content size。</p><blockquote>scroll view 的 content size 決定了它內容的大小，也就是它可以捲動的範圍。content size 的寬度要大於 scroll view 的寬度才能水平捲動。<br>在 scroll view 的 Identity inspector 頁面，於 User Defined Runtime Attributes 輸入以下內容。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MLBS8Wqpv13Uy4j9kWcOxg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=234d67f8074b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%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-%E4%B8%8A%E4%B8%8B%E6%8D%B2%E5%8B%95%E5%92%8C%E5%88%86%E9%A0%81%E7%9A%84-scroll-view-234d67f8074b">設定 content size，實現水平捲動，上下捲動和分頁的 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[用 Swift 打造跳舞機器人 BoogieBot]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%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-3e91d16dd5c4?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e91d16dd5c4</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[boogiebot]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Sun, 18 Nov 2018 13:32:23 GMT</pubDate>
            <atom:updated>2018-11-20T09:36:33.986Z</atom:updated>
            <content:encoded><![CDATA[<h3>#Assignment _ 用 Swift 打造跳舞機器人 BoogieBot</h3><blockquote>Swift 新手菜鳥用 Apple 提供的 API， 練習控制機器人跳舞，一起來擺臀跳跳再動動手臂動動腿～～～</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*cQfkYH47-BKRqIl08djbSA.gif" /><figcaption>Sasha’s BoogieBot</figcaption></figure><p>Step by step, <br>下載電子書 Intro to App Development with Swift 後，點選以下頁面的 Download Xcode 10 project file 下載書本提供的範例，跟著引導走就可以完成囉！</p><p><a href="https://itunes.apple.com/us/book/intro-to-app-development-with-swift/id1118575552?mt=11">Intro to App Development with Swift by Apple Education on Apple Books</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e91d16dd5c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%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-3e91d16dd5c4">用 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[#Assignment _Storyboard 電子書 App]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/24-assignment-storyboard-%E9%9B%BB%E5%AD%90%E6%9B%B8-app-747dc9209d47?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/747dc9209d47</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Sun, 18 Nov 2018 06:15:24 GMT</pubDate>
            <atom:updated>2018-11-18T14:38:25.819Z</atom:updated>
            <content:encoded><![CDATA[<p>這次練習製作電子書APP，選了一個自己很愛的品牌當仿照範本，主要為酒花飛高高計劃系列的啤酒照片露出，搭配一點簡短介紹。</p><p>使用功能如下<br>・Tab bar controller、Table controller、Navigation controller<br>・設定App Icon、Launch page<br>・使用到Text view，連結網頁、電話<br>・在 storyboard 設定 contentSize，實現水平捲動的 scroll view<br>・設定 Tab Bar 的 ICON 圖案</p><p>App 架構</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NO5EuGD5ws39528DywzZFA.png" /></figure><p>特製的 App 畫面截圖三張</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*12jX4xM1D1GwVCSf9flxFg.png" /></figure><p>操作的動畫影片 gif</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*LFrzA3u0a3p4ItcTs7e7JQ.gif" /></figure><p>github 連結</p><p><a href="https://github.com/sashachiu/Taihu-Brewing">sashachiu/Taihu-Brewing</a></p><blockquote>APP製作資料來源及素材皆取自 <strong>臺虎精釀 Taihu Brewing </strong><a href="https://www.facebook.com/taihubrewing/"><strong>FB</strong></a><strong>/</strong><a href="https://www.instagram.com/taihubrewing/"><strong>IG</strong></a><strong>、</strong><a href="https://www.elle.com/tw/life/foodie/g23634192/7-eleven-taiwan-beer/?fbclid=IwAR3kR2JWwWBhrKCWBxOy6zHjC4TYS2qJH3winImchpi2WzUWjUcDLcyC-Ss"><strong>EllE 雜誌</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=747dc9209d47" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/24-assignment-storyboard-%E9%9B%BB%E5%AD%90%E6%9B%B8-app-747dc9209d47">#Assignment _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[研究常用 UI Kits- Phase 1]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%A0%94%E7%A9%B6%E5%B8%B8%E7%94%A8-ui-kits-phase-1-882b4fe0ab85?source=rss-60cd5eeca3df------2</link>
            <guid isPermaLink="false">https://medium.com/p/882b4fe0ab85</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[uikit]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Sasha chiu]]></dc:creator>
            <pubDate>Sat, 10 Nov 2018 09:43:13 GMT</pubDate>
            <atom:updated>2018-11-23T10:56:34.463Z</atom:updated>
            <content:encoded><![CDATA[<h3>#常用 Xcode UI Kits - Phase 1</h3><ol><li>Segmented Control</li><li>Slider</li><li>Switch</li><li>Activity Indicator View</li><li>Progress View</li><li>Page Control</li><li>Date Picker</li><li>Visual Effect View with Blur</li></ol><blockquote>Segmented Control</blockquote><p>Segments：設定Segment數量, 最少兩個<br>Segment：選定指定segment, 可修改細節<br>Title：輸入顯示文字<br>Image：把顯示的文字改由圖案顯示, 且有使用規範<br>Selected：選定之segment若勾選則表示為預設(藍底), 也可皆無勾選</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AYykjUZ4mIzQEKyRMvJy3g.jpeg" /><figcaption><a href="https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/custom-icons/">segmented control icons</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*WhblxYnZmpsMrCVDTuaQPA.gif" /><figcaption>Segmented Control</figcaption></figure><blockquote><strong>Slider</strong></blockquote><p>Value：預設值, 初始滑動鈕停留的地方<br>Minimum：滑動軌道的最小值, 顯示在左邊<br>Maximum：滑動軌道的最大值, 顯示在右邊<br>Min Image：左邊設定圖片<br>Max Image：右邊設定圖片<br>Min Track：滑動左邊軌道的顯示顏色<br>Max Track：滑動右邊軌道的顯示顏色<br>Thumb Tint：滑動鈕的顏色設定</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2-FY3jeGG2FGihyv5oLew.jpeg" /><figcaption>Slider</figcaption></figure><blockquote><strong>Switch</strong></blockquote><p>State：開關按鈕, on-&gt;圓按鈕在右, off-&gt;按鈕在左<br>On Tint：State on狀態時的底色顏色設定<br>Thumb Tint：按鈕的顏色設定</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*YfXTTWz40tFM93QBPgPkJg.gif" /><figcaption>switch</figcaption></figure><blockquote><strong>Activity Indicator View</strong></blockquote><p>Style：旋轉圈圈的形式，三種可選<br>Color：顏色設定, 且皆以漸層色顯示<br>Animating：勾選後,模擬器可見動態旋轉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*Hx7gYkgrZf1CDkx2HiX8Iw.jpeg" /><figcaption><strong>Activity Indicator View</strong></figcaption></figure><blockquote><strong>Progress View</strong></blockquote><p>Style：決定進度條的形式，有兩種可選<br> 1. default 未完成進度條顯示為淺灰色<br> 2. bar未完成進度條則未上色<br>Progress：目前的進度值, 最小0最大1, 以0.1為一前進單位<br>Progress Tint：已達成進度條的顏色<br>Track Tint：未達成進度條的顏色<br>Progress Image：須在progress tint設定在default時才有用, 可以圖像代替已完成進度條顏色, 且圖片是乎壓在進度條上(實際用法未知)<br>Track Image：須在Track Tint設定在default時才有用, 可以圖像代替已完成進度條顏色, 且圖片是乎壓在進度條上(實際用法未知)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SwCQi7vM4zBKpLCv_kxeVw.jpeg" /></figure><blockquote><strong>Visual Effect View with Blur </strong>毛玻璃效果</blockquote><p>Blur Style：有5種顯示方式可選</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*ZPdM8sRYScIV-w13CvMSXA.gif" /><figcaption><strong>Visual Effect View with Blur</strong></figcaption></figure><blockquote><strong>Page Control</strong></blockquote><p># of Pages：page數量<br>Current：預設停留page<br>Hides for Single Page：當Pages= 0, 且Current Page設定為default隱藏此元件<br>Tint Color：非停留page的dot顯示顏色<br>Current Page：停留page的dot顯示顏色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Zn9jcB77XeR0SSyWfG2GNg.gif" /><figcaption><strong>Page Control</strong></figcaption></figure><blockquote><strong>Date Picker</strong></blockquote><p>Mode：有4種樣式，時間／年月日／日期＋時間／時數（小時分鐘）<br>Locale：使用時區選擇, default 則跟隨 user device 變化<br>Interval：設定分鐘的最小間距<br>Date：Current Data、Custom（設定預設時間）<br>Minimum Date：設定可選的最久以前年月日 (過去時間)<br>Maximum Date：設定可選的最晚以後年月日 (未來時間)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*4qIybW9zaupBxUezaROlEw.gif" /><figcaption><strong>Date Picker</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*oNA-2TapSxOSNEYQg-Yxpw.gif" /><figcaption>設定範例：Minimum Date / Maximum Date</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=882b4fe0ab85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%A0%94%E7%A9%B6%E5%B8%B8%E7%94%A8-ui-kits-phase-1-882b4fe0ab85">研究常用 UI Kits- Phase 1</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>