With the release of Xcode 8, Apple changed up a few things, including the option to inject code into Xcode at runtime. And with that, plugins as we know them are no more.
However, Apple announced that Xcode 8 now has “official” support for creating editor extensions. There are some limitations (e.g. no UI) yet we’re on the right track (read no hacks required). Even better, given each extension is a macOS app, you can distribute your extensions on the Mac App Store!
In this post by Patrick Balestra describes how to create an extensionthat transforms any closure to use the simpler and cleaner syntax.
Writing Your First Xcode 8 Extension in Swift
Using and Extending the Xcode Source Editor from WWDC 2016.
Arthur Ariel Sabintsev’s Siren project notifies a user when the version of an app installed on device is older than the version in the App Store. The project supports version numbers with two to four increments (1.x to 1.x.x.x).
One particular feature of interest is the various options for notifying the user – force an upgrade; prompt for now or later; or offer options to update now, later or next time the app is started.
Siren is a Swift port of the Objective-C project Harpy.
Sliding menu control for iOS apps written in Swift. The interface has a few customization options and works with or without Storyboards.
Interested to support multiple platforms with a single code base?
In this post, I’d like to show you how to create a Swift framework for iOS, watchOS, and tvOS and get them distributed via Carthage and CocoaPods.
Cross Platform Frameworks – @basememara
“Inspired by Apple’s download progress buttons in the app store”
@pklada & @miketsprague created a control to offer a similar look and feel for Guidebook 4.0.
“We received a number of requests to demonstrate how we created the progress button, and we decided to take it even further: we open sourced it.”
Download Progress Indicator
In this video Aurelius Prochazka demonstrates, via an Xcode playground, how to work with audio synthesis, audio processing/analysis, all with real time audio feedback.
Working with audio in Swift – @AudioKitMan
This Xcode playground demonstrates the basics of working with Metal, specifically, how to draw fractals. If you are interested to experiment with the Metal API, this is a good place to start.
Metal Fractals Playground ~ @jtbandes