<?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 Eddie Su on Medium]]></title>
        <description><![CDATA[Stories by Eddie Su on Medium]]></description>
        <link>https://medium.com/@p64146414?source=rss-4ee11e6851e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*swfe0TCJSfhcHOSJbsih1A.jpeg</url>
            <title>Stories by Eddie Su on Medium</title>
            <link>https://medium.com/@p64146414?source=rss-4ee11e6851e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:00:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@p64146414/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[UIAlertController]]></title>
            <link>https://medium.com/@p64146414/uialertcontroller-6fd75cb0a619?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fd75cb0a619</guid>
            <category><![CDATA[uialertviewcontroller]]></category>
            <category><![CDATA[ios-apps]]></category>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Wed, 15 Mar 2017 17:25:33 GMT</pubDate>
            <atom:updated>2017-03-15T17:25:33.807Z</atom:updated>
            <content:encoded><![CDATA[<p>常在使用手機時會發現，在執行某些操作之前會跳出警告，又或是未插入sim卡之類的提示，這些都是UIAlertController可以辦到的！</p><p>條件：<br>點選第一個ViewController中的Button，傳送至另一個Viewcontroller並跳出一個Alert提示。</p><p>方法一：先present Alert後present ViewController<br>將present viewcontroller寫在UIAlertAction的handler中</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*J6JwnxXiT7qZN9Ac_BHnNQ.gif" /></figure><p>方法二：先present ViewController後present Alert<br>present viewcontroller後在present alert時由下個viewcontroller產生</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*EsTYQdKwMSbY7Z9BESjaZQ.gif" /></figure><p><a href="https://github.com/EddieSuu/UIAlertViewController.git">EddieSuu/UIAlertViewController</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fd75cb0a619" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[用 if else 述說一個動人故事]]></title>
            <link>https://medium.com/@p64146414/%E7%94%A8-if-else-%E8%BF%B0%E8%AA%AA%E4%B8%80%E5%80%8B%E5%8B%95%E4%BA%BA%E6%95%85%E4%BA%8B-fdb19436a9c5?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdb19436a9c5</guid>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Wed, 22 Feb 2017 04:47:45 GMT</pubDate>
            <atom:updated>2017-02-22T04:47:45.095Z</atom:updated>
            <content:encoded><![CDATA[<p>前幾天peter為了一件事情再煩惱，我就把它真人真事搬上作業了！</p><blockquote><strong>這是一個80000與2500的故事..........<br></strong>真人真事改編，如有雷同，就是抄襲。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*NGXTpbd5m3XAouKgwkGibQ.png" /></figure><p>這裡用了function給了兩個參數name及price，可用來改變最後一句的結果。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*rDj3_Os9cXnTLNFgH1UyAA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdb19436a9c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[電子書APP]]></title>
            <link>https://medium.com/@p64146414/%E9%9B%BB%E5%AD%90%E6%9B%B8app-e48fd73adbe8?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e48fd73adbe8</guid>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Tue, 21 Feb 2017 17:15:32 GMT</pubDate>
            <atom:updated>2017-02-22T02:01:12.286Z</atom:updated>
            <content:encoded><![CDATA[<p>但我做的不是電子書..........</p><p><strong>要求：搭配 tab bar controller，table controller，navigation controller來完成。</strong></p><p>因為本人真的不會畫畫，也沒有什麼創意，<br>這次只好抄襲APPLE網站，來完成這次作業了。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*m2WmkuoJ1bkAmyDDYFAT1w.gif" /><figcaption>apple</figcaption></figure><p>開啟APP時會有一小段類似開機畫面的東西，在<strong>LaunchScreen.storyborard</strong>裡設定的，切換到<strong>LaunchScreen.storyborard</strong>後只要在這裡的view controller放上一個image再加入圖片，就可以在開機時出現放的圖片了。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*j42BkIVzN8hTGE3mAtd-VQ.png" /></figure><p>這次除了<strong>tab bar controller，table controller，navigation controller</strong>以外，還有使用到<strong>container View</strong>來幫助我呈現畫面。</p><p><strong>待完成….</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e48fd73adbe8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Homework_5]]></title>
            <link>https://medium.com/@p64146414/homework-5-c8d3aeb10e11?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8d3aeb10e11</guid>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Tue, 21 Feb 2017 09:51:02 GMT</pubDate>
            <atom:updated>2017-02-21T09:51:02.309Z</atom:updated>
            <content:encoded><![CDATA[<p>這次因為在公司做的作業，沒有mac能用，<br>所以就使用IBM Swift Sandbox來做這次的作業。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*YkaOpAflyK7DTK-PRAt6Tw.png" /></figure><blockquote><strong>第一題</strong><br>將格子內的所有數字加總起來</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*zW3S-TCYyPJl_YFw4MuCIw.png" /><figcaption><strong>第一題</strong></figcaption></figure><blockquote><strong>第二題</strong><br>奇數行的數字總和，也就是橫的1、3、5、7行加總</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*kmTgQ6ZOUnXvPEqgLD65_A.png" /><figcaption><strong>第二題</strong></figcaption></figure><blockquote><strong>第三題</strong><br>除了列數&gt;=行數的格子，其他加總起來</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*EDgwdFm605AZmrH99A4lnQ.png" /><figcaption><strong>第三題</strong></figcaption></figure><blockquote><strong>第四題</strong><br>定義function，接受3個參數，起始值、最大值、決定數字倍數的number，只包含數字倍數的加總。</blockquote><p>Ex:起始值為3，最大值為98，決定數字倍數的number為5(只包含5的倍數)。<br>運算結果則為5+10+15....+95</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*_uUgAQ0WikIqdI8AM5Ishg.png" /><figcaption><strong>第四題</strong></figcaption></figure><blockquote><strong>第五題</strong><br>定義function，接受3個參數，起始值、最大值、決定數字倍數的number，不包含數字倍數的加總。</blockquote><p>Ex:起始值為3，最大值為11，決定數字倍數的number為5(不包含5的倍數)。<br>運算結果為3+4+6+7+8+9+11</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*DiKXdvRixe2gDYFaON4Arg.png" /><figcaption><strong>第五題</strong></figcaption></figure><blockquote><strong>第六題</strong><br>定義function，接受2個參數，分別代表行數與列數，計算奇數行格子總和。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*XBkh0E8r5_ce9uwmV06Lgg.png" /><figcaption><strong>第六題</strong></figcaption></figure><blockquote><strong>第七題</strong><br>定義function，接受2個參數，分別代表行數與列數，計算除了列數&gt;=行數的格子總和。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*P1vCJYUdJdNcjBuxfnU2Gw.png" /><figcaption><strong>第七題</strong></figcaption></figure><blockquote><strong>第八題</strong><br>定義function，接受一個參數，代表華氏溫度，轉換為攝氏溫度。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*DH_WaLnyMP3RAkhYaLoMdg.png" /><figcaption><strong>第八題</strong></figcaption></figure><blockquote><strong>輸出的答案</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*BigYU3RCMsXdT1rW_yf6Fw.png" /><figcaption><strong>輸出</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8d3aeb10e11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[研究Text Field、研究模擬器的鍵盤開合]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%A0%94%E7%A9%B6text-field-%E7%A0%94%E7%A9%B6%E6%A8%A1%E6%93%AC%E5%99%A8%E7%9A%84%E9%8D%B5%E7%9B%A4%E9%96%8B%E5%90%88-6a743edaf319?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a743edaf319</guid>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Sun, 19 Feb 2017 16:22:33 GMT</pubDate>
            <atom:updated>2017-02-20T05:05:11.040Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*NRUpRtbZWtsj4l4NXsZE1A.png" /></figure><h3>Text Field</h3><p>是一項只能輸入單行文字的元件，這次來研究這個元件可以如何應用。</p><blockquote><strong>Placeholder 佔位字符；替代字符</strong><br>功能：提示期望的信息。此欄位的文字將淡淡的顯示在text field作為提示。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dP0wZJdquh_r6Rx8aTT46Q.png" /></figure><p>拉出一個text field元件到 view controller中，點選text field元件右側屬性介面，可以看到圖中框起來的Placeholder，在裡面輸入文字即可呈現於text field中。</p><p>Ex:<br>常用於帳號、密碼、生日欄位。</p><blockquote><strong>Border Style 邊框樣式</strong><br>功能：選擇欄位編框的樣式。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Od6uVIvQp49s8h32kgyrUw.png" /></figure><p>右側屬性介面可看到Border Style 共有四種樣式可選擇，左圖有對應樣式可參考。</p><p><strong><em>由上至下<br>1.無邊界；框<br>2.細線邊框<br>3.陰影邊框；立體感<br>4.淡淡的邊框（此為</em></strong>Default<strong><em>）</em></strong></p><blockquote><strong>Toggle Software Keyboard 鍵盤開關<br></strong>功能：在模擬器開關鍵盤。快捷鍵：command + K</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ObWfz_yQBUalqiwTV9tBlQ.png" /></figure><p>開啟xcode後，按下於左上方的播放鍵開啟模擬器，若在需要輸入文字沒有跳出鍵盤，或是輸入後鍵盤未收合，皆可使用手動方式將鍵盤開啟；關閉。</p><blockquote><strong>Keyboard Type 鍵盤種類<br></strong>功能：選擇跳出的鍵盤種類。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eZLX77uWmMPvjcdMI5QtVA.png" /></figure><p>選擇在Text field欄位輸入時，鍵盤跳出的種類，主要是為了讓使用者更方便輸入。<br>像是Number pad：這只會跳出數字0~9的鍵盤。<br>而Phone pad：跳出的鍵盤也是0~9的數字以外，還包含電話會用到的<strong>+</strong>、<strong>＊</strong>、<strong>#</strong>三種符號以及Pause跟Wait。<br><strong>Pause = ,<br>Wait = ;</strong></p><blockquote><strong>Apperance<br></strong>功能：選擇鍵盤的顏色。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rk6R5Y0iJgzYDBqCl4d40Q.png" /></figure><p>Apperance共分為三種選擇，Default、Dark、Light，目前我測試Default跟Light是一樣的，可能跟某個設定有關，Default會隨著改變，那Dark跟Light的樣式就在圖片中了。</p><blockquote><strong>Secure Text Entry 安全輸入</strong><br>功能：在輸入資料時，將輸入的資料都用・・・・代替。常用於密碼欄位！</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HfEAJ5YKoaPdRNb_NK5Ucg.png" /></figure><p>如圖中所示，使輸入的文字都隱藏，用其它字元代替，在輸入密碼時常見到此功能。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a743edaf319" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%A0%94%E7%A9%B6text-field-%E7%A0%94%E7%A9%B6%E6%A8%A1%E6%93%AC%E5%99%A8%E7%9A%84%E9%8D%B5%E7%9B%A4%E9%96%8B%E5%90%88-6a743edaf319">研究Text Field、研究模擬器的鍵盤開合</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[研究Text View]]></title>
            <link>https://medium.com/@p64146414/%E7%A0%94%E7%A9%B6text-view-b94e58f2702c?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b94e58f2702c</guid>
            <category><![CDATA[ios-apps]]></category>
            <category><![CDATA[textview]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Wed, 15 Feb 2017 14:47:05 GMT</pubDate>
            <atom:updated>2017-03-10T10:09:24.533Z</atom:updated>
            <content:encoded><![CDATA[<p>多行文字的Text View，不只是文字！而且用途多多。</p><blockquote>打電話=&gt;打上電話號碼，點擊會跳出撥號畫面。<br>連結網頁=&gt;打上網址，點擊會開啟瀏覽器，並前往該網站。<br>地圖開啟=&gt;打上地址，點擊會開啟地圖並搜尋該地址。</blockquote><p>這裡就先看看範例摟～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*dcC-w2-enkoancRGCs5-gQ.gif" /></figure><p>作法：</p><blockquote>拉出一個text view後，在裡面分別輸入電話、網址、地址。<br><strong>地址的部分如果是要打台灣地址，必須把地區設成台灣喔。</strong></blockquote><p>更改地區settings&gt;General&gt;Language&amp;Region&gt;Region 改為台灣</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cwPFfEvH2zeWoonvMQjkiQ.png" /></figure><blockquote>重要的一點！！！ Behavior的地方 Editable&quot;不要打勾&quot;，Selectable&quot;要打勾&quot;<br>註：Editable是變成可編輯的文本喔！</blockquote><p>Deta Detectors 勾選設定檢查內容，把我們有輸入要檢查的資訊打勾，<br>分別是Phone Numbr、Link、Address，這樣操作時就可以點擊了。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b94e58f2702c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Eddie第一次親密接觸的 iOS App]]></title>
            <link>https://medium.com/@p64146414/eddie%E7%AC%AC%E4%B8%80%E6%AC%A1%E8%A6%AA%E5%AF%86%E6%8E%A5%E8%A7%B8%E7%9A%84-ios-app-50a0e9e4bf4b?source=rss-4ee11e6851e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/50a0e9e4bf4b</guid>
            <dc:creator><![CDATA[Eddie Su]]></dc:creator>
            <pubDate>Wed, 08 Feb 2017 12:52:44 GMT</pubDate>
            <atom:updated>2017-02-08T12:52:44.496Z</atom:updated>
            <content:encoded><![CDATA[<p>如果我有時光機，就可以肆無忌憚的做想做的事，再回到從前。<br>我有時光機嗎？沒有，所以我要思考要走的每一步。<br>因此選擇了<strong>彼得班的IOS App課程</strong>…</p><p>如果我是天才，就可以自學swift成為頂尖工程師。<br>我是天才嗎？不是，所以我必須更努力的來達成目的。<br>因此又多了一個選擇<strong>彼得潘的IOS App課程</strong>的理由…</p><p>如果給我一天一個App的負荷，我澆不息我對coding的熱忱。<br>一天能完成一個App嗎？可以！<br>所以，<strong>我是想學好swift的Eddie</strong>。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*rgbjHqV9vMcHT2IeV-tlkg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50a0e9e4bf4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>