Skip to content
Hide Menu
  • 關於Max
  • 隱私權宣告

Max的程式語言筆記

我要當一個豬頭,認真過每一天、快樂過每一天就好

Menu
  • 首頁
  • Android
  • iOS
  • Python
  • Dropboxlike
  • WordPress
  • JSP
  • 電腦相關
  • 關於Max

標籤: iOS

How to compare strings in C conditional preprocessor-directives

2018-03-08

想使用 #define 寫code 在 preprocessor 裡,會顯示錯誤: Invalid token at s…

[iOS] NSURLSession request and response

2018-03-052018-03-05

NSURLSession 使用範例: NSMutableURLRequest *urlRequest = [[NSMut…

[iOS] Pass optional block or closure to a function in Swift

2018-02-13

古時候objective-c 寫法: – (void)hardProcessingWithString:(NSStrin…

[iOS] Double value cannot be converted to Int because the result would be greater than Int.max

2018-02-13

因為把 date.timeIntervalSince1970 * 1000 轉成 int 會出錯,所以改用 Int64 …

[iOS] parse json string in swift

2018-02-132018-02-13

我有一組 json 長的像醬子,要在 swift 裡 parse { “date”:[ {&#8…

[iOS] get device ip address in swift

2018-02-132018-02-13

主程式:         if let addr = getWiFiAddress() {             le…

[iOS] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.

2018-02-122018-02-21

If you try to make HTTP requests with ATS enabled (using NSU…

[iOS] How to programmatically check if running on an iPhone or iPad device

2018-02-09

In Swift: if UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdi…

[iOS] LSApplicationQueriesSchemes

2018-02-082018-02-08

這個參數設定似乎很多人都會遇到。   Apple 官方文件: https://developer.apple….

[iOS] build failed with exit 1 signal 0

2018-02-05

之前都可以 build 的 project, 今天把 device 拿來 run ,會無法build 出現 Error …

  • « 上一頁
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 15
  • 下一頁 »
  • © 2023 Max的程式語言筆記
Skacero Theme by : icyNETS