Developer productivity is important to deliver your project on time. There’s a lot you can do as I already described in my blog post: Speeding up development: a collection of tips but even more, if we dive into detail. In this blog post, I’ll give you some of my tips and tricks which I use …
Quickly run your latest tests again
^+⌥+⌘+G This shortcut enables you to re-run the last run tests again.
Hide code folding ribbon for a cleaner editor
Keep your editor clean and hide the code folding ribbon if you don’t use it.
Sort files by name in Xcode and stay organized
Sort files and folders and keep your project organized.
@unknown default usage with enums in Swift
@unknown default has been introduced in Swift 5 with SE-0192. It’s a new addition to the way we can work with Swift enums and helps us to prepare for future changes. After updating your project to Swift 5 you might end up with a new warning in Xcode 10.2: Switch covers known cases, but ‘UNAuthorizationStatus’ may …
Swift 5.0: How to migrate your project and frameworks
Swift 5.0 has been released in March 2019 and is the first ABI stable Swift release. Although a lot of resources cover the new things in Swift 5.0, they do not often offer you information on what you need to do to update your project to Swift 5.0. In this post, I’ll go over the …
WWDC First timer tips: How to get the most out of it
WWDC first timer tips help you to get the most out of Apple’s World Wide Developer Conference. This conference takes place every year around the first weeks of June. It’s the event at which Apple announces the new iOS version, Xcode updates, and latest API changes in depth. It’s a chance to experience the Keynote presentation …
Blog about Swift: Tips and ideas to start your own
How to start your own Swift blog? It’s a question I get asked more and more. I’ve given some tips already in my interview with hackingwithswift.com, but it’s not as good as writing a dedicated post to help you start up your own blog. May 2nd, 2015 I wrote my very first blog post. At …
Unused localized strings clean up from a Strings file
Strings files are used for localization in iOS and MacOS apps. These files can grow over time and make it hard to maintain. It’s easy to end up with a lot of unused localized strings. Although this is not an issue for performance or slowing you down a lot, it is kind of nice to …
Required keyword usage in Swift classes and structs
The required keyword in Swift can be used in front of initializers in Swift. Its usage is simple and it’s a small use-case, but the usage of the keyword can easily be understood in the wrong way. Required initializers Some think that the required keyword makes only that initializer available when creating a class. Instead, …