<?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 Tony Yeh on Medium]]></title>
        <description><![CDATA[Stories by Tony Yeh on Medium]]></description>
        <link>https://medium.com/@tonyyeh1130?source=rss-3739ed0c8c21------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9uRLs2_T6_MZxjiWIaNUyw.jpeg</url>
            <title>Stories by Tony Yeh on Medium</title>
            <link>https://medium.com/@tonyyeh1130?source=rss-3739ed0c8c21------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 22:03:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tonyyeh1130/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[用 view 拼湊漂亮的圖案，比方小小兵 ～]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%94%A8-view-%E6%8B%BC%E6%B9%8A%E6%BC%82%E4%BA%AE%E7%9A%84%E5%9C%96%E6%A1%88-%E6%AF%94%E6%96%B9%E5%B0%8F%E5%B0%8F%E5%85%B5-3b04cdb466b7?source=rss-3739ed0c8c21------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b04cdb466b7</guid>
            <dc:creator><![CDATA[Tony Yeh]]></dc:creator>
            <pubDate>Fri, 12 May 2017 07:46:05 GMT</pubDate>
            <atom:updated>2017-05-12T07:46:05.477Z</atom:updated>
            <content:encoded><![CDATA[<p>步驟一 ：建立點陣圖</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*RNYu5C6ylj-OEDm9E8EZTA.png" /></figure><p>先建立一個 8 width , 8 height 的view, 然後幫view設定一個背景顏色,再複製貼上,重複產生20個格子, 把storyboadd畫面放大到300%或400%會比較方便把20個格子排成一列,然後選取所有的格子,按住option ,滑鼠左鍵拖曳整列就能再複製一排,重複拖曳動作到產生足夠的格子數量.</p><p>步驟二 ：上色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*b1r_dFyD1qOKtdbtd_MOcA.png" /></figure><p>利用shift＋左鍵 選取要上色的格子,一次大量的設定格子的背景顏色,逐步完成角色圖片</p><p>ＧitHub :</p><p><a href="https://github.com/Tonyyeh1130/iOS_Practice/blob/master/homework2-7.zip">https://github.com/Tonyyeh1130/iOS_Practice/blob/master/homework2-7.zip</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b04cdb466b7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%94%A8-view-%E6%8B%BC%E6%B9%8A%E6%BC%82%E4%BA%AE%E7%9A%84%E5%9C%96%E6%A1%88-%E6%AF%94%E6%96%B9%E5%B0%8F%E5%B0%8F%E5%85%B5-3b04cdb466b7">用 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[[swift] 練習計算格子內數字的總和]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/swift-%E7%B7%B4%E7%BF%92%E8%A8%88%E7%AE%97%E6%A0%BC%E5%AD%90%E5%85%A7%E6%95%B8%E5%AD%97%E7%9A%84%E7%B8%BD%E5%92%8C-4068f727a30a?source=rss-3739ed0c8c21------2</link>
            <guid isPermaLink="false">https://medium.com/p/4068f727a30a</guid>
            <dc:creator><![CDATA[Tony Yeh]]></dc:creator>
            <pubDate>Tue, 09 May 2017 12:33:41 GMT</pubDate>
            <atom:updated>2017-05-09T12:33:41.820Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>算全部格子的總和</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*NO3yV79cTO4wuJXBg4AvQg.png" /></figure><pre>//作業5–2: 算全部格子內數字的總合 : 8x8 二元陣列</pre><pre>//瀏覽陣列中每個元素,每個元素的值域等於行列的index相乘</pre><pre>var sum1 = 0</pre><pre>for column in 0…7 {</pre><pre>    for row in 0…7 {</pre><pre>        var value = column * row</pre><pre>        //累加每個元素的值<br>        sum1 += value</pre><pre>    }</pre><pre>}<br>var message1 = “全部格子內數字的總合為\(sum1)”</pre><pre>sum1 = 0</pre><pre>//計算效能的優化可以改成這樣</pre><pre>for column in 1…7 {</pre><pre>    for row in 1…7 {</pre><pre>        var value = column * row</pre><pre>        sum1 += value</pre><pre>    }</pre><pre>}</pre><pre>message1 = “全部格子內數字的總合為\(sum1)”</pre><p>2. 奇數行格子的總和</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*UClw-wirvHYdPoZEVVWe6A.png" /></figure><p>題目的行列方向跟我習慣的方向不同,不過還是使用題目的行列方向定義…</p><pre>//作業5–3: 奇數行的數字總合</pre><pre>var sum2 = 0</pre><pre>for column in 1…7 where column%2 == 1 {</pre><pre>    for row in 1…7 {</pre><pre>        var value = column * row</pre><pre>        sum2 += value</pre><pre>    }</pre><pre>}</pre><pre>var message2 = “奇數行的數字總合為\(sum2)”</pre><p>3. 所有格子的總合，除了列數&gt;=行數的格子</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*JnensZjQCTeVhgwKKbPKng.png" /></figure><pre>//作業5–4: 所有格子的總合，除了列數&gt;=行數的格子</pre><pre>var sum3 = 0</pre><pre>for column in 1…7 {</pre><pre>    for row in 1…7 {</pre><pre>        //排除列數&gt;=行數的格子<br>        if row &lt; column {</pre><pre>        var value = column * row</pre><pre>        sum3 += value</pre><pre>        }</pre><pre>    }</pre><pre>}</pre><pre>var message3 = “所有格子的總合，除了列數&gt;=行數的格子為\(sum3)”</pre><p>4. ＧitHub:</p><p><a href="https://github.com/Tonyyeh1130/iOS_Practice/blob/master/Homework5-2%7E5-4.playground.zip">https://github.com/Tonyyeh1130/iOS_Practice/blob/master/Homework5-2%7E5-4.playground.zip</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4068f727a30a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/swift-%E7%B7%B4%E7%BF%92%E8%A8%88%E7%AE%97%E6%A0%BC%E5%AD%90%E5%85%A7%E6%95%B8%E5%AD%97%E7%9A%84%E7%B8%BD%E5%92%8C-4068f727a30a">[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[第一次親密接觸iOS App｜自我介紹]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%AC%AC%E4%B8%80%E6%AC%A1%E8%A6%AA%E5%AF%86%E6%8E%A5%E8%A7%B8ios-app-%E8%87%AA%E6%88%91%E4%BB%8B%E7%B4%B9-3817d73381f0?source=rss-3739ed0c8c21------2</link>
            <guid isPermaLink="false">https://medium.com/p/3817d73381f0</guid>
            <dc:creator><![CDATA[Tony Yeh]]></dc:creator>
            <pubDate>Fri, 28 Apr 2017 03:44:21 GMT</pubDate>
            <atom:updated>2017-04-28T03:44:21.322Z</atom:updated>
            <content:encoded><![CDATA[<p>如果我有卓越的眼光，我就能成為像是Bill或Jobs這種能改變世界的人。</p><p>我有一點與眾不同的創意嗎?沒有。所以，很可惜，我只能當軟體產業中的一個小小螺絲釘。</p><p>如果我能投入我所有的時間與心力，我就能完成一個令自己也滿意的作品。</p><p>我有小鮮肉的年紀嗎？沒有。</p><p>所以，很遺憾，時間有限下，我只能一邊學習,一邊開發專案。</p><p>如果給我半年整合六個App的負荷，也澆不熄我對程式開發的熱情</p><p>半年能夠變成公司內唯一的iOS app首席工程師嗎? 可以的。</p><p>所以，是的，我是過去從無使用過apple產品卻誤入蘋果叢林的tonyyeh (囧臉)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3817d73381f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%AC%AC%E4%B8%80%E6%AC%A1%E8%A6%AA%E5%AF%86%E6%8E%A5%E8%A7%B8ios-app-%E8%87%AA%E6%88%91%E4%BB%8B%E7%B4%B9-3817d73381f0">第一次親密接觸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>