When you receive an unreadable crash report, you can symbolicate crash logs with the help of Xcode. As a developer, it’s essential to identify symbols and ensure you can fix a crash that potentially affects many of your app’s users. Many of us will benefit from an online platform like Firebase or Datadog, which will …
xcode
Full-screen development with Xcode and the Simulator
While developing apps it’s important to create focus to get in your flow and speed up development. Full-screen mode can help to keep your focus without any distraction from other apps. Up until Xcode 12 full-screen support was hidden behind a user defaults flag. With the latest version of Xcode, we can now simply make …
SwiftUI Previews: Validating views in different states
SwiftUI Previews allow us to develop a lot faster as we can now preview our views live in Xcode. Whenever we change a piece of code, our preview will update and show the rendered change accordingly. While developing a view that has to change into different appearances for certain states it helps a lot if …
Dark Mode: Adding support to your app in Swift
Dark Mode was introduced in iOS 13 and announced at WWDC 2019. It adds a darker theme to iOS and allows you to do the same for your app. It’s a great addition to give to your users so they can experience your app in a darker design. In this blog post, I’ll share with …
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 in Xcode? A breakpoint can …
Xcode refactoring options explained with examples
A brand new Xcode refactoring engine was introduced in Xcode 9. Although this is quite a few Xcode versions ago it is still a quite unknown functionality for a lot of us. You might have read my blog post on command-click options but do you know how to extract methods or variables? The Xcode refactoring …
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 strings, I’ll go over a …
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 a custom UIViewController, they both …
Speeding up development: a collection of tips
Speeding up development to increase productivity can bring you a lot. You’ll work more efficient, deliver faster, and you’ll feel better. Speeding up as an iOS developer was the talk title of my presentations I gave at Swift Heroes, GDG Coimbra, and CocoaHeads NL. To summarize my talk, an overview of one of the best tips I can …
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 …