Use this tag only for questions directly related to changes in version 3 of Apple's Swift programming language.
In XCode 7.3.x ill changed the background Color for my StatusBar with: func setStatusBarBackgroundColor(color: UIColor) { guard let statusBar = UIApplication.…
ios swift swift3 statusbar uistatusbarIn swift 2.0, print() automatically adds a newline character. In swift 1.2, println() and print() used to be separate functions. So how …
swift swift3 swift2this is my code that I want to upload image to server using Alamofire, it not error but it can't …
swift3 alamofireI am defining a custom error type with Swift 3 syntax and I want to provide a user-friendly description of the …
swift swift3 error-handling nslocalizedstringThis line of code used to work with Swift 2, but now is incorrect in Swift 3. if gestureRecognizer.isMember(of: UITapGestureRecognizer) { } …
ios swift3 casting type-inferenceI'd like to return a UIViewController conforming to MyProtocol from a method, so I'm using the method signature: func myMethod&…
ios generics swift3