https://github.com/amirdaliri/new-in-swift-4-1
https://github.com/amirdaliri/new-in-swift-4-1
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amirdaliri/new-in-swift-4-1
- Owner: AmirDaliri
- License: mit
- Created: 2018-04-09T07:13:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-09T07:15:00.000Z (about 7 years ago)
- Last Synced: 2025-02-13T14:41:27.125Z (3 months ago)
- Language: Swift
- Size: 488 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What’s new in Swift 4.1?
This is an Xcode playground that demonstrates the new features introduced in Swift 4.1:
* Synthesized `Equatable` and `Hashable`
* Key decoding strategy in `Codable`
* Conditional conformances
* Recursive constraints on associated types
* Build configuration import testing
* Target environment testing
* `flatMap()` is now (partly) `compactMap()`This is designed to complement my existing article [What’s New in Swift 4.1?](https://www.hackingwithswift.com/articles/50/whats-new-in-swift-4-1)
If you hit problems or have questions, you're welcome to tweet me [@twostraws](https://twitter.com/twostraws) or email .
**Note:** This playground requires Swift 4.1, so you should have installed Xcode 9.3 or later. This is available through the [Mac App Store](https://itunes.apple.com/gb/app/xcode/id497799835?mt=12) or direct from .
