<?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 Phil on Medium]]></title>
        <description><![CDATA[Stories by Phil on Medium]]></description>
        <link>https://medium.com/@Phil_liu_twn?source=rss-8a4f3feb0a6a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Phil on Medium</title>
            <link>https://medium.com/@Phil_liu_twn?source=rss-8a4f3feb0a6a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 01:54:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Phil_liu_twn/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/%E8%B7%9F%E9%9A%A8%E5%BD%BC%E5%BE%97%E6%BD%98%E8%B8%8F%E4%B8%8Aswift-%E7%9A%84%E5%AD%B8%E7%BF%92%E6%97%85%E7%A8%8B-4b1aa9e641ff?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b1aa9e641ff</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Sat, 01 Sep 2018 15:05:33 GMT</pubDate>
            <atom:updated>2018-09-01T15:05:33.931Z</atom:updated>
            <content:encoded><![CDATA[<p>我從事產品技術支援的工作，與客戶接洽的過程中發現愈來愈多的客戶詢問產品是否有 iOS 的範例程式可供參考，於是興起自己學習 iOS 程式設計的慾望，希望自己能寫出 iOS 的 App給客戶使用。</p><p>考量利用工作閒暇之餘學習並能快速上手，上課學習有老師指導應該是學習 Swift 最快的途徑。在Google大神的搜尋下發現了彼得潘的iOS App程式設計入門課程，網站內詳盡有關學習iOS 程式設計的 Q&amp;A ，一一回答了我心中的疑惑，最後讓我決定報名彼得潘的課程是網站上demo利用一首歌的時間即可寫完一個電子書App的影片鼓舞了我 (You raise me up)，開啟了我學習iOS 程式的動力。</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DRDEJqiV55JnX0&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEJqiV55JnX0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEJqiV55JnX0%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/5c6c6c2b2d46ed73705ecec1a662ac2b/href">https://medium.com/media/5c6c6c2b2d46ed73705ecec1a662ac2b/href</a></iframe><p>四月報名，等到了七月終於開始踏上Swift的學習旅程。好久沒有當學生了，發現 Peter 上課的風格與以前上其他課的經驗完全不同。Peter 上課時總能以輕鬆易懂的語言輔以幽默的譬喻讓 Swift 的程式觀念變得簡單易懂，講義上還有與重點相關的歌曲連結 Youtube 讓你印象深刻。在 Peter 的引導下上課沒有壓力，沒想到學習 Swift 竟是是如此輕鬆快樂的事。</p><p>Peter還為學員建立了Medium的知識平台，並鼓勵學員把自己的作業心得寫成blog與其他同學分享，除了可以記錄重點外並可以加強學習記憶。課後除了複習實作上課所教的範例外，還有作業可以練習。真的自己在實作寫作業時你才會碰到連續的挑戰，若遇到卡關實在想不出來時，除了Google外，可以在平台上參考其他同學或學長的作業獲得靈感，另外還可以隨時求救Peter，他都會即時給予詳細地說明解決難題。</p><p>非常感謝 Peter 這兩個月來的指導，課程已經到了尾聲，Peter 告訴大家：“未來是一輩子的朋友”，在學習 Swift 的旅程上有彼得潘相挺指點迷津一點也不孤獨。真心推薦想學習 Swift 的朋友，跟隨 Peter 的腳步，讓 Peter 來幫助你快速進入 Swift 的世界！</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b1aa9e641ff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E8%B7%9F%E9%9A%A8%E5%BD%BC%E5%BE%97%E6%BD%98%E8%B8%8F%E4%B8%8Aswift-%E7%9A%84%E5%AD%B8%E7%BF%92%E6%97%85%E7%A8%8B-4b1aa9e641ff">跟隨彼得潘踏上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[#25 選擇題 App]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/25-%E9%81%B8%E6%93%87%E9%A1%8C-app-4c814734ab95?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c814734ab95</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Mon, 13 Aug 2018 16:24:44 GMT</pubDate>
            <atom:updated>2018-08-13T16:24:44.616Z</atom:updated>
            <content:encoded><![CDATA[<p>練習如何建立struct, array及if else, switch case, viewDidLoad()的使用。<br>開始建立arry 資料時遇到紅色的錯誤訊息提示資料間要有逗號分隔，找了一段時間後發現問題在雙引號與中文切換時特別容易出現全形與半形錯用的情形。後續建資料時都先將英文的資料及雙引號打好再插入中文就沒有再發生錯誤的訊息。Coding過程對每題連續按對的答案會計分、沒作答就按下一題等問題做了處理。當回答10題後再繼續答題，分數會歸零，題數也會提示1/10題。</p><p>下面是App的執行擷取畫面：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*1KMU4VGSSL6eluK7rOOoUg.gif" /></figure><p>問題、答案Array及問題顯示程式碼</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oPUowxEx4Cv11Mi-UHKG6A.png" /></figure><p>使用switch case來判斷答案是否正確。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mMnBoXJzsOyW8EhEVBDgoQ.png" /></figure><p><a href="https://github.com/Philliutwn/-App">Philliutwn/-App</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c814734ab95" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/25-%E9%81%B8%E6%93%87%E9%A1%8C-app-4c814734ab95">#25 選擇題 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[以Auto layout 實作之前做過的 App 畫面]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E4%BB%A5auto-layout-%E5%AF%A6%E4%BD%9C%E4%B9%8B%E5%89%8D%E5%81%9A%E9%81%8E%E7%9A%84-app-%E7%95%AB%E9%9D%A2-a2390a40efe2?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2390a40efe2</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 10:11:39 GMT</pubDate>
            <atom:updated>2018-08-07T10:11:39.016Z</atom:updated>
            <content:encoded><![CDATA[<p>之前做的iPhone shopping App 畫面是使用iPhone 8的大小layout畫面，轉換為iPhone SE 會出現物件偏移的情形，如下圖 。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*jc18ltfDIADOei5dW06TuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*u5O0H3lcKmNIz3Xl6B5Kyg.png" /></figure><p>使用Auto layout在個物件加上constraint後，於iPhone SE, 8, 8 Plus, X上顯示畫面時，就不會出現物件偏移的情形，如下圖。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bSpDNFtd8th7O6chiJKmzg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nnLqrflE2PFevbJvv3IfpA.png" /></figure><p><a href="https://github.com/Philliutwn/MobileShoppingApp-Auto-Layout">Philliutwn/MobileShoppingApp-Auto-Layout</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2390a40efe2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E4%BB%A5auto-layout-%E5%AF%A6%E4%BD%9C%E4%B9%8B%E5%89%8D%E5%81%9A%E9%81%8E%E7%9A%84-app-%E7%95%AB%E9%9D%A2-a2390a40efe2">以Auto layout 實作之前做過的 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[世界末日倒數計時-Date Picker 和 Date 的練習]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E4%B8%96%E7%95%8C%E6%9C%AB%E6%97%A5%E5%80%92%E6%95%B8%E8%A8%88%E6%99%82-date-picker-%E5%92%8C-date-%E7%9A%84%E7%B7%B4%E7%BF%92-ff37d511de20?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff37d511de20</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Sat, 04 Aug 2018 06:25:19 GMT</pubDate>
            <atom:updated>2018-08-04T06:28:51.086Z</atom:updated>
            <content:encoded><![CDATA[<p>世界末日太可怕，在這天到來前先想想距離退休還有多少天即可享受悠閒的生活。<br>作業中使用了Date picker, Date, 把date 變成字串，使用timeIntervalSince()計算兩個時間差，並使用timer 持續更新現在時間和倒數的時間。</p><p>以下是點選Date Picker時取得及顯示現在時間及未來時間並計算距離退休日的時間。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*f0vOmxIwT5lVtcoTN2vJOw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vysz1S57jhEWs2Zl1CImuQ.png" /></figure><p>以下是在viewDidLoad下使用 timer 讓label顯示的時間跳動並作時間的計算。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V21WD1CU0oGZK5kWvzOppw.png" /></figure><p>離開畫面時停止timer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*E2MDXXV2rxG_Fw9ywzcJow.png" /></figure><p><a href="https://github.com/Philliutwn/DatePicker">Philliutwn/DatePicker</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff37d511de20" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E4%B8%96%E7%95%8C%E6%9C%AB%E6%97%A5%E5%80%92%E6%95%B8%E8%A8%88%E6%99%82-date-picker-%E5%92%8C-date-%E7%9A%84%E7%B7%B4%E7%BF%92-ff37d511de20">世界末日倒數計時-Date Picker 和 Date 的練習</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[愛情的模樣
點選 Segmented Control 和 Button 更換圖片]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E6%84%9B%E6%83%85%E7%9A%84%E6%A8%A1%E6%A8%A3-%E9%BB%9E%E9%81%B8-segmented-control-%E5%92%8C-button-%E6%9B%B4%E6%8F%9B%E5%9C%96%E7%89%87-b3110ef57dd1?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3110ef57dd1</guid>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Sun, 29 Jul 2018 13:40:52 GMT</pubDate>
            <atom:updated>2018-07-29T13:40:52.472Z</atom:updated>
            <content:encoded><![CDATA[<p>練習使用<br>1. Segmented Control選擇星座並更換圖片<br>2. Switch切換顯示星座的說明<br>3. 搭配If else, switch, function</p><p>螢幕操作：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*zj6wKkQtvvFtMoiDEyvJmw.png" /></figure><p>程式碼：</p><p><strong>import</strong> UIKit</p><p><strong>class</strong> ViewController: UIViewController {</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> starSegmentedControl: UISegmentedControl!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> starDescriptionSwitch: UISwitch!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> starDesiptionTextView: UITextView!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> starImageView: UIImageView!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> starDescriptionTextView: UITextView!</p><p><strong>func</strong> showDescription() {</p><p><strong>switch</strong> starSegmentedControl.selectedSegmentIndex {</p><p><strong>case</strong> 0:</p><p>starImageView.image = UIImage(named: “巨蟹座”)</p><p><strong>if</strong> starDescriptionSwitch.isOn {</p><p>starDescriptionTextView.isHidden = <strong>false</strong></p><p>starDescriptionTextView.text = “溫柔細膩的巨蟹女，有著很強的母性光環，會站到不同的角度來思考同一件事情，會為他人換位思考，很會照顧人。賢妻良母，這樣的姑娘大概是所有男生心中的硃砂痣，也是最難以忘懷，很成熟，能夠得到很多的喜歡，很容易成為男生心中的夢中情人。”</p><p><em>//原文網址：</em>https://kknews.cc/zh-tw/astrology/b693omo.html<em>&quot;</em></p><p>} <strong>else</strong> {</p><p>starDescriptionTextView.isHidden = <strong>true</strong></p><p>}</p><p><strong>case</strong> 1:</p><p>starImageView.image = UIImage(named:”雙魚座”)</p><p><strong>if</strong> starDescriptionSwitch.isOn {</p><p>starDescriptionTextView.isHidden = <strong>false</strong></p><p>starDescriptionTextView.text = “溫柔、愛撒嬌的雙魚女，會很容易的激發起男生的保護欲，感情細膩，是男生心靈的港灣，備受異性的偏愛。親切可人，這樣的姑娘大概是沒有男生會拒絕的吧，會在無形中把疲憊的感覺稀釋掉一大半，有著很輕鬆的生活，是很容易成為男生心中的夢中情人。”</p><p><em>//原文網址：</em>https://kknews.cc/zh-tw/astrology/b693omo.html<em>&quot;</em></p><p>} <strong>else</strong> {</p><p>starDescriptionTextView.isHidden = <strong>true</strong></p><p>}</p><p><strong>case</strong> 2:</p><p>starImageView.image = UIImage(named:”雙子座”)</p><p><strong>if</strong> starDescriptionSwitch.isOn {</p><p>starDescriptionTextView.isHidden = <strong>false</strong></p><p>starDescriptionTextView.text = “內心有著很美好幻想、高境界的雙子女，會很容易讓男生產生一種惺惺相惜的感覺，是不得多得的幫手。聰明伶俐，這樣的姑娘大概是男生心中不可缺失的一道光芒，會想要讓這道光芒一直在心裡，是心裡的白月光，深深的迷戀上具有魅力的雙子女。”</p><p><em>//原文網址：</em>https://kknews.cc/zh-tw/astrology/b693omo.html<em>&quot;</em></p><p>} <strong>else</strong> {</p><p>starDesiptionTextView.isHidden = <strong>true</strong></p><p>}</p><p><strong>default</strong>:</p><p>print (“switch on default condition”)</p><p>}</p><p>}</p><p><strong>@IBAction</strong> <strong>func</strong> starDescriptionSwitch(<strong>_</strong> sender: UISwitch) {</p><p>showDescription()</p><p>}</p><p><strong>@IBAction</strong> <strong>func</strong> starSegmentedControlChanged(<strong>_</strong> sender: UISegmentedControl) {</p><p>showDescription()</p><p>}</p><p><strong>override</strong> <strong>func</strong> viewDidLoad() {</p><p><strong>super</strong>.viewDidLoad()</p><p><em>// Do any additional setup after loading the view, typically from a nib.</em></p><p>}</p><p>}</p><p><a href="https://github.com/Philliutwn/SegmentedControl">Philliutwn/SegmentedControl</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3110ef57dd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E6%84%9B%E6%83%85%E7%9A%84%E6%A8%A1%E6%A8%A3-%E9%BB%9E%E9%81%B8-segmented-control-%E5%92%8C-button-%E6%9B%B4%E6%8F%9B%E5%9C%96%E7%89%87-b3110ef57dd1">愛情的模樣
點選 Segmented Control 和 Button 更換圖片</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[UISlider & UITextField 文字的縮放與字數練習]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/uislider-uitextfield-%E6%96%87%E5%AD%97%E7%9A%84%E7%B8%AE%E6%94%BE%E8%88%87%E5%AD%97%E6%95%B8%E7%B7%B4%E7%BF%92-34aab3545141?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/34aab3545141</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Sun, 22 Jul 2018 07:19:05 GMT</pubDate>
            <atom:updated>2018-07-22T07:19:05.688Z</atom:updated>
            <content:encoded><![CDATA[<p>這次練習了使用Slider控制TextField內文字的顯示大小，並將TextField內字體大小及字數顯示在Label上。下面是程式及操作情形。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yw-0rC2Zbu14KKuiH_78HQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*rOyGOoGsJxR-_RVvkuJfuw.gif" /></figure><p><a href="https://github.com/Philliutwn/SliderTextField">Philliutwn/SliderTextField</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34aab3545141" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/uislider-uitextfield-%E6%96%87%E5%AD%97%E7%9A%84%E7%B8%AE%E6%94%BE%E8%88%87%E5%AD%97%E6%95%B8%E7%B7%B4%E7%BF%92-34aab3545141">UISlider &amp; UITextField 文字的縮放與字數練習</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[瘋狂購物 App — UIStepper 和數字變字串練習]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%98%8B%E7%8B%82%E8%B3%BC%E7%89%A9-app-uistepper-%E5%92%8C%E6%95%B8%E5%AD%97%E8%AE%8A%E5%AD%97%E4%B8%B2%E7%B7%B4%E7%BF%92-7954b3b5d16?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7954b3b5d16</guid>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Sat, 21 Jul 2018 14:37:44 GMT</pubDate>
            <atom:updated>2018-07-21T14:37:44.465Z</atom:updated>
            <content:encoded><![CDATA[<p>練習使用Stepper物件，藉由＋/- 改變 Label 物件顯示的數字及function的使用。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/1*9YwYM_k1gHGSjyT5sHw_2g.gif" /></figure><p>程式</p><p><strong>import</strong> UIKit</p><p><strong>class</strong> ViewController: UIViewController {</p><p><strong>let</strong> ixPrice : Int = 35000</p><p><strong>let</strong> i8Price : Int = 28500</p><p><strong>let</strong> iwatchPrice: Int = 10000</p><p><strong>let</strong> iairPodsPrice: Int = 5000</p><p><strong>var</strong> totalPrice : Int = 0</p><p><strong>var</strong> ixQty : Int = 0</p><p><strong>var</strong> i8Qty : Int = 0</p><p><strong>var</strong> iwQty : Int = 0</p><p><strong>var</strong> iaQty : Int = 0</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> ixQtyLabel: UILabel!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> i8QtyLabel: UILabel!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> iwQtyLabel: UILabel!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> iaQtyLabel: UILabel!</p><p><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> totalPriceLabel: UILabel!</p><p><strong>func</strong> totalAmount ( ) {</p><p>totalPrice = ixPrice * ixQty + i8Price * i8Qty + iwatchPrice * iwQty + iairPodsPrice * iaQty</p><p>totalPriceLabel.text = totalPrice.description</p><p>}</p><p><strong>@IBAction</strong> <strong>func</strong> ixQtyStepper(<strong>_</strong> sender: UIStepper) {</p><p>ixQty = Int (sender.value)</p><p>ixQtyLabel.text = ixQty.description</p><p>totalAmount()</p><p>}</p><p><strong>@IBAction</strong> <strong>func</strong> i8QtyStepper(<strong>_</strong> sender: UIStepper) {</p><p>i8Qty = Int (sender.value)</p><p>i8QtyLabel.text = i8Qty.description</p><p>totalAmount()</p><p>}</p><p><strong>@IBAction</strong> <strong>func</strong> iwQtyStepper(<strong>_</strong> sender: UIStepper) {</p><p>iwQty = Int (sender.value)</p><p>iwQtyLabel.text = iwQty.description</p><p>totalAmount()</p><p>}</p><p><strong>@IBAction</strong> <strong>func</strong> iaQtyStepper(<strong>_</strong> sender: UIStepper) {</p><p>iaQty = Int (sender.value)</p><p>iaQtyLabel.text = iaQty.description</p><p>totalAmount()</p><p>}</p><p><a href="https://github.com/Philliutwn/MobileShoppingApp">Philliutwn/MobileShoppingApp</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7954b3b5d16" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%98%8B%E7%8B%82%E8%B3%BC%E7%89%A9-app-uistepper-%E5%92%8C%E6%95%B8%E5%AD%97%E8%AE%8A%E5%AD%97%E4%B8%B2%E7%B7%B4%E7%BF%92-7954b3b5d16">瘋狂購物 App — UIStepper 和數字變字串練習</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[使用View拼出圖案，錄製App操作影片轉成gif，並上傳專案至GitHub心得]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E4%BD%BF%E7%94%A8view%E6%8B%BC%E5%87%BA%E5%9C%96%E6%A1%88-%E9%8C%84%E8%A3%BDapp%E6%93%8D%E4%BD%9C%E5%BD%B1%E7%89%87%E8%BD%89%E6%88%90gif-%E4%B8%A6%E4%B8%8A%E5%82%B3%E5%B0%88%E6%A1%88%E8%87%B3github%E5%BF%83%E5%BE%97-df220930ce4?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/df220930ce4</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Sun, 15 Jul 2018 07:50:22 GMT</pubDate>
            <atom:updated>2018-07-15T07:50:22.690Z</atom:updated>
            <content:encoded><![CDATA[<p>使用view拼出圖案，除了需要耐心及創意外，還要有天份才能畫得漂亮。<br>這個圖共用了103個view，花了約4小時拼出圖案。獻醜了，請各位包涵。</p><p>使用Licecap錄影App的操作，直覺式的操作沒什麼問題。</p><p>上傳專案至GitHub時出現帳號或密碼錯誤的訊息，但連上GitHub確認兩者都是正確的。問題原因在於註冊後GitHub會發出確認email，要由email確認啟用後即可上傳。</p><p>gif:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*Gq3nQR6kwTAHPARHci-u5g.gif" /></figure><p>GitHub 連結</p><p><a href="https://github.com/Philliutwn/DoLaAMon">Philliutwn/DoLaAMon</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df220930ce4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E4%BD%BF%E7%94%A8view%E6%8B%BC%E5%87%BA%E5%9C%96%E6%A1%88-%E9%8C%84%E8%A3%BDapp%E6%93%8D%E4%BD%9C%E5%BD%B1%E7%89%87%E8%BD%89%E6%88%90gif-%E4%B8%A6%E4%B8%8A%E5%82%B3%E5%B0%88%E6%A1%88%E8%87%B3github%E5%BF%83%E5%BE%97-df220930ce4">使用View拼出圖案，錄製App操作影片轉成gif，並上傳專案至GitHub心得</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[Marvel 製作Prototype App初體驗]]></title>
            <link>https://medium.com/@Phil_liu_twn/marvel-%E8%A3%BD%E4%BD%9Cprototype-app%E5%88%9D%E9%AB%94%E9%A9%97-cec613ac1a62?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cec613ac1a62</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Wed, 11 Jul 2018 13:29:53 GMT</pubDate>
            <atom:updated>2018-07-11T13:29:53.212Z</atom:updated>
            <content:encoded><![CDATA[<p>今天練習使用Marvel POP App 來製作 Prototype App，原本以為可以很快完成，沒想到實際操作後才發現真的要動手做過後才能了解其中的眉角。</p><p>在這過程中花比較多時間的是畫完樣板後找不到如何設定連結，原來是在樣板中間有個綠色的EDIT，按下後即可在畫面做連結設定。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*niPy4chozc-G18sNXrdLnw.png" /></figure><p>完成後的App:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmarvelapp.com%2F3a3de8i%3Femb%3D1%26&amp;url=https%3A%2F%2Fmarvelapp.com%2F3a3de8i%2Fscreen%2F45460804&amp;image=https%3A%2F%2Fmarvel-live.freetls.fastly.net%2Fserve%2F2018%2F7%2F846731e9cb1b43bcb0cb1e9bfc33444a.png%3Fquality%3D95%26fake%3D.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=marvelapp" width="1125" height="2460" frameborder="0" scrolling="no"><a href="https://medium.com/media/e14fe5ebc0dbe7f5a01e14f36ec98392/href">https://medium.com/media/e14fe5ebc0dbe7f5a01e14f36ec98392/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cec613ac1a62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[第一次親密接觸Swift iOS App | Phil 的自我介紹]]></title>
            <link>https://medium.com/@Phil_liu_twn/%E7%AC%AC%E4%B8%80%E6%AC%A1%E8%A6%AA%E5%AF%86%E6%8E%A5%E8%A7%B8swift-ios-app-phil-%E7%9A%84%E8%87%AA%E6%88%91%E4%BB%8B%E7%B4%B9-f2c6fe1618e3?source=rss-8a4f3feb0a6a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2c6fe1618e3</guid>
            <dc:creator><![CDATA[Phil]]></dc:creator>
            <pubDate>Tue, 10 Jul 2018 16:07:17 GMT</pubDate>
            <atom:updated>2018-07-10T16:07:17.795Z</atom:updated>
            <content:encoded><![CDATA[<p>如果我會Swift，就可以開發iOS的App。<br>但是我會Swift嗎？並沒有，所以離不開Windows的紅海。</p><p>如果我有時間自己學習Swift就能很快上手開發 iOS App。<br>我有很多時間嗎？沒有。所以我選擇彼得潘的課程，加快學習的腳步。</p><p>如果給我一天一個App的負荷，也澆不熄我對蘋果的熱情<br>一天能夠完成一個App嗎? 可以。<br>我是熱愛蘋果的 Phil。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2c6fe1618e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>