但願看完此文後,你對本身Swift繼續保持信心swift
Swift 內功勸退篇 : mp.weixin.qq.com/s/U95QmOOje…api
要是誰能一口氣讀下來,可謂大成bash
本文內容源於Alamofire、GPUImage3源碼閱讀,發現一些陌生的知識點,牢牢是Swift指南中就有這麼多不算熟悉的內容。吐槽下:相對於Alamofire來講,GPUImage3做者寫的真的是很爛。服務器
ExpressibleByDictionaryLiteral
Sequence
Collection
CustomStringConvertible
Hashable
Codable
Comparable
RangeReplaceableCollection
以上協議常見應用場景是什麼,有什麼做用?markdown
閱讀如下代碼,print 輸出什麼app
@propertyWrapper struct Wrapper<T> { var wrappedValue: T var projectedValue: Wrapper<T> { return self } func foo() { print("Foo") } } struct HasWrapper { @Wrapper var x = 0 func foo() { print(x) // `wrappedValue` print(_x) // wrapper type itself print($x) // `projectedValue` } } 複製代碼
public
open
final
static
class
mutating
inout
infix operator
@dynamicMemberLookup
where
@dynamicCallable
@autoclosure
@escaping
以上關鍵字使用場景是什麼?函數
有何異同?oop
柯里化
什麼意思POP
與 OOP
的區別Any
與AnyObject
區別rethrows
和 throws
有什麼區別呢?break
return
continue
fallthough
在語句中的含義(switch、while、for)🐻搭建Swift服務器:Ubuntu16.04 + vapor + swift5.2.2 releasepost
各位神仙解答直接丟在評論區,我整理後稍後更新答案!學習
加V備註:掘金;入羣一塊兒學習🐻