Use this tag only for questions directly related to changes in version 3 of Apple's Swift programming language.
I have a simple object which conforms to the NSCoding protocol. import Foundation class JobCategory: NSObject, NSCoding { var id: Int …
ios swift swift3 nsuserdefaults nscodingIn older version of Alamofire. This is how I download file let destinationPath = Alamofire.Request.suggestedDownloadDestination( directory: .documentDirectory, domain: .userDomainMask); …
ios swift swift3 alamofire alamofireimageNew in Xcode 8 beta 4, NSError is bridged to the Swift Error protocol type. This affects StoreKit when dealing with failed …
swift swift3In Objective-C, a custom notification is just a plain NSString, but it's not obvious in the WWDC version of Swift 3 …
swift nsnotificationcenter nsnotifications nsnotification swift3How do I write the following in Swift3? for (f = first; f <= last; f += interval) { n += 1 } This is my …
swift swift3Why doesn't this work in swift 3 ? It crashes at runtime saying: '-[my_app_name.displayOtherAppsCtrl tap:]: unrecognized selector sent …
ios selector swift3I have the following code in Swift 3: var numbers = [1,2,1] for number in numbers.count - 1 { // error if numbers[number] < …
arrays swift swift3 sequence for-in-loopI'm writing a basic music player app but having some problems when it comes to handling the app state transitions. …
ios xcode swift3 mpmediaplayercontroller