Use this tag only for questions directly related to changes in version 4 of Apple's Swift programming language.
I've been trying to find an example, but what I've seen doesn't work in my case. What would be the …
swift swift4 key-value-observing keypathsI am getting this error after installing Google Maps SDK from CocoaPods. CoreData: annotation: Failed to load optimized model at …
ios google-maps sdk swift4 xcode9.1tl;dr Is it possible to instantiate a generic Swift 4 enum member with an associated value of type Void? Background …
swift enums swift4How can you get a string value from Swift 4 smart keypaths syntax (e.g., \Foo.bar)? At this point I'm …
ios swift reflection swift4 key-value-codingAfter the gloss project for Swift 4 in Xcode 9 I am getting following error which i have no idea Closure tuple …
ios swift swift4 xcode9-betaI have been going through the recent swift docs and working out on few examples in understanding private and fileprivate …
ios swift swift4 access-control access-specifierHow to convert values of type '[String : AnyObject]?'to expected argument type '[NSAttributedStringKey : Any]?'? open class func …
swift nsattributedstring swift4 nsattributedstringkeyI'm using Xcode 9.0. My pod file: pod 'Alamofire', '~> 4.3' pod 'SwiftyJSON' pod 'AlamofireSwiftyJSON' pod 'KSToastView', '0.5.7' pod …
ios architecture swift4 xcode9 bitcodeTrying to get substring of String and append it to array of Strings: var stringToSplit = "TEST TEXT" var s = [String]() …
swift swift4