Use this tag only for questions directly related to changes in version 4 of Apple's Swift programming language.
Using XCode 9, Beta 3. Swift 4. statsView.createButton("Button name") { [weak self] Void in //stuff stuff self?.doSomething() } I get hundreds of …
swift closures swift4I'm using the Swift 4 Codable protocol with JSON data. My data is formatted such that there is a single key …
json swift deserialization swift4 codableSo I have an API route that returns a JSON array of objects. For example: [ {"firstname": "Tom", "lastname": "Smith", "age": 31}, {"…
swift swift4 codableI need to make swift static library for my requirement. I made swift static library which uses swift and Obj-c …
ios swift static-libraries swift4 xcode9.3How does the Swift 4 Decodable protocol cope with a dictionary containing a key whose name is not known until runtime? …
json swift4 decodableAs apple has released Xcode 9 beta version with Swift 4.0 support. I have been trying to upgrade my code to Swift 4.0 …
ios swift4 xcode9