Infinum #iOSCocoaTreats - weekly dev newsletter
Past issues
Subscribe
Aug 12
Aug 26
Aug 19 2021
Leap Seconds & Multiple Alerts
One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Reverse Engineering UIKit to Fix Our Top Crash
This blog post describes the process of reverse engineering UIKit to identify and fix our top crash in PSPDFKit for iOS.
Read More
Articles
How to show multiple alerts on the same view in SwiftUI
If you have ever worked with an app with multiple alerts, please beware that the system can present only the latest or outermost one. Let's see how we can mitigate this.
Adding Intelligent Code Generation to Swift Projects with SourceKit
I've been playing with intelligent code generation for a couple of years now, and I'd like to show you how to achieve this with SourceKit.
How to use throwing properties to catch failures in Swift
Throwing properties and custom subscripts that throw allows us to catch failures from read-only accessors and handle unhappy paths.
Defining dynamic colors in Swift
Various techniques that let us define fully dynamic colors that adapt to the user’s selected color scheme, using either SwiftUI or UIKit.
Other
Swift's Documentation Markup
Swift always had its own documentation format, but the introduction of DocC in Xcode 13 added some cool new features.
Leap seconds
Causing Bugs Even When They Don't Happen.
P.S. We are hiring!
Previous Issues
Mar 16
Building a Scrollable Custom Tab Bar in SwiftUI, Swift 5.8 and more!
Feb 23
Arbitrary SwiftUI Linear Gradient Rotation, Xcode 16.3, iOS 16.4 and more
Feb 16
Using User Defaults to store preferences in Swift, Swift Cookbook and more...
Feb 9
Color-naming systems, mastering charts and more!
Feb 2
30 000 lines of SwiftUI, Peer Feedback, Master Charts and more!
Jan 26
Storyboard or Code, VisionKit, iOS 16.3 and more!
Jan 19
ChatGPT with SwiftUI, M2 Pro, M2 Max and more!
Jan 12
iOS 16 Photo Picker, SwiftUI Charts, Tips to Survive in Tech and more!
Jan 5
iOS Developer Trends, Enums explained, SwiftUI and more...
Dec 22
Announcing Lottie 4.0, SwiftUI Lifecycles and more!
Load More