Use this tag only for questions directly related to changes in version 2.x of Apple's Swift programming language.
I want to use Alamofire to retrieve a bearer token from Web API but I am new to ios and …
ios swift2 alamofireI just noticed that static members of Swift structs are implicitly lazy. For instance, this will only call the init …
swift static swift2 lazy-loading static-membersIf you have protocol like so: protocol Messaging { func sendMessage(message: String) } Is there any way to satisfy it in …
swift swift2Trying to use Facebook OAuth with the SafariViewController. First I open the authURL with SafariViewController, which if the user is …
swift facebook oauth swift2 sfsafariviewcontrollerI have a UIImagePicker set up within my app that works fine. I would like to upload a profile picture …
ios firebase swift2 uiimagepickercontroller firebase-storageWith Objective-C, I used the code shown below to set/change font family and size of a picker: - (UIView *)…
swift swift2 uipickerview pickerThis code in XCode 6 does not have error but in XCode 7 (Swift 2) this error has occurred : Method does not override …
swift swift2I put the personal image instead of the traditional red pin. When I open the map to display the pin, …
ios mapkit swift2 xcode7 mkannotationIn Swift 2.0 NSError conforms to the ErrorType protocol. For a customly defined error, we can specify the associating object(s) …
swift error-handling swift2