Xcode Archives

How to fix “active developer path does not exist” with git on macOS

I’ve recently removed Xcode from my ageing MacBook. Ever since then, I’m getting an error when I try to run git from the command line. The error goes something like this: xcrun: error: active developer path (“/Library/Developer/CommandLineTools”) does not exist That’s because Xcode had installed several command line tools provided by Apple, and one of … Read more

How to use Xcode for C and C++ development

Not only is Xcode an excellent IDE for iOS and macOS apps in both Swift and Objective-C; it does just as fine a job for regular C and C++ code. This includes all the features we know and love, such as code completion, version control, and all the rest of it.

Let’s see how to use Xcode 8.3 for C and C++ development.

A Chinese Version of this article can be found here.

Read more

How to populate an NSTableView in Code

In this screencast I’ll show you how to power an NSTableView using code. I’m referencing this article for code snippets and details: http://pinkstone.co.uk/how-to-populate-an-nstableview-in-code/ I’ve also made a “no-code” version on how to populate an NSTableView using an Array Controler and Cocoa Bindings here: http://pinkstone.co.uk/how-to-bind-an-nsarraycontroller-to-an-nstableview/ Enjoy! https://wpguru.co.uk/wp-content/uploads/podcast/316-NSTableView.mp4Podcast: Download (Duration: 15:29 — 90.5MB)

How to bind an Array Controller to a Table View with Cocoa Bindings

In this screencast I will show you how to bind a Table View to an Array Controller in Cocoa, using Xcode 5.1 and OS X Mavericks. We’re using Core Data to save our entries and – check it out – we’re not writing a single line of code! Cocoa Bindings is one of the most … Read more