跳到主要內容

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

collection view part3 swift

make random color for test, i put in cell background color watch diff https://stackoverflow.com/questions/29779128/how-to-make-a-random-color-with-swift because use CYlayer, i have to remove layer https://stackoverflow.com/questions/10789766/remove-all-sublayers-from-a-view https://stackoverflow.com/questions/37581951/ios-how-to-remove-previously-added-sublayers-of-a-uiview/37581988 alpha gradint with imageview https://stackoverflow.com/questions/11807876/transparent-alpha-gradient-with-core-graphic-iphone swift map and flatmap http://swiftcafe.io/2016/03/28/about-map/ get local date and time https://stackoverflow.com/questions/28404154/swift-get-local-date-and-time swift dictionary basic https://stackoverflow.com/questions/27313242/how-to-append-elements-into-dictionary-in-swift add 1 day to NSDate https://stackoverflow.com/questions/5067785/how-do-i-add-1-day-to-an-nsdate get keys from dictionay https://stackoverflow.com/questions/26386093/array-from-dictionary...

js30 d27 drag跑馬燈

https://github.com/richardhsieh18/js30/tree/master/course27 CSS transform: scale(0.98);  =>  transform: scale(1); js     isDown = true;     slider.classList.add('active');     startX = e.pageX - slider.offsetLeft;     scrollLeft = slider.scrollLeft;   });     if(!isDown) return; //stop the function from running     e.preventDefault();     const x = e.pageX - slider.offsetLeft;     const walk = (x - startX) * 3;     slider.scrollLeft = scrollLeft - walk;   });