How to compare strings in C conditional preprocessor-directives
想使用 #define 寫code 在 preprocessor 裡,會顯示錯誤: Invalid token at s…
我要當一個豬頭,認真過每一天、快樂過每一天就好
想使用 #define 寫code 在 preprocessor 裡,會顯示錯誤: Invalid token at s…
NSURLSession 使用範例: NSMutableURLRequest *urlRequest = [[NSMut…
古時候objective-c 寫法: – (void)hardProcessingWithString:(NSStrin…
因為把 date.timeIntervalSince1970 * 1000 轉成 int 會出錯,所以改用 Int64 …
我有一組 json 長的像醬子,要在 swift 裡 parse { “date”:[ {…
主程式: if let addr = getWiFiAddress() { le…
If you try to make HTTP requests with ATS enabled (using NSU…
In Swift: if UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdi…
這個參數設定似乎很多人都會遇到。 Apple 官方文件: https://developer.apple….
之前都可以 build 的 project, 今天把 device 拿來 run ,會無法build 出現 Error …