One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Code
Making SwiftUI views responsive usually involves a lot of GeometryReaders and if-else. In iOS 16, SwiftUI got a new view that makes it easier to create a responsive layout, ViewThatFits.
Get ready for the new release of iOS 16 and watchOS 9 with this lock screen widgets tutorial.

Accessibility in SwiftUI works a little differently than in UIKit, but with a few tips, you'll be able to get up to speed quickly.
In iOS 16, SwiftUI got a new tool, AnyLayout, that makes it possible to transition between layouts while maintaining the identity of the views.

Xcode previews are there to make and see any layout changes faster. And they do - but if you want to test out bindings, you need to give it a little bit of thought.

As developers have started adopting the new additions to Swift concurrency, a key area of interest has been around how this works in tandem with the Combine framework and how much of the existing Combine based functionality can be replaced with async/await, AsyncSequence, etc.
Swift 5.7 brings a whole new way of working with regular expressions.

Apple’s new method of certificate pinning - learn how it’s done and how to increase your app’s security.
News & Updates
Apple today announced iPhone 14 Pro and iPhone 14 Pro Max, the most advanced Pro lineup ever, featuring the Dynamic Island and the Always-On display.

“The Swift Programming Language” book is now an open source project. This new project will be the basis of publishing the book on Swift.org and will use the open source DocC tool.