iOS Developers Start Here
Not sure where to get started? Try some of these popular topics or browse the latest articles.
Popular Articles
- My WWDC 2022 viewing guide to help you plan the sessions you want to watch.
- The notch is being replaced by the dynamic island. Here's a recap of what's changed with the 2022 iPhone 14 screen sizes.
- What happened to the Info.plist file in Xcode 13?
- Apple gave buttons a big upgrade in iOS 15.
- How do you add internal padding to a stack view?
- The Git commands I use most often.
SwiftUI
- SwiftUI ViewThatFits makes it easier to build adaptive layouts.
- SwiftUI has a less clumsy mechanism for dismissing presented views in iOS 15.
- How to configure the column visibility, width and style of a SwiftUI NavigationSplitView.
- A quick guide to creating your own custom SwiftUI environment values.
- How do you set the background color of a SwiftUI scrollable view like lists and forms?
- Add color gradients and drop shadows to your SwiftUI views.
Swift
- Swift 5.7 brings a whole new way of working with regular expressions.
- The many ways to create and use Swift Strings.
- The Swift If-Case-Let syntax always seems backwards to me. Here's a reminder how you use it.
- Using a for loop to work with collections? Take a few minutes to learn about Swift map, filter and reduce operations.
- Are you wondering about lazy properties in Swift? Let's look at how and when should you use them.
- Apple added a much easier way to work with date, number and other data formatters in iOS 15 and macOS 12.
Swift Package Manager
- Here's my quick guide to creating Swift packages with Xcode.
- How to edit a Swift package in an Xcode project that depends on the package.
- Starting with Xcode 12, you can add more than just source code to your Swift packages.
- Xcode playgrounds can import and use Swift packages. It's not the solution I was hoping for but it's a step in the right direction.
Xcode
- What happened to the Info.plist file in Xcode 13?
- My favourite Xcode keyboard shortcuts to supercharge your Xcode experience.
- Want to document your code? Get started with the DocC documentation system.
- Xcode 13 added a useful network instrument to record and analyze URL sessions and HTTP traffic.
- Xcode 14 can finally automatically generate all of the app icon sizes for you.
- A tour of the new SwiftUI preview canvas in Xcode 14.
Auto Layout
- The notch is being replaced by the dynamic island. Here's a recap of what's changed with the 2022 iPhone 14 screen sizes.
- Apple introduced the keyboard layout guide in iOS 15. It can make it easier to build layouts that adapt to the keyboard.
- Keep your contents safe by learning how to use the safe area layout guide.
- A quick tip that can save you some pain when editing multiple constraints in Interface Builder.
- Check your storyboards, stack views have started to show their background color with iOS 14.
- Apple recommends you start with stack views, use constraints as needed.
Dynamic Type
- Dynamic type is an essential iOS feature that allows the user to choose their preferred text size.
- Apple added the font metrics class in iOS 11 to make it less painful to use custom fonts with dynamic type.
- How do you use a custom font with SwiftUI that scales like dynamic type.
- How can you scale other metrics, like spacing, as the dynamic type content size changes? In iOS 14, SwiftUI gained the @ScaledMetric property wrapper that can scale any numeric value.
Accessibility
- What makes text hard to read?
- What's the one accessibility feature, other than VoiceOver, you wish more developers knew about?
- How do you make views that update frequently accessibile?
- Since iOS 15 you can set limits on the minimum and maximum sizes of dynamic type.