Use this tag only for questions directly related to changes in version 4 of Apple's Swift programming language.
How would one convert the following to Swift from Objective-C? if (myVar) return; Swift does not use parentheses around the …
ios objective-c swift swift3 swift4I'm trying to convert my project's source code from Swift 3 to Swift 4. One warning Xcode is giving me is about …
swift xcode swift4When I using Swift4in Xcode 9 gives me UIApplication.delegate must be used from main thread only .... must be used …
appdelegate swift4 xcode9This code works ok in ios10. i get my label and an image button which is the user photo profile, …
ios swift ios11 xcode9-beta swift4In Swift 4, I'm getting this error when I try to take a Substring of a String using subscript syntax. 'subscript' …
swift string swift4