{ swift } 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 -
Skipping Tests in Xcode
In this post, we’ll explore a number of different techniques we can use to disable or skip tests in Xcode, more specifically we'll be looking into how we can skip tests based on the OS or Xcode version in use.
Read More -
Markdown test specifications
An interesting use of markdown files as test specifications for xcdiff - a Swift command line tool.
Read More -
Live Reset For UI Tests
How to leverage live reset to speed up your UI tests!
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 -
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