<?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 Sunny Choong on Medium]]></title>
        <description><![CDATA[Stories by Sunny Choong on Medium]]></description>
        <link>https://medium.com/@rainchoong?source=rss-4f2f48e591fb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LU0oSThPfkyA0MUlhw0FaQ.jpeg</url>
            <title>Stories by Sunny Choong on Medium</title>
            <link>https://medium.com/@rainchoong?source=rss-4f2f48e591fb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 23:26:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rainchoong/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[iOS App 程式系列 # BullsCows]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/ios-app-%E7%A8%8B%E5%BC%8F%E7%B3%BB%E5%88%97-bullscows-e67630c00a93?source=rss-4f2f48e591fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e67630c00a93</guid>
            <dc:creator><![CDATA[Sunny Choong]]></dc:creator>
            <pubDate>Sun, 09 Sep 2018 06:31:06 GMT</pubDate>
            <atom:updated>2018-09-09T07:03:13.205Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*VVDA8U7F4y5ja8iN08YnKw.png" /></figure><p>Code-breaking mind games/1A2B</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*e9Im0ffljfUCKzatxuKPRQ.gif" /></figure><p>相信大家都知道可能有聽過 1A2B，它是一個猜數字的小遊戲，而「Bulls and Cows」 其實就是 1A2B 的別名。想說利用「Bulls and Cows」比較有畫面而且動物很可愛，遊戲基本上的規則就是猜 4 個不同的數字，然後根據 “Bulls” 和 “Cows” 的線索去猜測 4 個數字， “Bulls” 代表數字在對的位置；而 “Cows” 則代表數字在錯的位置，進而去推斷密碼。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gAXQdGjysmfddzG-xMS99Q.png" /></figure><p>了解「Bulls and Cows」的基本規則以後就可以開始製作 App 嘍！基本上就只有 5 個畫面，從左邊第 1 張就是 LaunchScreen，只會出現 3 秒的頁面，其實就是廢廢的頁面，再來就是第 2 頁是首頁，只有兩個按鈕一個是 “START” 開始遊戲，另一個是 “i” 解說遊戲，都是利用Button 再用 segue 連至指定的頁面。第 3 頁則是「Bulls and Cows」的基本解說，看完解說及可以進入遊戲頁面啦，重點的程式都著重在這頁和最後結果的頁面。以下的解說就是針對最後兩個頁面進行說明。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*h6Mt00KSxuN1kY4okkRpFQ.png" /></figure><p>從以上的遊戲畫面中，分別使用了 5 個 UIKit 的元件，包括文字標籤 UILabel 、 輸入多行文字 UITextView 以及最常用到的按鈕 UIButton，分別設定 TimeLabel、ChanceLabel 、InputLabel 和 R esultTextView 為 IBOutlet 輸出口，另外將 NumbeButtons 在 ViewDidLoad 下拉為 IBAction 操作口。完成元件設定後，即可以開始進入程式的部分。</p><p>首先，遊戲頁面的流程基本是從點擊 “START” 後，遊戲頁面跳出後時間開始計算，在輸入 4 個數字後點擊 “OK”，ResultTextView就會出現輸入的數字+ “Bulls” + “Cows” 的結果，而且每次點擊 “OK” 左上角的機會次數就會減少 1 個直到答對或沒有機會為止。以下就是每個動作的仔細解說：</p><ol><li><strong>設定時間：</strong></li></ol><ul><li>畫面點擊 “START” 後，進入遊戲頁面，並開始計時。</li><li>利用 scheduledTimer 類別設定時間。</li><li>主要的參數包括 timeInterval =每間隔幾秒執行一次、self =執行的對象、selector = 執行哪一個 func、userInfo = 傳入nil即可以及repeats =是否重複執行。</li></ul><pre><em>//設定時間</em></pre><pre><strong>func</strong> timerStart(){</pre><pre>timer = Timer.scheduledTimer(timeInterval: 1, target: <strong>self</strong>, selector: <strong>#selector</strong>(<strong>self</strong>.updateTime), userInfo: <strong>nil</strong>, repeats: <strong>true</strong>)</pre><pre>}</pre><pre><strong>@objc</strong> <strong>func</strong> updateTime(){</pre><pre>totalTime += 1<br>timeLabel.text = String(totalTime/60) + &quot;:&quot; + String(format:&quot;%02d&quot;, totalTime%60)</pre><pre>}</pre><p><strong>2. 設定遊戲規則</strong></p><ul><li>「Bulls and Cows」遊戲中最主要就是猜測數字，遊戲開始時每一回合都需要產生亂數 (randon number) 才能開始遊戲，所以首先需要知道如何產生亂數。</li><li>產生亂數的指令如下：<strong>arc4random_uniform</strong>函數求一個0~9的隨機數，而它只能接受 UInt32 類型的參數。</li></ul><pre><em>//設定遊戲規則</em></pre><pre><strong>func</strong> initial(){</pre><pre><strong>var</strong> nums = Array(0...9)<br><strong>for</strong> i <strong>in</strong> 0...3 {<br><strong>let</strong> index = Int(arc4random_uniform(UInt32(nums.count)))<br>answer[i] = nums[index]<br>nums.remove(at: index)</pre><pre> } <strong>while</strong> !input.isEmpty {</pre><pre><strong>let</strong> letter = input.popLast() //popLast 返回 nil<br>numberButtons[letter!].isEnabled = <strong>true<br>let</strong> index = inputLabel.text?.index(inputLabel.text!.startIndex,   <br>offsetBy: input.count*3) <br>//startIndex 第一个字符的位置<br><em>//offsetBy 偏移量，可以是正数或者负數<br><br></em>inputLabel.text?.remove(at: index!)<br>inputLabel.text?.insert(&quot;＿&quot;, at: index!)</pre><pre> }<br>}</pre><p><strong>3. 設定警告⚠️提示框</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*LylMoTOUCtpIF7m33uECWQ.png" /><figcaption>請忽略錯字</figcaption></figure><ul><li>遊戲當中，如果沒有輸入 4 個數字，再按 “OK” 系統可能會壞掉。因此可以使用 <strong>UIAlertController</strong>，產生警告提示框。</li><li>創建的步驟首先是需要創建 UIAlertController，指定警報控制器樣式。這裡的 preferredStyle: 參數有UIAlertControllerStyleAlert 和 UIAlertControllerStyleActionSheet 兩種，這裡我們要創建的是 Alert View，所以使用第一種。</li><li>再來就是向警告提示框添加按鈕，最後再顯示 UIAlertController。</li></ul><pre><strong>//</strong>創建 UIAlertController<br><strong>let</strong> optionMenu = UIAlertController(title: <strong>nil</strong>, message: &quot;Please insert 4 differnt digits&quot;, preferredStyle: .alert)</pre><pre>//添加按鈕<br><strong>let</strong> cancelAction = UIAlertAction(title: &quot;Comfirm&quot;, style: .cancel, handler: <strong>nil</strong>)</pre><pre>optionMenu.addAction(cancelAction)</pre><pre>//顯示 UIAlertController<br>present(optionMenu, animated: <strong>true</strong>, completion: <strong>nil</strong>)</pre><p><strong>4. TextView 出現結果</strong></p><ul><li>結果 UITextView 拉出 IBOutlet 以後，在輸入 4 個數字以後，點擊 “OK” 後在 TextView 出現結果。</li><li>利用 「\()」 來輸出變量，主要是可以在 String 中插入值的方法，再利用 Swift 文字型字面量的特殊符號，如水平 Tab （Horizontal Tab） 「\t」 以及換行（Line Feed）「\n」</li><li>最後再用用 <strong>scrollRangeToVisible</strong> 函數進行滾動，可以跳動到最後一行內容上。</li></ul><pre>//設定TextView的Outlet</pre><pre><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> resultRecord: UITextView!</pre><pre>//ViewDidLoad下產生，點擊“OK”後在TextView出現</pre><pre>resultRecord.text! += &quot;\(input[0])\(input[1])\(input[2])\(input[3])\t\t\(acount)\t\t\t\(bcount)\n&quot;</pre><pre>resultRecord.font = UIFont.systemFont(ofSize: 25)</pre><pre>resultRecord.scrollRangeToVisible(NSMakeRange(resultRecord.text.characters.count-1, 0))</pre><p><strong>5. 機會等於0時，轉移至成績頁面</strong></p><ul><li>機會的 UILabel 拉出 IBOutlet 以後，在輸入 4 個數字以後，點擊 “OK” 後 10 個機會中就會減少一個，知道等於 0 以後，跳至結果頁面，並出現正確的答案。</li><li>因為換至下一頁沒有特定的按鈕，而是依機會數目的條件作為進入下一頁的條件，因此沒有辦法以建立 Segue 的方法進入下一頁，因此可以使用 <strong>instantiateViewController</strong> 建立 controller。</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*PJAj2QD69QOEwf7TWU-DzA.png" /></figure><ul><li>利用 instantiateViewController 建立 Controller，主要分為兩個步驟， 第一<strong>設定 Storyboard ID。</strong>在 Storyboard 點選該畫面的 View Controller，則可在 Show The Identity Inspector 內的Inspector設定 Storyboard ID。第二從程式產生 Storyboard 上的 Controller，利用 <strong>storyboard?.instantiateViewController() </strong>產生 Controller。</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*Ze630YgUDoeCY61_L7Ll2A.png" /><figcaption><strong>設定Storyboard ID</strong></figcaption></figure><pre>//設定Chance的Outlet</pre><pre><strong>var</strong> chance = 10<br><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> chanceLabel: UILabel!</pre><pre>//ViewDidLoad下產生，點擊“OK”後Chance -1</pre><pre>chance -= 1<br>chanceLabel.text = &quot;\(chance)&quot;</pre><pre><strong>if</strong> chance == 0 {</pre><pre>timer.invalidate()<br>over = <strong>true<br></strong>addRecord(win: <strong>false</strong>, time: totalTime)<br><strong>let</strong> controller = <strong>self</strong>.storyboard?.instantiateViewController(withIdentifier: &quot;ResultViewController&quot;) <strong>as</strong>! ResultViewController<br>controller.win = <strong>false<br></strong>controller.time = totalTime<br>controller.answer = <strong>self</strong>.answer<br><strong>self</strong>.present(controller, animated: <strong>false</strong>, completion: <strong>nil</strong>)</pre><pre>}</pre><p><strong>6. 遊戲成績顯示</strong></p><ul><li>跳至成績頁面後，如果贏了會產生 “win” 的圖片和所需的時間，輸了則會產生 “lose” 的圖片，並且在 resultLabel 中出現正確的答案。</li></ul><pre><strong>class</strong> ResultViewController: UIViewController {</pre><pre><strong>var</strong> win:Bool?<br><strong>var</strong> time:Int?<br><strong>var</strong> answer:[Int]?<br><strong>var</strong> resultRecord:String?</pre><pre><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> resultImage: UIImageView!<br><strong>@IBOutlet</strong> <strong>weak</strong> <strong>var</strong> resultLabel: UITextView!</pre><pre><strong>override</strong> <strong>func</strong> viewDidLoad() {<br><strong>super</strong>.viewDidLoad()</pre><pre><strong>if</strong> win! == <strong>true</strong> {</pre><pre>resultImage.image = UIImage(named: &quot;win&quot;)<br>resultLabel.text = &quot;Time：&quot; + String(time!/60) + &quot;:&quot; + String(format: &quot;%02d&quot;, time!%60) </pre><pre>}</pre><pre><strong>else</strong> {</pre><pre>resultImage.image = UIImage(named: &quot;lose&quot;)<br>resultLabel.text = &quot;Correct Answer:\n\(answer![0])\(answer![1])\(answer![2])\(answer![3])&quot;</pre><pre>}</pre><p>以上為總結，當然參考了許多前輩的資料，還有很多需要學習，有興趣可以下載玩一玩，以下為 Github 網址：</p><p><a href="https://github.com/yeechingchoong/BullsCows">yeechingchoong/BullsCows</a></p><p>參考資料：</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/1a2b-9f499e15c5f6">1A2B</a></p><blockquote>Here’s Come iOS App Newbie.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e67630c00a93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/ios-app-%E7%A8%8B%E5%BC%8F%E7%B3%BB%E5%88%97-bullscows-e67630c00a93">iOS App 程式系列 # BullsCows</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[iOS App 程式系列 #1 BoogieBot]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/ios-app-%E7%A8%8B%E5%BC%8F%E7%B3%BB%E5%88%97-1-boogiebot-bd5a81ba90c8?source=rss-4f2f48e591fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd5a81ba90c8</guid>
            <dc:creator><![CDATA[Sunny Choong]]></dc:creator>
            <pubDate>Sat, 18 Aug 2018 04:55:55 GMT</pubDate>
            <atom:updated>2018-08-18T05:23:59.710Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6DXvv6_Xu8E%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6DXvv6_Xu8E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6DXvv6_Xu8E%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/7992196e121a193eaa289aac08ffe0b3/href">https://medium.com/media/7992196e121a193eaa289aac08ffe0b3/href</a></iframe><h3>iOS App 程式系列 #1 BoogieBot</h3><p>Create a Dancing Robot by existing function: BoogieBot</p><p>學習寫程式之前，首先就是要看別人怎麼寫、模仿別人，待熟悉了以後再一步一步慢慢自己寫程式。標題 BoogieBot 其實就是要做一個跳舞機器人。程式菜鳥什麼都不會寫沒關係，那就利用別人寫好的程式開始，再慢慢進入程式的世界。</p><p>首先可以下載教學手冊，根據裡頭的步驟一步步製作機器人：</p><p><a href="https://www.dropbox.com/sh/oi6b8vp6q39hrgd/AADmrAXrJGjNX82KvjV82jIoa?dl=0">07_BoogieBot.playground</a></p><p>教學手冊中有三個新手需要知道的單字，包括 Live views、API 和 Algorithm 。Live views 是 playground 的功能之一，可讓你查看工作的即時更新，並且能夠播放動畫。API （Application Programming Interface）是一組特定功能，可以在特定編碼區域中使用的 function。 比如 BoogieBot API 是製作機器人舞蹈的 function。另外，Algorithm 則是代表一系列的操作步驟。</p><p>接下來先播放音樂來欣賞機器人的夜店舞步吧，去夜店學起來：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*Ln7xWyqSI40ZLbZzttcRUg.gif" /><figcaption>BoogieBot</figcaption></figure><p>以下是機器人的舞步：</p><pre>startBot()</pre><pre>startRecording()</pre><pre>setBotTitle(&quot;Havana&quot;) //上標</pre><pre>setBotSubtitle(&quot;By Rennen Choong&quot;) //下標</pre><pre><strong>func</strong> HavanaShake() { //function 的名字是 &quot;HavanaShake&quot;</pre><pre>defabulize()</pre><pre>fabulize()</pre><pre>shakeItLeft()</pre><pre>shakeItCenter()</pre><pre>shakeItLeft()</pre><pre>shakeItCenter()</pre><pre>shakeItLeft()</pre><pre>shakeItCenter()</pre><pre>shakeItLeft()</pre><pre>shakeItCenter()</pre><pre>shakeItLeft()</pre><pre>shakeItCenter()</pre><pre>shakeItRight()</pre><pre>shakeItCenter()</pre><pre>shakeItRight()</pre><pre>shakeItCenter()</pre><pre>shakeItRight()</pre><pre>shakeItCenter()</pre><pre>shakeItRight()</pre><pre>shakeItCenter()</pre><pre>shakeItRight()</pre><pre>shakeItCenter()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>leftLegUp()</pre><pre>rightArmUp()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>rightLegUp()</pre><pre>leftArmUp()</pre><pre>rightLegDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>rightLegUp()</pre><pre>leftLegDown()</pre><pre>rightArmDown()</pre><pre>leftArmDown()</pre><pre>rightArmUp()</pre><pre>leftArmUp()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>jumpUp()</pre><pre>jumpDown()</pre><pre>rightLegDown()</pre><pre>leftLegDown()</pre><pre>rightArmDown()</pre><pre>leftArmDown()</pre><pre>defabulize()</pre><pre>}</pre><pre>HavanaShake() //呼叫function</pre><p>相關教學連結：</p><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/%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></li><li><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></li></ul><blockquote><em>Here’s come iOS App Newbie</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd5a81ba90c8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/ios-app-%E7%A8%8B%E5%BC%8F%E7%B3%BB%E5%88%97-1-boogiebot-bd5a81ba90c8">iOS App 程式系列 #1 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[iOS App 菜鳥系列 #2 Prototype App]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/ios-app-%E8%8F%9C%E9%B3%A5%E7%B3%BB%E5%88%97-2-prototype-app-221cc559a54e?source=rss-4f2f48e591fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/221cc559a54e</guid>
            <dc:creator><![CDATA[Sunny Choong]]></dc:creator>
            <pubDate>Fri, 10 Aug 2018 14:18:23 GMT</pubDate>
            <atom:updated>2018-08-10T14:18:23.925Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OJqWCJZtQeM_Hsyo-GZB6g.png" /><figcaption>POP by Marvel （<a href="https://marvelapp.com/pop/">https://marvelapp.com/pop/</a>）</figcaption></figure><p>Create a Prototype App by POP Marvel</p><blockquote>「午休下班下課時間到了，你是否又在煩惱要吃什麼？每天都吃一樣的，沒有新意？」</blockquote><p>以上幾乎是每天都要思考的問題。<br>平常也沒有常用的美食 App，所以好奇有沒有好用的美食 App<br>因此，本人無聊就想要簡單開發一個美食 App，開拓我對美食的視野。</p><p>要做美食 App，首先當然就要偷抄別人是怎麼做的呀！其實市面上有很多美食 App，優秀且也蠻好用的，像是 「食在方便」 、「MENU」 、「街口」 、「愛料理」 還有 「空腹熊貓」等等的。每一個 App 都有他們厲害的地方，像「愛料理」就是給我這種這種只會煮泡麵的廚娘設計的啊，不然會嫁不出去啊！完全就是現在臺灣兒童人口減少的救星。</p><p>建立美食 App 之前就是要先有一個雛形，我這個沒有畫畫天份的人，完美利用了網路的資源，將東西東湊西湊把它給拼湊起來。它，叫「PIG」，為什麼叫 pig 呢？那是因為人跟豬 🐷 差別不大啊，同是愛吃愛喝愛睡。而且 pig 是 pick 的諧音，每天想著要吃什麼要選什麼，所以叫「PIG」 剛剛好。</p><p>做任何事情都要有一個藍圖，建立 App 也是，而「POP」就是設計 App 藍圖的好工具啊！「POP」 是由 Marvel 開發的 ，可以在手機下載 App 或在網路上（<a href="https://marvelapp.com/pop/">https://marvelapp.com/pop/</a>）使用，使用上也簡單順暢，最適合我這種菜鳥。「POP」 可以將我們構思的 App 畫面簡單完美的呈現出來，首先將你構思的畫面畫下來或拍下來，在畫面中加上按鈕並連結到你想要的畫面，最後按播放後你想要的 App 就出現嘍！</p><p>以下是「PIG」的雛形，首先是把餐廳美食進行分類分為早、午、晚餐等，點擊早餐後，餐廳會根據距離進行排序。點擊照片以後會有餐廳的相關照片，還有點擊位置後會出現地圖等，簡單的資訊，當然還有很多想法，但是因為還是菜鳥很多想法都沒辦法實現，相信不遠的未來我就是 iOS App 老鳥啊！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*mcws6VyOzypjGpoBASOEJg.gif" /><figcaption>PIG</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmarvelapp.com%2F9b9ff9h%3Femb%3D1%26&amp;url=https%3A%2F%2Fmarvelapp.com%2F9b9ff9h&amp;image=https%3A%2F%2Fmarvel-live.freetls.fastly.net%2Fserve%2F2018%2F8%2Fcdf638e892724776a0dd8e38f8c2d7aa.jpg%3Fquality%3D95%26fake%3D.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=marvelapp" width="452" height="925" frameborder="0" scrolling="no"><a href="https://medium.com/media/34e62779d1a6bb8d676917e1cf73bf76/href">https://medium.com/media/34e62779d1a6bb8d676917e1cf73bf76/href</a></iframe><blockquote><em>Here’s come iOS App Newbie.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=221cc559a54e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/ios-app-%E8%8F%9C%E9%B3%A5%E7%B3%BB%E5%88%97-2-prototype-app-221cc559a54e">iOS App 菜鳥系列 #2 Prototype 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[iOS App 菜鳥系列 #1 GIF Recording]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/ios-app-newbie-lesson-1-e7c0f1adbce0?source=rss-4f2f48e591fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7c0f1adbce0</guid>
            <dc:creator><![CDATA[Sunny Choong]]></dc:creator>
            <pubDate>Thu, 26 Jul 2018 15:28:27 GMT</pubDate>
            <atom:updated>2018-08-17T09:31:09.783Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vOrEVaWyTLT5HGj24qzsDg.png" /><figcaption>LICEcap</figcaption></figure><p>GIF Recording / Perform Github &amp; Medium</p><h3><strong>GIF </strong>Recording<strong>: LICEcap</strong></h3><p>這次簡單模仿了 iPhone 開機的畫面，再用LICEcap (<a href="https://www.cockos.com/licecap/">https://www.cockos.com/licecap/</a>) 錄製GIF。其實Mac 裡面有可以錄製的內建，但是說實話都不太容易使用，對我來說比較複雜，久久沒用就會都忘了怎麼操作。所以選擇了 LICEcap 來錄製GIF，操作方便簡單易懂，是值得佔用我電腦位置的工具啊！<br>以下為相關教學的連結：</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/%E9%8C%84%E8%A3%BD%E5%88%86%E4%BA%AB%E7%B2%BE%E9%87%87%E7%9A%84ios-app%E6%93%8D%E4%BD%9C%E5%BD%B1%E7%89%87%E5%92%8Cgif-ffae55ffdbe1">錄製分享精采的 iOS App 操作影片</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*C2ttbP94NXAdUXfa_SaTdg.gif" /><figcaption>Hello</figcaption></figure><h3><strong>Perform Github and Medium</strong></h3><p>每次要上傳 Github 都會忘記到底怎麼做，所以要認真記下來。</p><ol><li>點選 Xcode menu 上的 Source Control &gt; Commit</li><li>在下方的區塊描述此次版本所做的修改，比方如圖所示的 change background color。輸入文字後，才能點選右下角的 commit 按鈕做記錄。</li><li>切換到左邊 navigator 區塊的 Source Control navigator 頁面。(左邊數來第二個 icon )</li><li>點選藍色的專案 icon 檔後，從右鍵選單點選 Creaet xxx Remote。</li><li>設定 Account 欄位，輸入自己的 GitHub 帳號。</li><li>其它欄位不用修改，點選右下角的 Create 按鈕即可將整個 Xcode 專案上傳到 GitHub。</li><li>點選藍色的專案 icon 檔後，從右鍵選單點選 View on GitHub，打開專案的 GitHub 網頁。</li><li>瀏覽器上的網址，即為專案的網址。</li><li>以下為相關教學的連結：</li></ol><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%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E5%A6%82%E4%BD%95%E5%B0%87-ios-app-%E4%BD%9C%E6%A5%AD%E4%B8%8A%E5%82%B3%E5%88%B0-github-135416069dfd">如何將 iOS App 作業上傳到 GitHub</a></li><li><a href="https://github.com/yeechingchoong/Hello">yeechingchoong/Hello</a></li></ul><blockquote>Here’s come iOS App Newbie.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7c0f1adbce0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/ios-app-newbie-lesson-1-e7c0f1adbce0">iOS App 菜鳥系列 #1 GIF Recording</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[Never Have I Ever: The First Touch of iOS App]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/never-have-i-ever-the-first-touch-of-ios-app-b80043d45cdc?source=rss-4f2f48e591fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/b80043d45cdc</guid>
            <dc:creator><![CDATA[Sunny Choong]]></dc:creator>
            <pubDate>Thu, 26 Jul 2018 09:49:43 GMT</pubDate>
            <atom:updated>2018-08-17T09:29:05.765Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QIPUGNDOZoyOC_uWXWG5Yw.jpeg" /></figure><p>My Introduction</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*IUjWntosVacqz0UGa25gpA.jpeg" /></figure><p>如果我是作家 J. K. Rowling ，<br>那我可能會有各種天馬行空的想法，完美的寫作能力。<br>我有嗎？搞不好有，只是沒遇見伯樂。<br>沒關係，寫寫 Medium 部落格，練練寫作。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BYdQVM6Nt_CocyfPp0UxZQ.jpeg" /></figure><p>如果我是 Mark Zuckerberg，<br>那我可能會面臨各種個資鳥問題。<br>但是我有嗎？幸好我沒有。<br>學學 Swift 也不會有。<br>所以 Swift 我來啦～</p><blockquote><strong><em>Here’s come iOS App newbie.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b80043d45cdc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/never-have-i-ever-the-first-touch-of-ios-app-b80043d45cdc">Never Have I Ever: The First Touch of iOS 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>
    </channel>
</rss>