Swift 4 Blog Project Updates

Posted on Sun 06 August 2017 in Open Source Swift • Tagged with swift, linux, development, cli

Hark! The time is upon us for the great Swift 4 migration. Woe are the developers still using Swift 3. So say we all!

And... with that out of the way, I've decided to take some time to update the Swift projects on this site to Swift 4 and ...


Continue reading

Wrapping C Code Within a Single Swift Package

Posted on Sat 26 November 2016 in Open Source Swift • Tagged with swift, development, cli, c, swift package manager

Working with C code from Swift always seemed to me to be one of those dark arts that us well to do developers shouldn't need to dabble in. However, it's actually a fairly simple proposition, and the Swift compiler and Swift Package Manager lend a big helping hand ...


Continue reading

ABI Compatibility: Whoopdty Do, What Does It All Mean?

Posted on Thu 19 May 2016 in Open Source Swift • Tagged with swift, development, cli

News of Swift 3.0 not having ABI compatibility in the upcoming release is rampant throughout the Twitter and blog spheres. I personally feel like the impact of not having ABI compatibility is much less severe than perceived, for a few reasons we'll consider here.

We'll also try ...


Continue reading

Getting Started with OpenWhisk Server Side Swift

Posted on Sat 26 March 2016 in Open Source Swift • Tagged with swift, development, cli

With the burgeoning server side Swift movement picking up steam, some larger players have started incorporating Swift into their cloud offerings. One such player is IBM, who has long been in the cloud business but is often not top of mind when it comes to cloud offerings, at least in ...


Continue reading

Using swiftenv To Install and Manage Swift Versions

Posted on Wed 09 March 2016 in Open Source Swift • Tagged with swift, development, cli

With the proliferation of Swift snapshot builds, and Apple's relatively high release cadence, managing Swift versions has come to be a bit of a pain. This is especially felt on Linux since Swift doesn't just get bundled with each Xcode release. Linux users must go out and manually ...


Continue reading

Roadblocks When Making Cross Platform Command Line Swift Scripts

Posted on Sun 17 January 2016 in Open Source Swift • Tagged with swift, development, cli, linux

I set out with the intention of updating the Using Swift To Make Command Line Scripts post so that the script would run using the open source version of Swift 2.2 on both Linux and OS X. However, I encountered some roadblocks along the way, and in hopes that ...


Continue reading

Making a Slack Slash Command Integration using Swift on Heroku

Posted on Wed 16 December 2015 in Open Source Swift • Tagged with swift, development, heroku, github

A lot has changed in the open source Swift world in the past few weeks! The community has already provided some great coverage on the announcement, so I'll just get to the good stuff!

One of the key components to the release is the ability to run Swift code ...


Continue reading

Swift Libraries That Are Open Source Swift Friendly

Posted on Wed 02 December 2015 in Open Source Swift • Tagged with swift, development, libraries

On the road to open source Swift, some enterprising developers have jumped ahead and started writing libraries, scripts, and apps with an open source Swift in mind. Given a long head start from the Apple announcement to the (alleged) end of year release, these developers have put a significant amount ...


Continue reading

Using Swift To Make Command Line Scripts - Part 2

Posted on Tue 17 November 2015 in Open Source Swift • Tagged with swift, development, cli

Welcome back! In part one of this two part series, we got started using Swift along with OptionKit to build simple command line script. In this second and final part, we'll pull all the pieces of the puzzle together and use the foundation we've built along with some ...


Continue reading

Using Swift To Make Command Line Scripts - Part 1

Posted on Wed 04 November 2015 in Open Source Swift • Tagged with swift, development, cli

Since we have no open source Swift yet to play with, I figure we have some time familiarize ourselves with what we currently have in Swift as distributed on OS X with Xcode. To that end, I think a good use of our time is learning to use Swift as ...


Continue reading