Xcode
Learn more and get better with Xcode using this list of Xcode blog posts, tutorials, tips, and tricks.
Mastering the assistant editor in Xcode 11
Xcode 11 was introduced during WWDC 2019 and contained improvements in the way the assistant editor works. If you're using a second editor a lot it can be quite frustrating at first when you try to use the same workflow in Xcode 11 when files are opened in the left ...
5 Xcode breakpoints tips you might not yet know
Xcode breakpoints allow us to debug and find out solutions for nasty bugs. Without breakpoints, it would be a fun fest with a lot of print statements everywhere in your code. The basic principles of breakpoints we probably all know but there's a lot more to discover! What are breakpoints ...
Xcode Instruments usage to improve app performance
Xcode Instruments is a developer tool that comes for free with Xcode. It has a lot of useful tools to inspect and improve your app. Although it has a lot to offer, it's often an area which is a bit less known. In this blog post, I'll show you how ...
Unused images and resources clean up in Xcode
Unused images can exist as a result of iterations in a project. Once a feature is no longer needed and remove, it's not always cleaned up completely. Therefore, it's useful to know how to clean up your Xcode assets. Just like in my blog post on cleaning up unused localized ...
Using Xcode Previews with existing UIKit views without using SwiftUI
Xcode Previews have been added in Xcode 11 and allow you to quickly preview the current state of your view. Although you might think that you need to use SwiftUI to make use of this great new feature, it's not true! Whether you're working with a custom UIView or with ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...