archive. The old programming guides are wonderful, and many of the tech notes are invaluable. It’s a tragedy to see them abandoned without being adequately replaced. It’s a very sad situation.
We should be pushing Apple to focus on improving documentation and I’d love to see Apple resource this department with everything that it needs to get this colossal task done. It’s just not as simple as aiming for 100% coverage.
Dave Verwer
Vettery specializes in developer roles and is completely free for job seekers. Interested? Submit your profile, and if accepted, you can receive interview requests directly from top companies growing their mobile dev teams. Get Started.
I’d imagine most of you have already read Brent Simmons’ piece on SwiftUI not being ready this week, so I’m going to link to this one by Jason Brennan instead.
It’s true that SwiftUI probably isn’t ready for your app right now, but we do need to be a little careful with how we react to that. Is the omission of a UI control “baffling”, or is it absolutely understandable? This community has (justifiably) given Apple a very hard time for buggy betas and releases this year. It doesn’t feel quite right to also then give them a hard time for not shipping enough. 😬
Packages should be able to contain images, data files, and other resources needed at runtime.
Yes, they should! 📦 I hope this gets approved and implemented quickly.
You might be aware that it’s quicker to launch an app with a small number of large frameworks than with a large number of smaller ones. If you’re using CocoaPods to manage your dependencies though, you’ll be limited to having a separate framework for every dependency. Enter this plugin by Siddharth Gupta that allows you to merge frameworks together as your app is built.
This is interesting. I linked to Captain AHAP (which is still a great name!) a while ago which lets you design custom haptic patterns. This app is slightly different, it’s designed to make a custom haptic to match an audio waveform. The audio is mapped in a browser based editor and there’s a companion app available for testing out how it feels. This is probably quite niche, but I do like the idea.
This is a super simple and smart little hack from Daniel Tavares that leverages Playground and macOS Automator. Simply select some text, and instantly have it open in a playground. Not everything has to be complicated! 👍
This is a wonderful, in-depth look at the layout systems in SwiftUI from Alexander Grebenyuk.
You can feel that SwiftUI was created with a completely different mindset than Auto Layout. It is not an academic exercise to efficiently solve systems of linear equalities and inequalities.
I did grow to love Auto Layout over the years, but it never felt quite as natural as springs and struts to me. SwiftUI instantly feels better, and just as flexible where it actually matters.
I really liked Sarun Wongpatcharapakorn’s guide to the modality changes in iOS 13 that I linked to back in September, and now he’s tackling the navigation bar. Get yourself up to speed with this article, and don’t forget to also check part 2 out once you’re done!
This was a much more in-depth article on CloudKit sharing than I’d have expected for a “tips and tricks” style article. Dan Griffin shares some knowledge that you’ll want to be aware of if you’re using CloudKit.
Łukasz Mróz with a @ Delayed
property wrapper that’ll let you remove those pesky force unwraps from your outlet variables. I do love seeing how people are using property wrappers, and while I’m not sure I’d bother with this for an outlet (which are so very rarely nil), I can imagine other uses for this wrapper.
Pull to refresh is great, but only works well for timeline-based apps. Various apps have tried to do various other things with “pull to …” over the years, and none have really caught on. Apple have already standardised on having a search box at the top of data lists, and I like this suggestion from Sam Dods to lean into that a bit more.
It will only make sense in certain kinds of apps, but I did like this technique from Geoff Hackworth for previewing what’s missing in the full version of an app by showing it briefly, blurring it and then showing an upsell. I’m not a huge fan of alerts with this much text on them, but the technique would work just as well with a view controller sitting atop the blurred content.
A full complement of talks from the wonderful try! Swift conference from New York last month.
There’s even a talk of mine in here if you look carefully. 🙈
When life gives you lemons, make lemonade. 🍋