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 CATCHTRY by Friday to get $50 off!
Swift Around the Web
A story about Swift source compatibility
Great reminder to add your project to the swift-source-compat-suite! The Swift team is truly amazing in responding so quickly to these type of impossible issues.
JSON to Swift with Decoder and Decodable
The magic behind how a JSON string like "[0, 1, 2]" is turned into a Swift array of integers ✨✨✨
Coding
Using Vision Framework for Text Detection in iOS 11
I knew that the Vision
framework detects faces and objects, but did you know it can also detect text, including handwritten text?!! Combine that with CoreML
/ OCR and you've got some powerful app possibilities. Happy Building!
Location Permissions in iOS 11 and avoiding the Blue Bar of Shame
The anti-Uber Blue Bar of Shame is here in iOS 11! Here are some ways to avoid it while still getting the information you need... I didn't even know about the Visits API!
Apple News
Apple Machine Learning Journal
Whoa! Apple engineers started a machine learning blog! First blog post: Improving the Realism of Synthetic Images.
Design
When Friction In Design Is Good For UX
I always think of ways to reduce friction even more in my apps, but this article definitely puts a new perspective on things. It makes a lot of sense to use friction as a tool - and just like any tool, sometimes it comes in handy!
Other Cool Stuff
Videos
WATCH
watchOS 4: Frontmost App State
Just a few lines of code!
"When it comes to new tools developers can take advantage of, the most compelling thing has to be the new frontmost app state.
The frontmost app is defined as the app that’s on the watch screen when the user drops their wrist. If a user raises their wrist within 2 minutes, they’ll see this same app again (and it’ll become the active app).
This new state allows us to bridge the user experience gap, and engage with and notify users even when they’re not looking directly at the watch app"
Swift Code
- instantsearch-ios - ⚡️ A library of widgets and helpers to build instant-search applications on iOS.
- MessageKit - In-progress: A community-driven replacement for JSQMessagesViewController. Blog post here
- GooglePlacesClone - This repository aims for a tutorial on how to use the Google Places API in conjunction with Google Maps iOS SDK
- AZDialogViewController - A highly customizable alert dialog controller that mimics Snapchat's alert dialog.
Other Platforms
Pretty Printing HTML
This is one article in @mbrandonw's series on the foundations of server-side Swift from first principles. I really enjoyed learning about the intricacies of pretty printing in this one!
"
Pretty printing
is the act of taking a piece of data, and printing it to a string that in some sense is aesthetically pleasing. For example, HTML is a tree of nodes that make up a document, and can be printed to a string in a variety of ways"