Swift 2.0 Study Notes (Day 12) -- talk about several special operators, swift Study Notes
For Original Articles, please reprint them. Reprinted Please note: Guan Dongsheng's blog
In addition to some common operators, there are also some other:
• Reference Number (.): operator such as instance call attributes and methods.
• Question mark (?) : Declares the optional type.
• Exclamation point (!) : Forcibly unban optional type values.
• Arrow (->): specifies the type of the function or method return value.
• Colon operator (:): used to separate "key-value" pairs in a dictionary set.
......
Welcome to Guan Dongsheng Sina Weibo @ tony _ Guan Dongsheng.
Follow the public platform of Zhijie classroom to learn about the latest technical articles, books, and tutorials.
More boutique iOS, Cocos, mobile design courses please pay attention to the official site of Zhijie classroom: http://www.zhijieketang.com
Zhijie classroom Forum website: http://51work6.com/forum.php
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.