Hackingwithswift.com
Less than 1 minute
Catalog
Availability checking in Swift: backwards compatibility the smart way
I screwed up one key accessibility behavior, and now I'm on a mission to do better
Learn essential Swift in one hour
Swift Concurrency by Example
SwiftData by Example
SwiftUI by Example
What's new in Swift 6.0?
What's new in Swift?
- A new Set data structureClasses can now have static methods and propertiesClosures can now be marked @noescapeConstants no longer require immediate initializationImplicit bridging has been reducedMultiple if let bindingsThe flatMap() method transforms optionals and arraysThe zip() function joins two sequencesTypecasting now includes as!
- ++ and -- are deprecatedComparing tuplesCompile-time Swift version checkingMore keywords can be used as argument labelsRenamed debug identifiers: line, function, fileStringified selectors are deprecatedTraditional C-style for loops are deprecatedTuple splat syntax is deprecatedTupleVariable parameters have been deprecated