想使用 #define 寫code 在 preprocessor 裡,會顯示錯誤: Invalid token
NSURLSession 使用範例: NSMutableURLRequest *urlRequest = [[
古時候objective-c 寫法: – (void)hardProcessingWithString:(NS
因為把 date.timeIntervalSince1970 * 1000 轉成 int 會出錯,所以改用 I
If you try to make HTTP requests with ATS enabled (usin
In Swift: if UI_USER_INTERFACE_IDIOM() == UIUserInterfa
之前都可以 build 的 project, 今天把 device 拿來 run ,會無法build 出現 E