跳到主要內容

swift 190531 part2

how-to-make-both-header-and-footer-in-collection-view-with-swift
https://stackoverflow.com/questions/29655652/how-to-make-both-header-and-footer-in-collection-view-with-swift

IOS-nRF-Toolbox
https://github.com/NordicSemiconductor/IOS-nRF-Toolbox
https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate

Swift Class vs Struct:設計 Model 時,該用 Struct 還是 Class 呢?
https://www.appcoda.com.tw/swift-class/

swift-struct-doesnt-conform-to-protocol-equatable
https://stackoverflow.com/questions/37541512/swift-struct-doesnt-conform-to-protocol-equatable

bluetooth-low-energy-characteristic-value-from-byte
https://stackoverflow.com/questions/33441870/bluetooth-low-energy-characteristic-value-from-byte

how-do-i-change-the-font-size-of-a-uilabel-in-swift
https://stackoverflow.com/questions/24356888/how-do-i-change-the-font-size-of-a-uilabel-in-swift

uitextfield-leftview-rightview-padding-on-ios7
https://stackoverflow.com/questions/19371018/uitextfield-leftview-rightview-padding-on-ios7
https://gist.github.com/psobko/7173180

set-uibutton-text-color-programmatically
https://stackoverflow.com/questions/34320215/set-uibutton-text-color-programmatically

facebook integration ios
https://developers.facebook.com/docs/swift/getting-started

facebook swift sdk has bugs v0.7.0
https://github.com/facebook/facebook-swift-sdk

laravel-56-login-with-facebook-with-socialiteexample
https://itsolutionstuff.com/post/laravel-56-login-with-facebook-with-socialiteexample.html

how-to-change-uibutton-image-in-swift
https://stackoverflow.com/questions/26837371/how-to-change-uibutton-image-in-swift

pushing-view-controller-from-child-view-controller
https://stackoverflow.com/questions/37933367/pushing-view-controller-from-child-view-controller

how-to-parse-json-response-from-alamofire-api-in-swift
https://stackoverflow.com/questions/26114831/how-to-parse-json-response-from-alamofire-api-in-swift

how-to-validate-an-e-mail-address-in-swift
https://stackoverflow.com/questions/25471114/how-to-validate-an-e-mail-address-in-swift
https://stackoverflow.com/questions/24102641/how-to-check-if-a-text-field-is-empty-or-not-in-swift

check-for-an-active-internet-connection-on-ios-or-macos
https://stackoverflow.com/questions/1083701/how-to-check-for-an-active-internet-connection-on-ios-or-macos
https://github.com/ashleymills/Reachability.swift

multiple-lines-of-text-in-uilabel
https://stackoverflow.com/questions/990221/multiple-lines-of-text-in-uilabel

UI 設計師需要知道的 iPhone X 細節
https://medium.com/uxabc/iphone-x-ui-design-specs-696fd4f262b6

留言

這個網誌中的熱門文章

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...