What started as a deep dive into Format Styles in iOS 15 and iOS 16 quickly outgrew a series of posts on a blog. In the grande tradition of cuss including titled informational websites who have a singular goal. I present to you:
or (for those needing less cussing in their life)
It’s a single page, and includes much more detail than the previous posts.
There’s a quiz
In all of my research, the biggest hurdle I ran into was not knowing what I could even do with with these format styles.
There’s an FAQ
Everything has been organized by their use cases and includes styles available for use in both Xcode 13 and Xcode 14.
- Minimum Requirements
- The Basics
- Numeric Styles
- Single Date Styles
- Date Range Styles
- Duration Styles (New for Xcode 14)
- Measurement Style
- List Style
- Person Name Style
- Byte Count Style (Updated for Xcode 14)
- URL Style (New in Xcode 14)
- Custom FormatStyle
- SwiftUI Integration
- AttributedString Output