<?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 Kelly on Medium]]></title>
        <description><![CDATA[Stories by Kelly on Medium]]></description>
        <link>https://medium.com/@hi54kelly?source=rss-71905d838fcb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GyDRbxStOIF54A3Hi67woA@2x.jpeg</url>
            <title>Stories by Kelly on Medium</title>
            <link>https://medium.com/@hi54kelly?source=rss-71905d838fcb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 16:50:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hi54kelly/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[練習：模仿APP畫面+AutoLayout]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%B7%B4%E7%BF%92-%E6%A8%A1%E4%BB%BFapp%E7%95%AB%E9%9D%A2-autolayout-eef54db9fa04?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/eef54db9fa04</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sun, 21 Apr 2019 09:06:42 GMT</pubDate>
            <atom:updated>2019-04-21T09:09:28.151Z</atom:updated>
            <content:encoded><![CDATA[<p>首先<br>參考彼得潘<a href="https://bit.ly/2V5mS2n">「如何模仿製作現成的 iOS App 畫面文章」</a>，</p><p>｜第一個遇到的問題：下載sketch檔案打開後跑版</p><p>其實<a href="https://bit.ly/2YFleqH">彼得潘文章</a>裡已經有說要下載安裝SFUI...的字型，但是我安裝完還是一直跑版，裝了三種版本都不行，最後發現是名稱的問題，如果缺少的字型名稱是abc-Text，但安裝的字型名稱是「abcText」，系統就無法辨識，所以會一直出現錯誤訊息，最後只能手動把缺少字型指定到新安裝的字型。</p><p>｜第二個遇到的問題：模擬器鬼遮眼</p><p>我下載的sketch檔案適用iphone8尺寸，但是很詭異的是模擬器iphone8+可以正常跑畫面，iphone8怎麼樣都是無畫面，重跑很多次都一樣，最後是把xcode和模擬器都關閉重開才解決。</p><p>進入正題，這次練習主要抄襲別人的APP畫面，順便練習AutoLayout<br>我東看西看，好像計算機最簡單（超懶的媽媽👀）</p><h3><strong>第一步：把底圖抄一抄</strong></h3><p>基本上就是用Label導圓角＋改底色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*17viKgnFj4PG6G27qpD6XQ.png" /></figure><h3>第二步：填上字</h3><p>（好像有那麼回事了喔？😗）記得～～要用客製化字型需要把字型檔拉近專案中並且做好連結喔（詳情參考<a href="https://bit.ly/2E7hAu0">彼得潘文章</a>）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*1rO8G3wjt9lmnJE_mnIZZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*gAKCfUdi4John-iOXRRQCw.png" /><figcaption>字型檔拉近專案後會跳出這個視窗，記得兩個勾要打</figcaption></figure><h3>第三步：畫圖（加上圖案）</h3><p>上面的圖案有些空白對吧？因為是綜合圖案要另外自己畫的（蛤？自己畫，那下載sketch做什麼😜）但下載sketch檔案中的圖案如何匯入xcode就又要參考<a href="https://bit.ly/2HOLlGj">彼得潘文章</a>囉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*QGIpdqOp1KNIVttusWhAlA.png" /><figcaption>以除號為例，其實是一個長方形加上兩個圓形，勤快的自己畫，偷懶的就拿現成的</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*xS0Ad1s0PvXR965ymDH-9w.png" /><figcaption>很像了吧</figcaption></figure><h3>第四步：加上AutoLayout的條件</h3><p>重頭戲來了！<br>一般來說，螢幕尺寸變大，可以顯示更多東西（所以元件尺寸應該維持）<br>但計算機這東西，沒有更多東西顯示啊，所以應該是元件尺寸會變大，也就是說，設定條件中是不能包括元件尺寸</p><p>錯誤的第一次～<br>我想起stack view可以快速處理autolayout, 很興奮地把元件們選起來然後加入stack view</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*kKC5hLjAre1dUK9YwCldgA.png" /></figure><p>然後就出現悲劇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*uncziCJrtE7EDC-KF1IQHw.png" /></figure><p>看來此路不通，沒關係再試試另一條路<br>這次我嘗試把符號們加入stack view<br>又是悲劇！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*kiFdhj2jyL6IqAkiNpi8uA.png" /><figcaption>符號加入stack view後就跑版了</figcaption></figure><p>好不容易嘗試到可以跑出正常畫面，卻發現尺寸調整後畫面就消失了<br>怎麼改都沒用只好呼救彼得潘大人，彼得光看無解，要我寄檔案給他<br>人太好燃起我的意志力（非不得已不要麻煩人啊）<br>原本我每個按鈕背景是用Label做的，後來改成view就可以在不同螢幕尺寸上正常顯示</p><p>好了，以為雨過天晴，結果發現圓角在螢幕放大後無法跟隨放大</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*ve3B4vwFst9B1kU_NqIKRw.png" /></figure><p>解方：請參考彼得潘的「<a href="https://bit.ly/2UFt7dq">AutoLayout 的元件何時導圓角</a>」</p><p>經過無數個杯具，最後作弊似乎成功了</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*wq8FpexnVbNmBmYLMeob0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*SlqeIUJC-IK0VqbRFnPD-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*wIc5FYAO2XmbduYEb-0U6A.png" /></figure><p>何謂作弊呢？<br>因為view並不是正方形，如果圓角使用midX，那按鍵「0」的圓角會變形，按鍵「0」要用midY看起來才正常<br>所以要有兩種圓角方式喔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*OgB3wachvVXR2A5Picl3JQ.png" /></figure><p><a href="https://github.com/ipeacedesign/AutoLayout_calculator">Gilthub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eef54db9fa04" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%B7%B4%E7%BF%92-%E6%A8%A1%E4%BB%BFapp%E7%95%AB%E9%9D%A2-autolayout-eef54db9fa04">練習：模仿APP畫面+AutoLayout</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[元件：輸入單行文字的 UITextField]]></title>
            <link>https://medium.com/@hi54kelly/%E5%85%83%E4%BB%B6-%E8%BC%B8%E5%85%A5%E5%96%AE%E8%A1%8C%E6%96%87%E5%AD%97%E7%9A%84-uitextfield-2c8cef030bf5?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c8cef030bf5</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sun, 21 Apr 2019 07:06:20 GMT</pubDate>
            <atom:updated>2019-04-21T07:06:20.580Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*yl9TUfI0CqfnglAHuvOLpQ.png" /></figure><p>🔵Placeholder：放置提示文字，使用者輸入文字時會自動消失</p><p>🔵Clear Button：全部清除鍵，可設定四種出現狀態</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/88/1*Afkb7qxOuaaZyOm9ojndAw.png" /><figcaption>按下右邊叉叉可以把輸入文字一次清除</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*Bgv821ccsqyzgsFJ_y6-eQ.png" /></figure><p>Never appears: 永不顯示<br>Appears while editing: 編輯時會出現<br>Appears unless editing: 不編輯才會出現<br>Is Always Visible: 一直顯示<br>下方的◽️Clean while editing begin: 當編輯時，清除之前的文字</p><p>🔵 Min Font Size &amp; Adjust to Fit<br>設定最小文字尺寸，<br>如果勾選Adjust to Fit，文字會隨著內容增加而縮小（但不會小於設定的尺寸）</p><p>🔵 Content Type：設定內容類型，可方便使用者選擇自動完成的內容</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*JuKJy5RELTjrgK2B_0ozkw.png" /></figure><p>🔵 Capitalization：每個單字字首大寫、每一句開頭大寫、每個字母大寫</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/1*bAG0i7brTA2Ngpww6RzERg.png" /></figure><p>🔵 Keyboard Type：可設定鍵盤的類型</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*eMoiS2uewN2R7CeZJ2nh5A.png" /></figure><p>🔵 Keyboard Look：設定鍵盤外觀深色或淺色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*S01y6l_oZIIPPVzSYpUX_w.png" /></figure><p>🔵 Return Key：設定回復鍵（鍵盤enter鍵）顯示的文字</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*Qwszqc3TNNa-0ptiW8ee0Q.png" /></figure><p>🔵 Auto-enable Return Key：有文字就會自動開啟回復鍵</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/1*lu4mbuh2Y0GuQw7G5j_gHQ.png" /></figure><p>🔵 Secure Text Entry：將輸入的文字遮住</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c8cef030bf5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[練習：更換背景＆調色]]></title>
            <link>https://medium.com/@hi54kelly/%E7%B7%B4%E7%BF%92-%E6%9B%B4%E6%8F%9B%E8%83%8C%E6%99%AF-%E8%AA%BF%E8%89%B2-65b852f96f6e?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/65b852f96f6e</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sat, 20 Apr 2019 16:40:00 GMT</pubDate>
            <atom:updated>2019-04-20T16:40:00.262Z</atom:updated>
            <content:encoded><![CDATA[<p>數不清的時數以及鬼打牆的除不出錯<br>就在我想砍掉重練之際，提起勇氣還是先問了彼得潘<br>結果就是一個很基本又很關鍵的檢查（回story board檢查所有連線）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*qfUQtYf2Bcb9DeAWDJIkxQ.png" /><figcaption>可怕的閃退！卻找不到問題</figcaption></figure><p>從程式看好像都沒有問題<br>回到story board一個個元件按右鍵檢查連線，才發現有一個名稱不知道何時被改，刪除有問題的連線並且重新拉線後就可以了</p><p>練習步驟很簡單：<br>一：元件放上storyboard, 拉出outlet<br>二：寫@IBAction func給UISlider以及UISwitch的動作<br>三：把story board上要動作的元件拉至func建立連線</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*X_CXNRVViFYlFarnikLmjQ.gif" /></figure><p><a href="https://github.com/ipeacedesign/ChangeColornBg">Gilthub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65b852f96f6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[練習：Dictionary+Array]]></title>
            <link>https://medium.com/@hi54kelly/%E7%B7%B4%E7%BF%92-dictionary-array-1ee5f70e2555?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ee5f70e2555</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Mon, 15 Apr 2019 06:34:43 GMT</pubDate>
            <atom:updated>2019-04-15T06:34:43.794Z</atom:updated>
            <content:encoded><![CDATA[<p>練習要點：1.表格內容用程式寫出 2.按下表格在下一頁呈現相關資訊</p><p>步驟一：建立架構</p><p>內容：<br>1.新增單頁專案＋新增table view元件＋新增CocoaTouchClass檔案(命名TableViewController）＋把ViewController頁面的class設定為剛才新增的檔案（然後把原來就有的ViewController Swift檔案刪除）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*NbAleZQVWiIG-nffZIVLzw.png" /></figure><p>2.新增Swift檔案，並且宣告array</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*vj4VZM_AXXOjpP1Lbm2M9g.png" /><figcaption><em>翻譯：Struct一個陣列“Car”,並宣告Car裡面有「name」、「imageName」與「power」</em></figcaption></figure><p>步驟二：設定表格與內容</p><p>將TabelView底下的cell 設定專屬名稱（carCell) 以便在程式裡可以使用</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GJqF4SMZ74WXpvp1cXB4cQ.png" /></figure><p>在CarTableViewController中新增array與dictionary的內容</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*qMGRuWsLt38uUZg9vWBHHg.png" /><figcaption>宣告一個dictionary「cars」裡面有陣列「Car」, Car陣列中有三組資料</figcaption></figure><p>這樣就有內容了，接下來要把內容呈現在TabelCell裡面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*_NJ3strKemZjZrHTCOMRIA.png" /></figure><p>啟動模擬器就可以看到畫面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*JgGX4HDBke-apUEhKHFTBA.png" /></figure><p>接下來作按下cell後呈現的畫面<br>先新增一個view，在上面放資料元件(這裡是放圖片)，然後建立連線</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*txxAATecEPZKlk-0Vbd29w.png" /></figure><p>然後新增cocoa touch檔案，並導入剛才新增頁面的class<br>宣告剛才的元件名稱，並且讓元件顯示上一頁按下cell所取得的名稱後帶入的UIImage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*w3NC9zY9s6pTLnLypCAnzA.png" /></figure><p>最後回到TableViewController.swife<br>利用prepare function將資料拋到下一頁</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*ZXoJHGozrfjayOBxEPJIug.png" /></figure><p>完成</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*cLcz7bKkwrBAqq-oBuA1Pg.gif" /></figure><p><a href="https://bit.ly/2KC9iTn">ipeacedesign/dictionaryArray_car</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ee5f70e2555" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[練習：實際操作UI元件＋if else （條件評估APP)]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%B7%B4%E7%BF%92-%E5%AF%A6%E9%9A%9B%E6%93%8D%E4%BD%9Cui%E5%85%83%E4%BB%B6-if-else-%E6%A2%9D%E4%BB%B6%E8%A9%95%E4%BC%B0app-93e0fe8ec523?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/93e0fe8ec523</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sun, 24 Mar 2019 10:00:53 GMT</pubDate>
            <atom:updated>2019-03-24T10:00:53.199Z</atom:updated>
            <content:encoded><![CDATA[<p>這個作業是配對APP，<br>主要練習把UI元件拉到程式頁面(IBAction)以及if else的程式語法</p><p><strong>步驟一：佈置畫面</strong><br>把底圖和元件們拉到story board</p><p><strong>步驟二：設定元件名稱與動作</strong><br>把元件拉到程式碼頁面(按下右上功能列的兩個圈圈，story board右邊就會出現程式碼檔案)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/124/1*L9NyilHUr-m7YqlDsgSIfw.png" /></figure><p>一般元件拉IBOutlet通常不用特別做什麼事<br>但像數量增減的元件(UIStepper)，因為按下後要動作，所以要設定function(func)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*AdUjAC9E40s3u6KRLqwONw.png" /><figcaption>一般元件都是拉IBOutlet</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*_Iq2ChXnXLGUsWanS_dP1w.png" /><figcaption>UIStepper旁邊會有顯示數字的地方，這個func就是將數字整數化後顯示於stepperLabel</figcaption></figure><p>步驟三：撰寫配對條件if else的內容<br>我覺得可以再寫乾淨很多的版本，但目前腦子運作只能達到這個程度🤪</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*Tp84ui_2CgVs2sBmXugNzQ.png" /></figure><p>滑軌的部分應該要加一個顯示目前數值的地方會更清楚，不過我想做滑鼠移上才會出現的顯示對話框，好像有點困難，下次再做😜</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*AlQ3e-TvdLHWKLPO0iKljw.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93e0fe8ec523" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%B7%B4%E7%BF%92-%E5%AF%A6%E9%9A%9B%E6%93%8D%E4%BD%9Cui%E5%85%83%E4%BB%B6-if-else-%E6%A2%9D%E4%BB%B6%E8%A9%95%E4%BC%B0app-93e0fe8ec523">練習：實際操作UI元件＋if else （條件評估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[第二次自介]]></title>
            <link>https://medium.com/@hi54kelly/%E7%AC%AC%E4%BA%8C%E6%AC%A1%E8%87%AA%E4%BB%8B-351b84152234?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/351b84152234</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sun, 10 Mar 2019 16:25:51 GMT</pubDate>
            <atom:updated>2019-03-10T16:25:51.930Z</atom:updated>
            <content:encoded><![CDATA[<p>第一次和彼得接觸，懷抱著成為工程師的夢想，</p><p>然後....然後就被個臭小子中斷了一切</p><p>從懷孕做女王到小孩出生做女傭，</p><p>看著孩子從哭不停的惡魔轉變到乖乖聽話的小可愛</p><p>一轉眼兩年過了</p><p>中間時不時就想.... 怎麼沒人做ＸＸＸAPP呢</p><p>拿出我為了上彼得的課買的人生第一台蘋果空氣</p><p>打開Xcode, 天啊～～ 似乎我們從沒見過</p><p>還好世上有個彼得大好人</p><p>這一次，挑戰應該有十倍</p><p>不過為母則強</p><p>我會拿出十一倍堅持的</p><p>（第一天上課聽到彼得說到「一輩子」，是呀！真正熱愛的事，一輩子都不會放棄的）</p><p>我是凱莉，現在是走鐘媽媽😭</p><p>未來是辣媽/ＡＰＰmaker</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*xhDLa44DhRFjMoeId4agEA@2x.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=351b84152234" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[摸摸UI 元件_segmented control, slider, Switch, Activity Indicator View, Progress View, Visual Effect…]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E6%91%B8%E6%91%B8ui-%E5%85%83%E4%BB%B6-segmented-control-slider-switch-activity-indicator-view-progress-view-visual-effect-a5627376ee1?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5627376ee1</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sun, 10 Mar 2019 15:58:38 GMT</pubDate>
            <atom:updated>2019-03-10T15:58:38.645Z</atom:updated>
            <content:encoded><![CDATA[<h3>摸摸UI 元件_segmented control, slider, Switch, Activity Indicator View, Progress View, Visual Effect View with Blur, Page Control, Date Picker</h3><h3><strong>|1.segmented control :</strong> 類別元件 ex.性別</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*J-F7TsV5KVqnvEBuyhILEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*omcORFuXS3AFGrZ2YAVZ1w@2x.jpeg" /></figure><ol><li>Segments 設定類別的數量<br>如果改成「3」, 就變成三個類別了</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*oXum5ePYg6JWeE-FStiYKQ.png" /><figcaption>segments的數值改為3, 畫面上的按鈕就會變成這樣三格囉</figcaption></figure><p>2. Segment 類別：右手邊的上下箭頭可選擇類別，由左至右的序號為0&gt;1&gt;2</p><p>3. Title：類別的名稱</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*R4Yd2Uu5uIyUlbyqdxq36w.png" /></figure><p>4. Image：可以加上圖片（按鈕底圖的概念）<br>5. Selected：載入時會先被選取（藍底白字就是被選取的狀態）</p><h3><strong>|2.Slider：滑動設定數值 ex.音量，亮度</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*-FamPdEgrXRyjL-mkJlLNw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*f3GmeS3AdeuVlzJ3cOmmaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*_n8bOJ23ZRDDl80ojEj-OA.png" /><figcaption>上面的設定會出現這樣的樣式</figcaption></figure><ol><li>Value：指標預設值（我這裡設定是總值的一半，所以圓鈕會在中間）</li><li>Minimum：最小值</li><li>Maximum：最大值</li><li>Min Image：最小值端的圖樣（我設定空心圖樣）</li><li>Max Image：最大值端的圖樣（我設定紅色實心圖樣）</li><li>Min Track：圓鈕左邊軌道顏色（我設定黃色）</li><li>Max Track：圓鈕右邊軌道顏色（我設定紫色）</li><li>Thumb Tint：圓鈕顏色 （我設定綠色）</li></ol><h3>|3.Switch：開關鈕</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*0P9nLbzz7oVbFjSZ9kBHSA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*2TeIV4DMQ_-IIju-7Cg8ZA.png" /></figure><ol><li>State：載入時呈現開啟或關閉<br>2. On Tint：開關顏色（我設定橘色）<br>3. Thumb Tint：圓紐顏色（我設定紫色）</li></ol><h3><strong><em>｜4.Activity Indicator View：顯示狀態進行中</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*Mow1Ve4Wl5wCHXzSGelYZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*rPI0ZstbLZ_1tLiVRZSpxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/105/1*rE6biOY8x3bMlYMrRWKOSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/147/1*btIOpeODbKv8H3wKd7puXw.png" /></figure><p>1 Style：大尺寸．白色標準尺寸．灰色標準尺寸<br>2 Color：自訂顏色<br>3 Animating：有勾選，載入時就會有動畫</p><h3><strong>| 5.Progress View</strong>：顯示進度</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*krBPYIysZUElTFC7gq8pVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*YHAsYLuzbIn7AuQuUCnTQA.png" /><figcaption>Default style</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*qno5tuSz48t2PQgZ7ISxLw.png" /><figcaption>Bar style</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*myKPXLoR-SmeE3LFEbf0CQ.png" /></figure><p>1 Style：Default是細線，Bar比較粗<br>2 Progress：載入時顯示位置，max為1，所以我設定0.8就會靠近右邊<br>3 Progress Tint：顯示進度的顏色<br>4 Track Tint：整條軌道顏色<br>5 Progress Image：理論上好像可以放置底圖，不過我測試後沒有顯示<br>（我要去偷看，喔不，是正大光明看同學/學長姐的文章）<br>6 Track Image：同上</p><h3><strong><em>| 6. Visual Effect View with Blur：毛玻璃效果</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*dqAMMcAytwIHOe-hpI-q8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*Waz-MA5KnIpYaeRBYjCDaQ.png" /><figcaption>Blur style : Extra Light</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*8Ri-5d7bm8nJl6gidG5bmw.png" /><figcaption>Blur style : Light</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*a5baIa-VA3JzptlQCfeBfw.png" /><figcaption>Blur style : Dark</figcaption></figure><h3><strong><em>| 7. Page Control 控制分頁</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*MMQO6FQZZfk7ogndVph19Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*P_gFB2I0-90mw64rAAVRrw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/108/1*bWsLBaLv_eFs1t2WurWT3A.png" /></figure><p>1 # of Pages：總共頁數<br>2 Current：顯示第幾頁<br>（0才是第一頁喔，如果設定1會變成第二個點變紫色）<br>3 Hides for Single Page：如果只有一頁就不會出現<br>4 Tint Color：頁面一般狀態的顏色<br>5 Current Page：顯示目前頁面位置</p><h3><strong><em>｜ 8. Date Picker 選擇日期</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*nQJ7iH9Cx2k5Mqt0KwkYpA.png" /></figure><p>1. Mode：有時間、日期、時間加日期、以及倒數共四種模式</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/1*9QNCqBSsSDXyaRhg2rbKug.png" /></figure><p>2. Locale：地區<br>3. Interval：時間間格</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*hjNsqgd3neW55r7-jUBjsA.png" /><figcaption>這裡設定間格為10分鐘</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*ZuFA3l6fe_pGAoVOeHf3Mg.png" /><figcaption>選單就變成10分鐘間格囉</figcaption></figure><p>4. Date：可選擇目前日期或自訂日期<br>5. Minimum Date：最早日期<br>6. Maximum Date：最晚日期</p><p>呼～～～頂著身體不適和小人纏身<br>我終於完成了😭😭😭😭</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5627376ee1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E6%91%B8%E6%91%B8ui-%E5%85%83%E4%BB%B6-segmented-control-slider-switch-activity-indicator-view-progress-view-visual-effect-a5627376ee1">摸摸UI 元件_segmented control, slider, Switch, Activity Indicator View, Progress View, Visual Effect…</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 Human Interface Guidelines_iOS]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%BF%83%E5%BE%97-ios-human-interface-guidelines-ios-6f7d0abc3858?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f7d0abc3858</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sun, 10 Mar 2019 07:25:57 GMT</pubDate>
            <atom:updated>2019-03-10T07:25:57.243Z</atom:updated>
            <content:encoded><![CDATA[<p>心得：<a href="https://developer.apple.com/ios/human-interface-guidelines/">iOS Human Interface Guidelines</a>_iOS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EwdTeH2nl6zdIa5WrbiRhA.png" /></figure><p>打開<a href="https://developer.apple.com/design/human-interface-guidelines/ios/overview/themes/">頁面</a>，心就涼了一半（這要看到何時呀….)<br>不怕，有一輩子時間可以看啊😂</p><p>蘋果UI設計的三大主題，簡單說就一個重點：<br>「讓使用者清楚明確」</p><p>這感覺就像煮粥或做番茄炒蛋一樣，越簡單就越不簡單<br>（廢話，UI設計如果簡單，也不會這麼多視覺災難APP了）</p><p>以下簡單筆記：</p><h3>易用性</h3><p>1.減少使用透明度</p><p>2.要考慮身體障礙者使用的方便性</p><p>3.顏色使用對比度至少4.5:1（7:1更好）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*o_P6HUBuV2jXy3bNmDt8BA.png" /></figure><h3>載入</h3><p>1.如果「正在載入」，一定要明確讓人知道不是當機</p><p>2.越快載入越好</p><p>3.讓等待的同時有點趣味吧</p><p>未完待續…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f7d0abc3858" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%BF%83%E5%BE%97-ios-human-interface-guidelines-ios-6f7d0abc3858">心得：iOS Human Interface Guidelines_iOS</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製作圖像]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%B0%A1%E5%96%AE%E8%B7%B3%E9%A0%81-%E4%BD%BF%E7%94%A8view%E8%A3%BD%E4%BD%9C%E5%9C%96%E5%83%8F-2498ab0d9840?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2498ab0d9840</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Sat, 09 Mar 2019 13:49:45 GMT</pubDate>
            <atom:updated>2019-03-10T07:20:34.598Z</atom:updated>
            <content:encoded><![CDATA[<p>首先，不知道是身邊有個小搗蛋還是人老了</p><p>這樣簡單的作業竟然花了我大概五個多小時！（媽媽心好累）</p><p>不過這個可以一次check很多項作業清單，值得</p><p>首先，紀錄一下錄製APP的方式</p><p>我覺得還是用QuickTime Player比較簡單</p><p>步驟一：打開QuickTime Player，選擇「新增螢幕錄製」，會出現小小有紅點的視窗</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*mv3Mw5WIwsGD3R5xTK4xOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*8azJxEN-oS8Xc2oUFYdp3w.png" /></figure><p>步驟二：按下紅點，會出現下列訊息</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*SzSeRkzIj0K69I46xPsa7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/171/1*8mbzWgsObpTwdnNB_r7l-A.png" /><figcaption>「選單列中的停止按鈕」就在上面截圖中最左邊</figcaption></figure><p>步驟三：通常是只會錄製APP的操作過程，所以直接滑鼠拖移選擇手機模擬器的圖像後，在按下「開始錄製」就開始囉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/90/1*SJaJhrl6nKt1Mb3FNd8bZw.png" /></figure><p>步驟四：錄製完就可以直接看錄製的結果，喜歡的話按下左上紅色結束按鍵就會跳出儲存畫面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*S4yg2PxAYmb6ez-C93GroQ.png" /></figure><p>因為Medium只能上傳圖，所以再找個線上mov轉gif吧</p><p>我是用<a href="https://convertio.co/mov-gif/">https://convertio.co/mov-gif/</a>這個網站</p><p>不過轉出來的gif顏色跑了，而且動作變遲鈍</p><p>然後是使用View畫圖</p><p>痾….真的好費時</p><p>而且光圖像我就改了好幾次（感覺別人的都好好看喔）</p><p>再來是跳頁</p><p>在跳頁按鈕上雙指按下後，拉到想去的頁面（頁面呈現淡藍色才有選到）後放開，在跳出視窗中選擇「show」就完成了</p><p>來看最終成果</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*QjLXa7CgEjqfp21XL9uwxw.gif" /></figure><p>附上github</p><p><a href="https://github.com/ipeacedesign/singleview">https://github.com/ipeacedesign/singleview</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2498ab0d9840" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%B0%A1%E5%96%AE%E8%B7%B3%E9%A0%81-%E4%BD%BF%E7%94%A8view%E8%A3%BD%E4%BD%9C%E5%9C%96%E5%83%8F-2498ab0d9840">簡單跳頁＋使用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[建立新專案時，不同的樣版的差異]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%BB%BA%E7%AB%8B%E6%96%B0%E5%B0%88%E6%A1%88%E6%99%82-%E4%B8%8D%E5%90%8C%E7%9A%84%E6%A8%A3%E7%89%88%E7%9A%84%E5%B7%AE%E7%95%B0-f00362f68b54?source=rss-71905d838fcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f00362f68b54</guid>
            <dc:creator><![CDATA[Kelly]]></dc:creator>
            <pubDate>Tue, 05 Mar 2019 07:03:03 GMT</pubDate>
            <atom:updated>2019-03-05T07:03:03.489Z</atom:updated>
            <content:encoded><![CDATA[<p>在新增xcode專案時，可以選擇不同樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*SlSnSJGHAUUQzo9B-pzReQ.png" /></figure><p>新增專案後，會出現樣板選擇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*Rd9zsNdBgctUPjCKJ6j21A.png" /></figure><p>通常都是使用sigle view樣板，從StoryBoard檢視就是一個空白頁面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/114/1*1kye9EcoEfkOruCxMz_lJg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*faAdoyJpUiXsDz4lWlHKzg.png" /><figcaption>空空如也，等你盡情揮灑</figcaption></figure><p>再來是遊戲樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/76/1*G5vogAcoixTD6GQKTVwbiA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*i5h9CMDU95lvo_Emxg22Ow.png" /><figcaption>很妙，是全黑的，但上方controller地方可以看到Game字樣</figcaption></figure><p>然後是AR樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/93/1*sLwEU63ojKHNbV86_NemjQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*a_MuTVSUWm_gd1Fz6MdlTA.png" /><figcaption>神秘的ARSCNView</figcaption></figure><p>還有DB樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/121/1*jkHZwXTePHTS5ecTX7zsng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*Za7oQW_QMr9meQPW69fLRg.png" /><figcaption>和single view一樣空白，但上方controller可看到Document字樣</figcaption></figure><p>然後是Master-Detail樣板（woo~~感覺很專業喔)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/127/1*s9reK3qcWaLk_pWdLNAphw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*1a9rA0f-amF8UWE5PldfUw.png" /><figcaption>有別其他樣板，Mater-Detail一打開就有五個頁面</figcaption></figure><p>再來是Tabbed樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/87/1*pHFHaBA5aKKOCzY1f9uecQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*THrk7mN3CwsAhUXDwV4-hQ.png" /></figure><p>Sticker Pack樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/112/1*HmzY4HmZJdchkPYiKkLc3Q.png" /></figure><p>咦？沒有其他圖？<br>喔齁齁，這是唯一一個新增專案後，不會產生Story Board的樣板</p><p>Page-Based樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/113/1*HpXISCpo4jQEjnohkJWInQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*wvVEUjWPIUujIFcvtj7vhA.png" /><figcaption>好特別，內建彩色的Story Borad耶</figcaption></figure><p>最後一個iMessage樣板</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/105/1*eJWJVp8hAHZIRiS4MluVxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/233/1*hKvF4ZxmjlNy8Lduy4nLSg.png" /><figcaption>APPLE 最出名的“Hello World”</figcaption></figure><p>看看過多久我會實際使用全部的樣板😎</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f00362f68b54" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%BB%BA%E7%AB%8B%E6%96%B0%E5%B0%88%E6%A1%88%E6%99%82-%E4%B8%8D%E5%90%8C%E7%9A%84%E6%A8%A3%E7%89%88%E7%9A%84%E5%B7%AE%E7%95%B0-f00362f68b54">建立新專案時，不同的樣版的差異</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>