新版本的变更 / Swift 5.0
ABI stability
The Result type
Raw strings
The @dynamicCallable attribute
The isMultiple(of:) method
The compactMapValues method
try? no longer nests optionals
The @unknown default case
Custom string interpolation
The compactMapValues method
此示例属于完整版,可在应用商店购买:
Swift Recipes
App Store
Code Recipes
App Store
已经购买?登录您的账户