티스토리 뷰

Swift & objc

swift guard, if 기준정하기

rhinoPHS 2018. 3. 14. 23:49






swift guard, if 기준정하기



참고

- guard 참고

https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html

https://www.natashatherobot.com/swift-when-to-use-guard-vs-if/

[위 사이트 번역] http://blog.canapio.com/108?category=948003

[더 봐야할] http://radex.io/swift/guard/

[더 봐야할]https://thatthinginswift.com/guard-statement-swift/


- where 문법 참고

https://stackoverflow.com/questions/38446598/xcode-8-beta-3-expected-joining-parts-of-a-multi-clause-condition 

https://github.com/apple/swift-evolution/blob/master/proposals/0099-conditionclauses.md


thanks a lot👍









'Swift & objc' 카테고리의 다른 글

swift unit test  (0) 2018.03.19
피드백 정리  (0) 2018.03.19
typealias, Tuple  (0) 2018.03.16
swift type properties  (0) 2018.03.15
swift protocols  (0) 2018.03.14
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
글 보관함