xcode
Xcode Tricks: Multiple Selection
Have you used a code text editor that’s truly sophisticated and powerful, such as SublimeText or TextMate or Visual Studio Code or RubyMine? One very cool feature that they all have in common is multiple selection, also referred to as multiple cursors. This means you can select and edit multiple stretches of text simultaneously. When …
Rant: Xcode and the Protocol Paradox
This is a rant about an extremely useful Xcode feature that completely stops working just when you most need it to work. At the risk of giving the whole story away right at the start, I’ll just give the whole story away right at the start! The useful feature is Xcode’s ability to show you …
Xcode Tip of the Day: Work in Two Places
In Xcode, the object of your attention is very often two or more files simultaneously. In Objective-C, you might want to work in a class’s header file and its implementation file. In a storyboard-based app, you might want to work in a storyboard scene and in the UIViewController subclass that it corresponds to. You might …
Improvements in Testing in Xcode 12
Xcode 12, iOS 14, and Swift 5.3 bring with them a number of significant improvements in testing. If you live and die by tests — or even if you just wish you did — you’re going to be very happy to hear about these. Some of these changes actually appeared earlier, in Swift 5.2, Xcode …
Xcode 12 — What a Pane
As iOS programmers, we live and breathe and have our being within Xcode, so it makes sense to be as familiar as possible with its capabilities, and to take advantage of whatever innovations allow us to get work done. But, ironically, as a new version of Xcode is released, exactly when noteworthy new features are …
Testing Forward Compatibility in Xcode
At the time of this writing, we are in that betwixt-and-between period leading up to the release of iOS 14; Xcode 12, Big Sur, and iOS 14 itself are still in beta, but things could start to go final any day now. If you’ve got existing apps, there are various ways to prepare for that …
Xcode Tip of the Day: Where Am I?
As soon as your app grows to more than a few view controllers, you can easily find yourself looking at code in Xcode’s code editor without a clear idea of where that code lives in your project as a whole. You know what code you are looking at, because the jump bar at the top …