<?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 Princekili on Medium]]></title>
        <description><![CDATA[Stories by Princekili on Medium]]></description>
        <link>https://medium.com/@princekili0422?source=rss-89a722286e63------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*t155LmBAOzrgaYXILnaJew.jpeg</url>
            <title>Stories by Princekili on Medium</title>
            <link>https://medium.com/@princekili0422?source=rss-89a722286e63------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 05:12:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@princekili0422/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[ iPlayground 2020]]></title>
            <link>https://princekili0422.medium.com/iplayground-2020-111a8b52f63a?source=rss-89a722286e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/111a8b52f63a</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[iplayground]]></category>
            <category><![CDATA[appworks-school]]></category>
            <dc:creator><![CDATA[Princekili]]></dc:creator>
            <pubDate>Sat, 13 Feb 2021 18:10:18 GMT</pubDate>
            <atom:updated>2021-02-13T18:48:43.177Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_b0pjk4LdCAviFZl8fP0DA.jpeg" /></figure><blockquote>iPlayground 是台灣第一個也是目前唯一「聚焦於 Apple 相關軟體開發的大型技術研討會」</blockquote><p>還記得當初聽 <a href="https://weakself.dev/">weak self</a> 得知 iPlayground 時，就暗自決定要搶票了！</p><p>這場由一群專業又熱血の前輩們舉辦的研討會，不藏私地分享開發路上採坑的經驗，確實令我感到印象深刻啊～<br>藉由一些小細節也看得出主辦團隊的用心，像是大家可以在 App Store 下載 iPlayground 2020 來看<a href="https://iplayground.io/2020/?fbclid=IwAR13QdGIama-LgJFWulkS68Sc-um5F5iWXl4FONXG2y3VdGzbK-S5URr_ak#sechdule-section">議程</a>，在現場使用時真的方便許多！</p><p>👇 以下簡單介紹印象特別深刻的 Keynote 講座</p><h3>為什麼 App 卡卡的？</h3><p>講者是 <strong>John Lin</strong> <em>a.k.a.</em> Swift Taipei 主辦人，有人機介面的研究背景，說話風格蠻詼諧有趣～</p><h4>一個好 App 的條件</h4><ul><li>符合商業需求</li><li>用起來順手</li><li>漂亮的程式碼 (Optional)</li></ul><h4>什麼是順手？</h4><ul><li>外觀漂亮</li><li>沒有反人類的操作流程</li><li>行為符合使用者預期<br>→ 使用者的輸入要有適當的回饋<br>→ 力回饋 (e.g. 機械鍵盤、iPhone 7/8 上的 Home 鍵)<br>→ 視覺回饋 (e.g. 點擊後的回饋、選擇後的變色、顯示額外的內容）</li></ul><h4>什麼是卡卡的？</h4><ul><li>老闆說卡卡的 XD</li><li>畫面不連續 <br>→ <strong>畫面的更新頻率低於 76Hz</strong><br>→ 人眼可以看到 76 Hz 的閃爍<br>→ 真實世界的物體的移動是連續的<br>→ 在顯示物體移動時，如果人眼能夠發現中間有被跳過的畫面，就會覺得卡卡的。</li><li>輸入到視覺回饋的時間差太長<br>→ <strong>點擊超過 69 ms 沒有回饋</strong><br>→ <strong>滑動超過 11 ms 沒有回饋</strong><br>→ 人對於點擊和拖拉滑動有不同的容忍度<br>→ 真實世界的物體受力後會立刻移動，沒有任何時間差。<br>→ 使用者操作後過了太久才產生視覺回饋的話，就會覺得卡卡的。</li></ul><h4>App 卡卡的原因</h4><ul><li>Run loop 的一個 loop 跑了太久 → 拖到了下一個 loop</li><li>沒辦法更新畫面</li><li>沒辦法接收輸入</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QnDeZ8D9Gyi5b2VycAdV1Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kp0IruEp0Br1bKJip-fX2w.jpeg" /></figure><h4>App 卡卡的處理方法</h4><ul><li><strong>使用快取</strong> → 縮短運算時間<br>- UIImage Cached → <strong>init(named:)</strong><br>- Not Cached → <strong>init(contentsOfFile:)</strong></li><li><strong>重複使用 View/Cell</strong><br>- UICollectionView → <strong>dequeueReusableCell(withReuseIdentifier:for:)</strong><br>- MKMapView → <strong>dequeueReusableAnnotationView(withIdentifier:)</strong></li><li>好好利用多核心處理器<br>- 只要把事情分散到各個核心就可以縮短 run loop 處理時間<br>- iPhone 12 上有 6 個 CPU 核心可以同時執行多個執行緒<br>- <strong>使用 GCD、Combine 來把事情移到 run loop 外執行</strong></li></ul><h3>後記</h3><p>這次參與了許多精彩的講座，收穫滿滿 👍👍👍<br>但個人覺得比較惋惜的部分是研討會只有一天，全部的 sessions 和 unconferences 都是三軌並行，造成大家的選擇困難啊啊啊！</p><p>不過當下沒跟到的講座現在也可以上 <a href="https://www.youtube.com/channel/UC6HxGin9_QNfq4MxyXsekNQ/videos">YouTube</a> 看了 👍</p><h3>推薦連結</h3><ul><li><a href="https://speakerdeck.com/johnlinvc/wei-shi-mo-app-qia-qia-de">為什麼 App 卡卡的？ (投影片連結)</a></li><li><a href="https://youtu.be/51l-0cqoLJU">為什麼 App 卡卡的？ (YouTube 影片連結)</a></li><li><a href="https://hackmd.io/@iPlayground">iPlayground HackMD 共筆</a></li><li><a href="https://hackmd.io/@iPlayground/2020/%2FAexCbC_YS8GNvrScuEuD5A">iPlayground 2020 共筆索引</a></li><li><a href="https://iplayground.io/2020/?fbclid=IwAR13QdGIama-LgJFWulkS68Sc-um5F5iWXl4FONXG2y3VdGzbK-S5URr_ak#sechdule-section">iPlayground 2020 Schedule</a></li><li><a href="https://www.youtube.com/channel/UC6HxGin9_QNfq4MxyXsekNQ/videos">iPlayground on YouTube</a></li><li><a href="https://weakself.dev/">weak self podcast</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=111a8b52f63a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>