Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 974 Bytes

07 20210225.md

File metadata and controls

39 lines (32 loc) · 974 Bytes
import Foundation

func user(url, values, context) -> VC {
    guard let userID = values["id"] as? Int else { return nil }
    return UserViewController(userID: userID)
}

let dic = [
    "myapp://user/<int:id>": user
]

assertionMapping = dic = [
    "myapp://user/<int:id>": UserVC.self
]
Tsungyu Yu9:54 PM
https://github.com/jonreid/ViewControllerPresentationSpy 跟上次一樣的東西
Te Cheng Hung9:59 PM
簡單的聚會筆記:https://hackmd.io/C2Nfy9_0SKWYhmDKkEtncg?both
Sung-Hao Lin10:01 PM
https://www.tenlong.com.tw/products/9781680506815
1. FPS 60(iPhone), 120(iPad) 
a. RunLoop 原理
b. CALayer vs UIView 的取捨

2. App Launch Time
 a. pre main (多用 swift, storyboard)
 b. main
 c. after main (app delegate, instrument)

3. TableView 

ex. Line 的 MasterCell to DetailCell 的卡頓
1. preLoad 的 data 可能有圖片等比較大量的資料
2. 資料庫的選擇
3. 加解密
4. Line vs What'aApp vs Telegram. Telegram 是 Open Source