另,應該還可以壓入點壓拖曳,調整列的位置等功能!
對了!第一次看見箭頭@@?
>>
All of this information is rolled up into the function’s definition, which is prefixed with the
func keyword. You indicate the function’s return type with the return arrow -> (a hyphen followed by a right angle bracket), which is followed by the name of the type to return.
函式的定義就是由這些資訊組合的,其中
出處:http://mikimoto.gitbooks.io/the-swift-programming-language-zh-tw/content/book/206_Functions.htmlfunc是定義函式的關鍵字。函式的回傳型別則是透過"箭頭"來表達-> (一個連字號和右箭頭的組合),在箭頭後面填的是回傳值的型別定義。對應 Rob Swift 53
以下為程式碼:
沒有留言:
張貼留言
歡迎網友的交流與分享,謝謝。