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 … 

 

Updating to Swift 4.2

Swift 4.2 is a major release and shipped with Xcode 10. It comes with a lot of code improvements for which the best way to start is to watch the WWDC 2018: What’s New in Swift session. Some of the improvements are easy to implement in your existing code. Replace strongSelf with self SE-0079 makes … 

 

Debugging breakpoints as a replacement for prints

Debugging breakpoints in Xcode allows you to replace prints and reuse debugging statements in future debugging sessions. By simply enabling and disabling needed breakpoints you can also get rid of debug levels as often defined in libraries like CocoaLumberjack. Reuse breakpoints by enabling them when needed Use breakpoints to replace print statements Keep your code … 

 

Using the Network Link Conditioner Utility

The Network Link Conditioner on iOS and macOS enables you to test your app in networking conditions like your users might have while using your app. It allows you to simulate networking conditions like 3G, Edge or High Latency DNS. Using the Network Link Conditioner on iOS You can find a Networking section inside the … 

 

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 …