Use this tag only for questions directly related to changes in version 3 of Apple's Swift programming language.
In Swift 2.0, Apple introduced a new way to handle errors (do-try-catch). And few days ago in Beta 6 an even newer …
swift error-handling swift3 swift2With Swift 3 leaning towards Data instead of [UInt8], I'm trying to ferret out what the most efficient/idiomatic way to …
swift swift3 swift-dataHow do I check which one is the current thread in Swift 3? In previous versions of Swift it was possible …
ios multithreading swift3 nsthreadI am currently writing Swift 3 code in Xcode 8. When using oldValue and newValue default parameters inside the willSet and didSet …
ios swift swift3In Swift 2 the following code was working: let request = NSFetchRequest(entityName: String) but in Swift 3 it gives error: Generic parameter "…
swift core-data swift3I'm trying to update this code to swift 3: NSNotificationCenter.defaultCenter().addObserver(self, selector: Selector("keyboardWillShow:"), name: UIKeyboardWillShowNotification, object: nil) NSNotificationCenter.…
ios swift swift3 nsnotificationcenterWhy does the following code give me the error: Invalid type in JSON write (_SwiftValue). The error is thrown on …
alamofire swift3Could you please help on how to get country code using NSLocale in Swift 3 ? This is the previous code I …
ios swift3 nslocale