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 … 

 

Dark mode on iOS preparations using asset catalog colors

Although still rumors, it’s likely that Apple is going to announce system-wide dark mode support for iOS 13. We’re not talking about the inverted colors variant of dark mode, but more about the Mojave style of a darker appearance. What is dark mode? Some of the bigger apps on iOS already built-in support and show … 

 

Cheat sheet examples for Xcode and Swift development

A cheat sheet can be a handy tool to quickly reference Xcode, Swift or iOS logic from a compact overview. Ideally, you can print them out and lay them down on your desk. This makes it really easy to access and use them often. Therefore, I’ll show you a few useful cheat sheets which you … 

 

Speeding up with Xcode Behaviors

Xcode behaviors can change the way how Xcode responds to certain events. Default behaviors help you already by showing for example the debug navigator when hitting a breakpoint, but they can speed you up a lot more. A list of behaviors which are not enabled by default. Starting point is the behaviors tab which can … 

 

Shortcuts essentials in Xcode to speed up your workflow

Making use of essential shortcuts in Xcode can speed up development and keep you in your flow. Xcode allows you to customise a lot, but most of the shortcuts are easy to adopt by default without custom settings. Run without building Sometimes during development, it can be useful to run the same build again, without … 

 

Command-click on code options and possibilities in Xcode

Command-click no longer jumps to definition by default since Xcode 9 is introduced. It opens up a handy menu instead with a lot of options for quick editing, like: See all callers Edit all in scope and renaming Extracting methods The old command-click behaviour can be restored in the settings or simply mimicked by using … 

 

Build performance analysing in Xcode 10

Xcode 10 provides new ways to analyse your build performance. Gather valuable insights into your build performance using the new Build Timing Summary. Build performance insights with Build Timing Summary New in Xcode 10 is the Build with Timing Summary action. Running this action builds your project once shows a summary of the build and … 

 

Using Xcode custom file templates with GIT

Xcode custom file templates are a great way to develop just a bit faster and enable you to define a base template with all repetitive work included. Combining it with GIT enables you to share these files in your team and let them benefit as well. Creating a GIT repository for Xcode custom file templates … 

 

Useful less known Xcode tips to improve your workflow

Xcode is the main IDE for developing software for macOS, iOS, watchOS, and tvOS. It contains a lot of well-known features like Open Quickly (⇧ + ⌘ + O), the assistant editor and handy shortcuts like ⌘ + U to run tests quickly. Some other features are less known but just as useful and these … 

 

Enabling newly added opt-in features in Xcode 10

During WWDC 2018 Apple announced Xcode 10 with a lot of new features. Many of them are available for you automatically and enabled by default, but some of them might not show up and need some manual adjustments. Code folding To enable it, open preferences under Text Editing > Editing and select Code folding ribbon. …