A short and quick tip on speeding that error fixing workflow in Xcode.
You may not know this one, it's not common among languages but Swift has a cool little string secret. I'm going to share it with you right now.
Whilst working on my Code Notes application, I wanted to detect when the iPad rotation changes and show/overlay the master view. Here's my solution using Swift.
Using a simple configuration system can help keep those string literals out of code and easy to change.
The moment I realized that subclassing something at the beginning saves you time later.