Stuart Breckenridge

Auto-generating Quick Help Text with Xcode 8

Xcode 8 introduces new Editor Extension functionality that allows you to customise your coding experience. Given that Xcode 8 is still in beta I haven’t seen or tested any third party extensions just yet. However, in amongst all the new feature blurb something caught my attention:

Auto-generate Quick Help documentation

For the last few years I’ve been using the excellent VVDocumenter to assist in generating the Quick Help text, but as of Xcode 8, it’s been sherlocked.

How do you use the new in-built Quick Help text generation functionality? Simply click on the function you wish to add documentation to and then use the following key combination option + command + /, as seen in the below example.

Shoehorning 3D Touch onto the Home Screen

iOS 10 implements a 3D Touch Share option on the home screen for all applications.

The problem with the Share option is that the intent is not clear: what are you actually sharing? A link to the app? The app itself? Some app content? This seems like a way to shoehorn 3D Touch onto all apps on the home screen.

Bug Report: Core Data Generated Files Not Found by Xcode 8

Xcode 8 promises to bring many improvements to Core Data, however, it seems to be having an issue in that it stops working pretty quickly even after several reinstalls.

My issue is that Xcode generates new NSManagedObject’s and then can’t find them in the build process. Instead, I see the following error:

<unknown>:0: error: no such file or directory: '~/Library/Developer/Xcode/DerivedData/Project-ehewnupfwfyaezbdvoohlbtmspad/Build/

Interestingly, the file the error is referring to — .Country+CoreDataClass.swift — exists in the folder above without the leading .. I’ve filed Radar 27151410.

See also:

The FFI List: In-App Subscription

Yesterday I released v1.1 of The FFI List and with it, I’m trying a new business model. The app is now free and from July onwards new FFI List downloads will be accessible through an auto-renewing subscription.1

I intend to keep this going for six months and then review the uptake.

  1. £0.79/$0.99 per month. ↩︎