SwiftyBones GitHub page is here:
SwiftyBones is a modular Swift library for interacting with both the digital GPIO, PWM and Analog pins on the BeagleBone Black. This library is written to make it easy to write Swift applications that run on the Beaglebone Black that interacts with external sensors, LED or any device connected to the Digital GPIO and/or Analog pins.
Since SwiftyBones is a modular library you only need to include the functionality required for your projects rather than all of the functionality. Currently SwiftyBones supports both digital GPIO, PWM and Analog. There is also a component library that makes it easy to add specific components like LED, buttons, H-Bridge and several other componenents. I will be adding additional components and I use them for my projects. Please feel free to contribute components that you make.
There are several example projects (with Fritzing diagrams) included with SwiftyBones to help you get started using Swift and SwiftyBones with your next IoT, Robotic or any other project you are working on with the Beaglebone Black.
SwiftyBones has been updated to work with Swift 3. The repository is here https://github.com/hoffmanjon/SwiftyBones3