--- title: "為什麼 App 卡卡的?" tags: "iPlayground2020" --- # 為什麼 App 卡卡的? <!-- {%hackmd vUibBZG0ToSRiPuj0wOKvg %} --> <!-- {%speakerdeck hokila/iplayground-2019-opening-first-day %} --> {%speakerdeck johnlinvc/wei-shi-mo-app-qia-qia-de %} ## 用起來要順手 -沒以反人類的操作流程 XD 有感 -使用者預期的行為 * 力回饋 * 視覺回饋 如果人眼發現中間有被跳過的畫面。就會覺得卡卡的 人眼是很敏銳的,可以看到76Hz的閃爍 輸入到視覺回饋的時間差 ### 回饋要多快才夠快? 對於點擊和拖拉有不同的容忍度 點擊:69ms 拖拉:11ms ### 解決方法 - 重複使用 View/Cell - UICollectionView - UIImage Cached: init(name: ) - MKMapView - 好好利用多核心處理器 - iPhone 12 有 6 個CPU核心 - 只要把事情分散到多個核心,減少runloop #### 在別的執行緒做事情 Dispatch & Combine SwiftUI @state是 ThreadSafe的 ###### tags:`iPlayground2020` `keynote`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up