S Link
How to build a typing indicator in Swift
Learn how you can build a typing indicator feature in Swift for your iOS app using Pusher to send and show real-time indicators in the UI.
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.
Swift Around the Web
The surprising awesomeness of Grouped Dictionaries
This is a Swift 4 feature I didn't know about, but one that could definitely come in handy!
let numbers = 1 ... 20
let predicate: (Int) -> Bool = { $0 % 2 == 0 }
let grouping = Dictionary(grouping: numbers, by: predicate)
print(grouping)
// [false: [1, 3, 5, 7, 9, 11, 13, 15, 17, 19],
// [true: [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]]
Coding
The Unexpected Joy of Vector Images in iOS 11
This is HUGE!!! As Apple adds more platforms and extensions and sizes and resolutions, it's becoming critical to have a scalable image format that doesn't lose quality as it sizes up πππ
Swift World: Whatβs new in iOS 11βββVision
A deeper dive into the capabilities and code behind the Vision framework, including Machine Learning Image Analysis, Face detection, Face Landmarks Detection, Text Detection, Barcodes Detection, and Object Tracking. I didn't realize the Vision framework was this amazing and powerful!!
However, sometimes you might need other data besides vision. I love this creative project request for speech data!
Other Cool Stuff
Artificial intelligence struggles to tell difference between fried chicken and Labradoodles.
The hardest problem in AI?!! π
Videos
Architecting a Robust Color System with Swift
Amazing talk by @lauraggle on how to leverage the power of Swift to architect an amazing color system based on the Swift re-write of the Meetup app. Must watch section on inclusive design!
Startup Swift
Fascinating story about a team using Swift in a startup environment, without knowing Swift well at first... The focus at first is on the product, and not as much on the code. Yet, Swift's focus on safety helped prevent crashes in code that was not that great.
Sometimes it's hard to remember that the most important part of our jobs is shipping! We learn in the process and improve naturally. We don't have to start out perfect.
Swift Code
- Kuery - A type-safe Core Data query API using Swift 4's Smart KeyPaths
- SplitViewDragAndDrop - Easily add drag and drop to pass data between your apps in split view mode
- Metron - A comprehensive collection of geometric functions and types that extend the 2D geometric primitives provided by CoreGraphics.
- Gagat - A delightful way to transition between visual styles in your iOS applications.
- TinyCrayon-iOS-SDK - A smart and easy-to-use image masking and cutout SDK for mobile apps.
Learning
3 Things Free Soloist Alex Honnold Teaches Us About Staying Hungry
Super inspiring story of a solo climber - someone who is the first to climb El Capitan with absolutely no help from other people and even harnesses, ropes or any other protective equipment that would save him from the certain death of a fall π±
The key here is to break the big mountain into smaller challenges that you conquer over a long period of time. Oh, and when you reach the top, remember that there is another mountain to climb!
Business
New rules following WWDC 2017 - App Store Review Guidelines History
Many changes here! Definitely scroll through at least. This one should allow a whole new category of powerful education and developer tools apps:
"Apps that provide a programming interface may now (in some cases) download and run code from the Internet."
Phased Releases in iTunes Connect
So easy! Seems like a no-brainer for bigger apps.
"Itβs really simple to opt in, and because itβs all managed for you so long as you have no issues itβs all hands off. Thereβs a new radio button in iTunes Connect, Use phased release. If you select that, thatβs it! π"
Swift Thoughts
I'm still catching up and wrapping my head around everything that has been announced at WWDC. It really helped me to watch this video demo of all the new features in iOS 11!