S Link
try! Swift NYC 2017: Limited tickets left!
Join me for the Swift Community Celebration π₯ππ³ in New York City on September 4th - 6th. Contribute to Open Source Swift. Get the latest scoop from the founder of RxSwift. Master the new Swift 4 Codable. Build your first ARKit app. Add Machine Learning to your iOS App. Switch to Swift on the Server-Side with the creator of Vapor. Go bowling with new friends!
Use code TRYLASTCHANCE by Friday to get $100 off!
Swift Around the Web
Under the hood of Futures & Promises in Swift
Great explanation of what a promise vs a future is and how they work in Swift:
"A Promise is something you make to someone else."
"In the Future you may choose to honor (resolve) that promise, or reject it."
Coding
How to train your own model for CoreML
A detailed tutorial on how to train your app to identify not only π, but also π, π, π, π, π₯, π©, and more!
Working with CoreNFC in iOS 11
CoreNFC
hasn't gotten as much attention since WWDC, but is something that is a big deal to finally have an API for and could open up a new class of interesting applications:
"Hereβs a practical use-case: You run a shop and want the customers to just walk in, scan an item using NFC, and walk out. Thereβs no hassle and no wait time. As an app developer, without access to NFC, the second best thing would probably be bar-codes or QR-codes, but thatβs annoying and takes a lot more work to scan.
So, whatβs the catch? Though Apple finally opens up the NFC reader, the company strictly limits our access. This means
CoreNFC
only supports the NDEF format mentioned earlier. If you are planning to useCoreNFC
to replace your RFID iClass cards (a commonly used format in business security cards), think again."
Apple News
Swift static libraries
In case you missed it... As of Xcode 9 Beta 4, Swift static libraries are now supported π
Design
ARKit and Autism: New Futures
Again, the world-changing possibilities of ARKit
continue to surprise and amaze me π
Other Cool Stuff
Videos
Adventures in ARKit (with magic)
Super inspiring talk that captures the imagination, excitement, and execution of a clever idea with ARKit
. Warning: you're going to want to build with ARKit
after this!
Type-safe Web APIs with Protocol Buffers in Swift
Real-world application of Protocol Buffers, including implications with Codable
!
Swift Evolution
Swift 5: start your engines
The biggest news here is that ABI stability will be a requirement for Swift 5:
"First, ABI stability is the center focus of Swift 5 β and we will pivot much of our prioritization of efforts for Swift 5 around it. With Swift 4, ABI stability was a strong goal. In Swift 5, it is a requirement of the release. Whatever ABI we have at the end of Swift 5 is the ABI that we will have. ABI stability is an important inflection point for the maturity of the language, and it cannot be delayed any longer."
In addition, the Swift evolution process is changing in a big way. All Swift 5 proposals must have an implementation before they are officially reviewed by the Core Team.
"An implementation can come long after an idea has been pitched and after a proposal has been written. However, before a pull request for an evolution proposal will be accepted β and thus an official review scheduled β an implementation must be in hand for a proposal as part of the review. The existence of an implementation does not guarantee that the proposal will be accepted, but it is instrumental in evaluating the quality and impact of the proposal."
Swift Code
- ARPaint - Draw with bare fingers in the air using ARKit
- ARKit-CoreLocation - Combines the high accuracy of AR with the scale of GPS data.
- TimeZonePicker - A TimeZonePicker UIViewController similar to the iOS Settings app. Search and select from a range of cities and countries to find your most suitable time zone.
- AVFonts - AVFonts for change/swap fontname throughout app.
- Gemini - Gemini is rich scroll based animation framework for iOS, written in Swift.
- StringFormatter - Simple Text Formetter (Credit Card Number, Phone Number, Serial Number etc.)