{ ios } Posts
-
Defining Multiple Accessibility Actions in SwiftUI
Defining multiple custom accessibility actions in SwiftUI is tricker than it first appears. In this post we'll explore why and some possible workarounds to get it working.
Read More -
Safe Area Insets
The interesting and somewhat odd UIKit safeAreaInsets behaviour when using child view controllers.
Read More -
Live Reset For UI Tests
How to leverage live reset to speed up your UI tests!
Read More -
Leveraging xcconfig files in shared projects
How to use xcconfig files to enable developers using their own individual developer accounts to work on the same Xcode project.
Read More -
UIBarButtonItem & iOS 11
All the fun subtle differences in behaviour of UIBarButtonItems on iOS 11.
Read More -
Styling In Storyboards Using Swift
How to leverage reflection in Swift to simplify styling of custom UI components within Storyboards.
Read More -
Cleaner asynchronous tests with XCTest
A few tips on how to clean up some of your asynchronous tests!
Read More -
What's really new with UI Testing in iOS 10
A run through some of my findings of what's changed with UI testing in iOS 10.
Read More -
Triggering Events while UI Testing
Two techniques to trigger events in your application while UI testing in XCTest.
Read More -
Testing analytics on iOS with XCTest
Two techniques to test and ensure your analytics code is wired up correctly.
Read More -
UI Testing with NSUserDefaults
A few tips on how to leverage `NSUserDefaults` to improve your UI tests.
Read More -
Swift Keyed Callbacks
A walk through a utility class I wrote to safely manage callbacks in Swift.
Read More -
xcodebuild's new exportOptionsPlist flag
Here's the magic xcodebuild flag that will generate an ipa file with all the right contents from the command line. Especially for apps that are written in swift or for those that bundle a Watch app.
Read More -
UICollectionViewCells Dynamic Width
How to make UICollectionViewCells dynamically adjust their width to fill the screen like UITableViewCells do.
Read More -
UITableView Moves and Updates
When using UITableView, data updates can be animated to create a seamless transition, however you may run into this known limitation where cells can't be moved and updated at the same time. In this post I walk through an example of when that can happen and how to work around it.
Read More -
Command line Watch Kit builds
Do you use xcodebuild for your iOS builds? Have you been trying to submit your latest build with Watch Kit Support? Here's how I got it working!
Read More -
Debugging gesture recognizers
A quick tip for getting a list of conflicting gesture recognizers.
Read More -
iOS Tips: Debugging UI
Two tips to help you troubleshoot UI issues with your app.
Read More -
iOS Tips: Don't use 'description'
When you have a custom class that needs a description property don't use
Read Moredescription
!