James Dempsey with a new site that answers the age-old question of “What version of Xcode should I install if I need Swift 5.1?” This would have been a really useful resource to have while building this!
Is this new tool from Nick Lockwood the greatest utility in the world, or is it just a … 😂 I was a big fan of how CocoaPods made it easy to keep your open-source attributions in order, but this tool isn’t tied to a specific dependency manager.
Note: This won’t work with projects that use Swift Package Manager yet as it scans for LICENSE files inside the project directory, and SPM caches dependencies outside that directory by default.
Update: Nick just contacted me to let me know he pushed a fix that should let this work with projects that use SPM too! That’s what I call a quick response. Thanks Nick!
There have been many ways to integrate with Interface Builder (yes, I still call it that 🙈) over the years, ranging from the constant frustration of ibplugin
modules, through to the more recent @IBDesignable
and @IBInspectable
properties. Interface Builder is replaced with Xcode Previews for SwiftUI, but you can still integrate your own views alongside the system ones in Xcode 12. Keith Harrison explains.
How does the SwiftUI layout system go about dealing with grids? It seems like that should be quite a simple task, but there are some subtleties that Florian Kugler is here to teach us about.
Naturally, SwiftUI manages focus automatically for things like text fields, buttons, lists, and similar. But what happens when you want to make a custom view focusable? Majid Jabrayilov shows us how.
I love the idea of the limited photo library API that iOS 14 introduced. Unfortunately, it’s easy to make a pretty terrible user experience with it, partly because the API is quite limited, and partly because the feature is turned on regardless of whether your app has declared support for it. Learn how to do it right with Andy Ibanez.
This is a smart tip from John Sundell.
Isn’t refactoring just about renaming methods? 😂 Let’s wrap up this week’s links with a video from Jon Reid talking on refactoring at Cocoaheads NL recently.
iOS Swift & iOS QA Engineer @ Redzone Production Systems – Redzone is looking to hire talented Engineers to join our team. We build a communication and collaboration platform that enables frontline workers to resolve day-to-day production issues themselves before they become problems. (iOS, Swift, Scala, AWS, Kubernetes) – Remote, Miami FL, or Birmingham UK
Senior iOS Engineer @ Branch – Want to build transparent and honest financial services that help working Americans grow? Come join us! – Remote within the US
Senior iOS Engineer @ Runtastic – Contribute to our mission of changing the world through sport! Join the Runtastic team and support hundreds of millions of users in the adidas Running and adidas Training apps as they progress along their fitness journey. We’re currently looking for Senior iOS Engineers to join squads focusing on connecting millions of users through engaging social features or building our CRM core capabilities. – Austria
How would you sort an array of numbers, if performance didn’t matter? 😂