S Link
Prepping for a tech iOS interview? This book will help you ace it!
The iOS Interview Guide packs answers to more than 72 common iOS specific interview questions. It helps you prepare for the unexpected on your interview by giving you an overview of what there is to learn on the iOS platform. It covers Swift, UI, networking, storage, design patterns, architecture questions, and more. Each question has a reasoning behind why it is asked, the expected answer, and answers that would raise red flags to your interviewer. For subscribers of This Week In Swift, we have a special discount of 25%! Get your copy here.
The Swift Algorithms Book (LAST CHANCE for pre-order for Swift 4.0)
The Swift Algorithms Book takes a fresh approach to explain concepts that power search engines, databases, and social networks. It blends modern code, illustrations and computer science concepts to help you pass your interview or build your next app. The current edition is being rewritten to support Swift 4.0 and adds new content on Dynamic Programming and iOS interview preparation! Use discount code THEROBOT at checkout to receive 20% off your pre-order.
Swift Around the Web
The Best New Features in Swift 4
I've linked to posts outlining most of these new Swift 4 features before, but here they are one last time given that Swift 4 is not officially in GM! Combined Class and Protocol Types make me happy 😇
Dijkstra’s Algorithm In Swift
Really fascinating and super easy-to-read article about finding the shortest path between two nodes in a graph in Swift. But read this just for your own curiosity and fun. Turns out, GameplayKit has you covered!
Coding
iPhone X: Dealing with Home Indicator
It's not just the notch we have to worry about... but also the home indicator... Apple makes this super simple with only a few settings on the ViewController, but it is yet another ViewController state to think about 😑
Apple News
Download Xcode 9, Swift 4, iOS 11, and watchOS 4 GM releases 💃🏻
Lots of stuff here! Make sure to test out your app in the new iPhone X simulator. Luckily the newest iPhone won't ship until November, so there's time to make the necessary fixes and updates 😅
Swift Local Refactoring
The Swift team shows off the true power of the new Xcode 9 refactoring engine as it applies to refactoring local Swift code. Spoiler: it's a lot more powerful than we asked for. Must learn for all Swift devs!
Design
iPhone X iOS Human Interface Guidelines
"Don't attempt to hide the device's rounded corners, sensor housing, or indicator for accessing the Home screen by placing black bars at the top and bottom of the screen. Don't use visual adornments like brackets, bezels, shapes, or instructional text to call special attention to these areas either."
In other news, make sure to check out the new Augmented Reality HIG!
How iOS Apps Adapt to the iPhone X Screen Size
The good news is that iPhone X is designed to be backward-compatible for apps built with Xcode 8. So all the joking about the notch aside, it shouldn't be too bad to adopt your app to the notch. If you've been using native Apple components such as UINavigationBar
and layout guides, you might not need to do anything.
Other Cool Stuff
It's the Apple Event Recap Song!
Featuring try! Swift NYC 2017 speaker & performer @jamesdempsey from James Dempsey and the Break Points 👏👏👏
Videos
Fall 2017 Videos
Good news! We don't have to wait until the next WWDC for great talks and videos on how to adapt our apps to the newest iPhone X / Apple Watch Series 3 / ARKit Face Tracking / etc. Apple has released videos for everyone now 🎁
Swift Evolution
Synthesizing `Equatable` and `Hashable` conformance
🎉🎉🎉
"Developers have to write large amounts of boilerplate code to support equatability and hashability of complex types. This proposal offers a way for the compiler to automatically synthesize conformance to
Equatable
andHashable
to reduce this boilerplate, in a subset of scenarios where generating the correct implementation is known to be possible."
Swift Code
- iOS-11-by-Examples - 👨🏻💻 Examples of new iOS 11 APIs
- CoreML-in-ARKit - Simple project to detect objects and display 3D labels above them in AR.
- NotchFix - I think I’ve fixed the notch issue in landscape 🍾 #iphoneX (tweet). Follow-up idea 🐍
- ARCharts - Lovely Augmented Reality Charts for iOS - Built with ARKit
- VegaScroll - VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9.
- Cassowary - An incremental linear constraint-solving algorithm (Auto Layout) in Swift.
Business
Thoughts and Observations on the Products Announced at This Week’s iPhone X Introductory Event
The Best Joke 🙈: "Craig Federighi, demonstrating the new animoji feature by turning his face into an animated pile of poo: 'If you were wondering what humanity would do when given access to the most advanced facial animation, now you know.'"
Technology is not Neutral
This is a great reminder as we head into the mobile machine learning era... think twice about the biases that machines will be learning from us and adjust accordingly.
Swift Thoughts
Thank you to everyone who attended, volunteered, emceed, and spoke at try! Swift NYC. You all made it the most amazing event - better than I could have imagined or hoped for ❤️❤️❤️
I'll be including videos from the incredible talks here as they come out over the next several weeks. You're going to want to see these! For those of you who live further away from NYC, make sure to join us in Bangalore in November and Tokyo in March next!
After a short post-conference break, I'm back and with some exciting news to cover after the epic Apple Event last week. Enjoy!