<?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 許律雯 on Medium]]></title>
        <description><![CDATA[Stories by 許律雯 on Medium]]></description>
        <link>https://medium.com/@ryolue?source=rss-4470b052e11------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*r3Uid9f1KvdaS3Q7.</url>
            <title>Stories by 許律雯 on Medium</title>
            <link>https://medium.com/@ryolue?source=rss-4470b052e11------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:59:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ryolue/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 Part1 & Part2]]></title>
            <link>https://medium.com/@ryolue/%E5%94%90%E8%A9%A9%E4%B8%89%E7%99%BE%E9%A6%96app-part1-part2-f7da0081ee02?source=rss-4470b052e11------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7da0081ee02</guid>
            <category><![CDATA[navigation]]></category>
            <category><![CDATA[ios-developer]]></category>
            <category><![CDATA[test]]></category>
            <dc:creator><![CDATA[許律雯]]></dc:creator>
            <pubDate>Sun, 31 Jul 2016 09:24:43 GMT</pubDate>
            <atom:updated>2016-07-31T09:24:43.244Z</atom:updated>
            <content:encoded><![CDATA[<p>唐詩三百首App Part1 &amp; Part2</p><p>＊補作業2內容</p><p>今天要來實作一個唐詩三百首的APP，雖然本身對唐詩毫無興趣，但就以它當作題材凸顯一下自己其實國文學的不錯吧（誤）</p><p>今天主要會用到的東西有：Navigation Controller、Tab Controller</p><p>建立完專案後，最重要的步驟當然就是在原生view controller前面加上Navigation Controller囉！</p><p>這一步驟時常會忘記該去哪完成，在這裡附圖以便未來的自己能夠更容易找到它。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EmuJmdmubYXECxf-FTM4KA.png" /><figcaption>點入Embed-Navigation Controller來新增</figcaption></figure><p>接著當然就是掐指一算，看看這唐詩三百首需要多少View Controller來完成，由於我所念得出的唐詩大概一隻手指頭就算得出來，所以這裡就不寫個300首造成腦袋的負擔了，我先選了幾個我喜歡的詩人（見識淺薄只寫了三位XD），再去細分他們分別所寫過的唐詩，拉成了以下這樣的Storyboard</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*F18qAExZWm2Fo9aQgx-wAg.png" /><figcaption>這裡還沒加上button把他們的連結全部完成</figcaption></figure><p>至於怎麼連結，很簡單，在button上按著右鍵拖拉到下個viewController上就能選擇你想要的換頁效果了（因為使用navigation，所以我使用push效果）</p><p>把基本的Button、Label、TextView放完之後，再加點imageView做裝飾，大致上就完成了，再來特別要注意的是Navigation item這個物件，加上這個物件就可以為標題部分做一些改變囉！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*QWI_9XlKQMnCfLi7MDkQ8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*IVSjQYkZCn3sEXlEU431QQ.png" /><figcaption>左圖為navigation item 右圖為改標題處</figcaption></figure><p>最後完成的storyboard大致上長這樣子，如下圖</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*IkWN3ajRQsdKFZ3mYiV3Lw.png" /></figure><p>完成後基本上就完成了，但這裡我們還要進入part2<br>加上tab bar controller，做成一個擁有唐詩跟宋詞的APP :P</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_7X5v_RYh4QMSotIiKsGXA.png" /></figure><p>從這裡選取就可以加上囉（小提醒：記得要先多做一個view controller 並且將view controller變成navigation Controller，這樣才能一次把這兩個navigation controller 變成tab bar 的分頁喔！）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*zBtd3mE5izC0xjIaTAxYhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*HDg70Arc9Vbpg6yRpBJbeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*c9XDfhDbEWazXjEsZvw2IQ.png" /><figcaption>從左圖可以設定bar的item 右圖可以設定item的大小（建議還是先裁切好圖片再用這裡微調大小）</figcaption></figure><p>最後就大功告成囉，擁有宋詞和唐詩的APP，以下是Demo（看得出做宋詞的時候有多麼偷懶哈哈哈）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*2GnmP1KpqlACuUXycs_M0g.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7da0081ee02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[實作練習]試用storyboard的各式UI元件]]></title>
            <link>https://medium.com/@ryolue/%E5%AF%A6%E4%BD%9C%E7%B7%B4%E7%BF%92-%E8%A9%A6%E7%94%A8storyboard%E7%9A%84%E5%90%84%E5%BC%8Fui%E5%85%83%E4%BB%B6-b192fde990c?source=rss-4470b052e11------2</link>
            <guid isPermaLink="false">https://medium.com/p/b192fde990c</guid>
            <dc:creator><![CDATA[許律雯]]></dc:creator>
            <pubDate>Thu, 23 Jun 2016 00:49:44 GMT</pubDate>
            <atom:updated>2016-06-23T01:54:11.740Z</atom:updated>
            <content:encoded><![CDATA[<p>storyboard中的各式UI元件大致上我都玩過一輪了，可能與過去大學時期專題的主題一致，也可能因為過去工作的因素。</p><p>在這裡介紹幾個元件：</p><h4>UIButton</h4><p>Button，最常見卻也擁有各式功能的UI元件，不只可以放字，也可以放圖片當作Button。如果是Button當然還有一些特別的地方，除了Default的樣式之外，也可以設定按下去、長按、甚至3Dtouch的時候會變成什麼其他的樣式。這麼看就知道可以藉它做的功能真的非常多，有點迫不及待試試看了吧！</p><h4>UISlider &amp; UISwitch &amp; UItextView</h4><p>再來我試做了一個利用UISilder及UISwitch來設定是否可以更改UITextview字體大小的簡易程式，當Switch是on的時候才能利用拖拉Slider來調整字體大小，反之就不能編輯Textview的內容。剛好結合了三種UI元件，晚點上圖來給大家瞧瞧。</p><h4>UITableview&amp;Cell</h4><p>最後我要介紹的元件是TableView和Tableviewcell，</p><p>我個人認為這個元件是最出乎意料之外的神奇元件，百分之七十的app都可以用它來完成，利用section及row就可以做出各式的變化，而cell也可以依自己的喜好做調整。</p><p>（但這部分我還不是很上手，期待之後可以將它學得熟練一些😆）</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b192fde990c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[實作練習]imageView 1x 2x 3x 大小測試]]></title>
            <link>https://medium.com/@ryolue/%E5%AF%A6%E4%BD%9C%E7%B7%B4%E7%BF%92-imageview-1x-2x-3x-%E5%A4%A7%E5%B0%8F%E6%B8%AC%E8%A9%A6-9374e07979d0?source=rss-4470b052e11------2</link>
            <guid isPermaLink="false">https://medium.com/p/9374e07979d0</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[imageview]]></category>
            <dc:creator><![CDATA[許律雯]]></dc:creator>
            <pubDate>Wed, 22 Jun 2016 16:03:22 GMT</pubDate>
            <atom:updated>2016-06-22T16:06:37.075Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mNLCN1ipmXIdzcadmzlyLg.png" /></figure><p>今天來幫大家測試看看imageView中的圖片，如果我們把1x/2x/3x的圖片放不同圖片，在切換裝置時會發生什麼事情呢嘿嘿。</p><p>（正常狀況下這三個格子應該是放不同大小的同一張圖片，這次刻意放不同圖片來證實一下到底它會不會偵測裝置的大小來改變圖案大小呢）</p><p>於是我先試了自己的iPhone6S Plus，你們猜會出現哪一個大小呢？</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kDRVDEVGBAiaVXYhvDu2Rw.png" /></figure><p>我本來在上面是顯示1x的圖，但最後卻是顯示3x的圖!!! 從這裡應該就能夠看出他是真的會變換大小的，那大家想知道其他裝置會顯示出什麼大小嗎？</p><p>為了做明顯的比較，我使用螢幕最小的SE來做測試。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oguo_SpKioH2zHgEFpsa_g.png" /></figure><p>出現的是2x的圖片，由此可知，不管怎麼試1x是都不會出現的，毫無露臉機會啊…..</p><p>因為圖很多的關係，在這裡跟大家說個總結論，我測試過後只有PLUS需要用3x的圖片，SE/iphone5/5S/6/6S都是用2x的圖片哦！</p><p>不過這特別的結果幫助我們了解一件事，</p><pre>其實你真的不需要放1x的圖。（誤）</pre><p>最後附上測試連結，我的gitHub：<a href="https://github.com/ryolue5053/iOS_Hw1_imageviewTest.git">https://github.com/ryolue5053/iOS_Hw1_imageviewTest.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9374e07979d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[心得] Apple Developer Official website]]></title>
            <link>https://medium.com/@ryolue/%E5%BF%83%E5%BE%97-apple-developer-official-website-9eea90486b60?source=rss-4470b052e11------2</link>
            <guid isPermaLink="false">https://medium.com/p/9eea90486b60</guid>
            <category><![CDATA[wwdc]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[許律雯]]></dc:creator>
            <pubDate>Tue, 21 Jun 2016 16:34:22 GMT</pubDate>
            <atom:updated>2016-06-21T16:34:22.042Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AYxllkVo7jrG_vYoPpZ_pw.png" /></figure><p>進入網頁首當其衝的就是WWDC2016囉，雖然影片中有很多技術還無法想像及理解，但是多看多查也一邊做學習。</p><p>在develop的官網看完這一次的大會後，我還算聽得懂的範圍內比較關注的是以下這幾點。</p><ul><li>android 版本的 iMessage （想必繼Line之後，會加倍衝擊簡訊的市場）</li><li>Dark mode（但我的手機目前似乎已經有此功能了呀？在這個半夜滑手機的趨勢下，實用度我打十顆星）</li><li>Siri大進化，可用來訂票甚至與智能家電做連結</li><li>Apple Music 的重大變革 （我是KKBOX的愛好者，因為Apple Music出來的時間還不夠久遠，因此我一直保持觀望的狀態，希望這次的改版會帶給我極大的吸引力，嘻）</li><li>最後是，聽說App上架審核制度會加快（之前真的有夠久…）對我們來說應該是一大福音吧（希望不只是說說而已）</li></ul><p>當然除了關注WWDC之外，Develop的內容當然也不能就此遺忘（這才是本篇的重點啊！）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jp633IOzYU3gxkCUjXJNCg.png" /></figure><p>API的參考、指南、範例程式碼這三個部份我都點進去晃過了一遍，API的參考裡有提供兩種語法（Obj-C、Swift）常用的Framework，底下也有針對個個API的使用方法進行詳盡的解說。而指南的部分倒是看到了一些Xcode8改版所新增的內容介紹，Sample code就不用多說了吧（這英文這麼明顯！）</p><p>NOTE：</p><p>簡單來說，這裡提供了很豐富的資源，但是首先你必須先學會如何使用API，哈哈，現實是殘酷的。但我想再過沒多久的未來我就也具備著這樣的能力，一起努力囉（API真的太方便了，希望能快快學到使用方法啊！拜託拜託～有許願池嗎，Peter？）</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9eea90486b60" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[心得] The iOS Design Guidelines]]></title>
            <link>https://medium.com/@ryolue/%E5%BF%83%E5%BE%97-the-ios-design-guidelines-b53151dc2083?source=rss-4470b052e11------2</link>
            <guid isPermaLink="false">https://medium.com/p/b53151dc2083</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[許律雯]]></dc:creator>
            <pubDate>Tue, 21 Jun 2016 01:31:31 GMT</pubDate>
            <atom:updated>2016-06-21T01:31:31.077Z</atom:updated>
            <content:encoded><![CDATA[<p>The iOS Design Guidelines — iOS 的設計指南</p><h4>開頭就先介紹：Pt &amp; Px的差別</h4><p><strong>Pt — (點，point) 一個Pt可以包含多個像素，他是一個固定的單位。</strong></p><p><strong>Px — (像素，Pixel)螢幕上顯示的最小單位。</strong></p><p>這裡我又再找了一些衍伸的資訊來補充：<a href="http://blog.fourdesire.com/2014/12/11/ta-zhen-de-bu-shi-wo-xiong-di-xiang-su-gen-dian-da-bu-tong/">他真的不是我兄弟：像素跟點大不同</a></p><p>內文指出：定義上 1pt＝1/72 英吋。因此它跟我們所熟悉的公分、公尺一樣，可以明確的指出 1pt 的長度是多少</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6t4uX-a71wgsrvQ5qCTtQ.png" /></figure><p>而使用 px 可以精確的控制畫面上顯示效果。但也因為每個螢幕解析度不同，像素的大小也不固定。如同Peter上課提到的關於Retina螢幕上就會有明顯的差距。</p><p>而當需要轉換pt or px時總會有一些問題，畢竟作業系統上dpi有所不同，因此Peter上課時也提供了下表。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eVMwULsft6AYe_oGlt3a5Q.png" /></figure><p>我們會利用裝置顯示時的需求，來決定Asset Resolution，如下：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EcKS15dkkElSs2BkyZGKrQ.png" /></figure><h4>APP icon的設定</h4><p>對應不同Device會有不同的icon大小，目前特別需要注意的只有：</p><p>iPhone 6 Plus /6S Plus — 需要180x180像素的icon</p><p>iPhone6S，6，5S，5，5C，4S，4 — 需要120x120像素的icon</p><p><strong><em>(注意：需用PNG檔案）</em></strong></p><h4>常用的設計元素</h4><p>狀態欄：通常以黑白藍來配色 / 導航欄 / 工具欄 / 搜索欄 / 標示欄 / tableview</p><p>由下往上彈出的action及Alert也被列入重要的元素中，所以與使用者使用習慣相關的都會在APP中更加被重視。</p><p>控制方面以Button為最常使用的大宗（相較於slider &amp; Switch &amp; Picker），因為Button的變化性很高，使用上也比較廣泛。</p><p>Note</p><p>本文以簡潔快速的方式將iOS設計上的基礎大致上的帶過一遍，對於入門來說可以在短時間內了解基本的功能及基礎，唯獨像素(Pixels)及點(Point)的部份我花了不少時間去理解，但把基礎的東西都弄懂後也較不會出差錯。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b53151dc2083" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>