One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Introducing Ask Apple - Latest News
Join us for Ask Apple, a new series for developers to connect directly with Apple experts. Ask about integrating the latest technologies into your apps, designing intuitive UIs, testing on the latest software, and so much more.
Read More
Code
Alternate App Icons allow your users to customize the icon to fit their home screen. Learn how to change icons in Xcode and Swift.

In iOS 16, Apple introduces a new view called AnyLayout. You can use it to switch layout dynamically. Say, switching between HStack and VStack based on the device's orientation.

In this article, I will show you all 6 list styles you can use with SwiftUI List view in iOS.


Date, time and numbe
SwiftUI has many ways to dismiss a sheet view based on how you structure your view and the minimum iOS version you support.


Swift 5 added some nice improvements to string interpolation that many people may not be aware of.



If you call SwiftUI’s task modifier inside a view’s body property, the async operation will run on the main actor. However, this isn’t the case if you call task from a helper property or function that isn’t main-actor-annotated. Why?

News & Updates
In a few weeks, Apple will release iOS 16.1 for all compatible iPhones, marking the first major update to the iOS 16 operating system since its...

Someone complained that putting Swift in the OS has only made things worse for developers. That's valid, but misses the point.