跳到主要內容

iOS corebluetooth

https://www.jianshu.com/p/9591f1b8b7eb
http://southpeak.github.io/2014/07/31/core-bluetooth-programming-guide-2/

printing-a-variable-memory-address-in-swift
https://stackoverflow.com/questions/24058906/printing-a-variable-memory-address-in-swift

ios-stay-connected-to-an-external-ble-device-as-much-as-possible
https://medium.com/arkulpa/ios-stay-connected-to-an-external-ble-device-as-much-as-possible-699d434846d2

save-custom-objects-into-nsuserdefaults
https://stackoverflow.com/questions/29986957/save-custom-objects-into-nsuserdefaults
https://stackoverflow.com/questions/26469457/saving-custom-swift-class-with-nscoding-to-userdefaults
https://stackoverflow.com/questions/29986957/save-custom-objects-into-nsuserdefaults
https://stackoverflow.com/questions/44876420/save-struct-to-userdefaults

ble autoreconnect
http://muhlenxi.com/2017/07/07/About-Ble-Auto-Connecting/

how-to-compare-two-struct-objects
https://stackoverflow.com/questions/46074718/how-to-compare-two-struct-objects

how-to-store-a-cbperipheral-for-use-in-other-views
https://stackoverflow.com/questions/17455240/how-to-store-a-cbperipheral-for-use-in-other-views

find-object-with-property-in-array
https://stackoverflow.com/questions/26073331/find-object-with-property-in-array

swift基礎-錯誤處理-try-try-try-
https://medium.com/one-two-swift/swift%E5%9F%BA%E7%A4%8E-%E9%8C%AF%E8%AA%A4%E8%99%95%E7%90%86-try-try-try-1339ab450dc6
https://itisjoe.gitbooks.io/swiftgo/content/ch2/error-handling.html

find-an-object-in-array
https://stackoverflow.com/questions/28727845/find-an-object-in-array

how-to-navigate-through-textfields-next-done-buttons
https://stackoverflow.com/questions/1347779/how-to-navigate-through-textfields-next-done-buttons?noredirect=1&lq=1

circlebar
https://www.iostutorialjunction.com/2018/05/how-to-create-circular-progress-view-swift-tutorial.html
https://www.youtube.com/watch?v=O3ltwjDJaMk
https://www.hackingwithswift.com/example-code/calayer/how-to-make-a-shape-draw-itself-using-strokeend

swift-determine-ios-screen-size
https://stackoverflow.com/questions/24110762/swift-determine-ios-screen-size

how-to-add-textfield-in-uialertcontroller
https://stackoverflow.com/questions/34504317/how-to-add-textfield-in-uialertcontroller

Day-14 Swift 語法(10) - 多種用途的 Enumerations
https://ithelp.ithome.com.tw/articles/10195397

留言

這個網誌中的熱門文章

collection view part6 swift

preselect collectionview https://stackoverflow.com/questions/45610785/how-to-preselect-and-highlight-a-cell-from-a-uicollectionview https://hackernoon.com/uicollectionviewcell-selection-made-easy-41dae148379d if collectionview allow multiple selection remeber add this, cell item could be Deselect collectionView. selectItem (at: indexPath, animated: true , scrollPosition: . top ) https://stackoverflow.com/questions/15330844/uicollectionview-select-and-deselect-issue save indexpath userdefault https://stackoverflow.com/questions/34804294/how-to-save-nsindexpath-locally https://stackoverflow.com/questions/37001643/how-to-add-nsindexpath-to-nsuserdefaults-in-swift navigation presneted viewcontroller dismiss https://stackoverflow.com/questions/31205002/why-is-it-bad-practice-to-have-a-viewcontroller-dismiss-itself indexpath comparison         if selectIndexPath . contains (indexPath) {             cell. isSelect...

android java 小數點的坑

如果temp  = 12.5                         val newTemp = "%.1f".format(Tempvalue) 原本的寫法是這樣 在法語區 將newTemp.toFloat() 後會掛,因為法語地區的小數點是 , 逗號 所以沒法轉成 12.5  會變成 12,5 後來的解法 將拿到的數字硬轉成 12.5  其他就不管了 val newTemp = "%.1f" . format ( Locale . US , Tempvalue)

collection view part 5 swift

load plist data https://www.cnblogs.com/gongyuhonglou/p/6029340.html https://blog.csdn.net/sophieDJF/article/details/88247388 https://stackoverflow.com/questions/24045570/how-do-i-get-a-plist-as-a-dictionary-in-swift https://stackoverflow.com/questions/40436895/how-to-read-plist-without-using-nsdictionary-in-swift get specifig key in dictionary https://stackoverflow.com/questions/24640990/how-do-i-get-the-key-at-a-specific-index-from-a-dictionary-in-swift get specifig key with index https://stackoverflow.com/questions/31775724/swift-dictionary-access-via-index get collectionview selection https://stackoverflow.com/questions/21639394/how-to-select-item-in-collectionview-programmatically add button in uinavigationbar https://www.hackingwithswift.com/example-code/uikit/how-to-add-a-bar-button-to-a-navigation-bar child viewcontroller pass data to parent viewcontroller https://stackoverflow.com/questions/39285588/how-to-pass-data-from-child-to-parent-view-controller-in-sw...