Q: Who was Swift for Arduino made by?
A: Swift for Arduino is not affiliated with Apple or Arduino. My name is Carl Peto, I am an independent software developer, working in iOS for 8 years and in professional software for 25 years. By day I do consultancy work. I invented the Swift for Arduino compiler, library and IDE in my spare time and developed concept and business with my parter Ellie Kay.
Q: Will it work on my hardware?
A: Swift for Arduino is a self contained application, designed to work on modern Macs (macOS Sierra, 10.12 or later) building and uploading via USB to an Arduino UNO (and some other supported boards, mostly those based on the atmega328p chip). It allows you to program with a limited subset of the Swift language I like to unofficially call "uSwift" (as in 'micro Swift'). It will be fairly familiar to Swift developers, although there are many areas where you do things differently, as is normal for all microcontroller programming.
Q: How much does it cost?
A: We are charging $40 for the full, unlimited version of Swift for Arduino to purchase a copy of the software. This will include free IDE upgrades as the product improves and unlimited support (within reason).
If you prefer, you can pay a monthly subscription of $3 instead to use the Mac App Store version (see below). This has the benefit of a completely free, no strings attached one month trial.
Q: How do I buy?
A: Just click HERE to go to the payments page, then press the "Pay by Card" button and buy securely using a credit or debit card, payments powered by Stripe.
If you would rather use the Mac App Store version and pay as you go subscription (with free one month trial), then go HERE and when you decide to get a subscription, just follow any of the prompts in the app.
Q: Why is the macOS Apple App Store product called "S4A IDE", rather than "Swift for Arduino", is it different?
A: The version on the App Store is functionally the same. It has the same Swift compiler, same uSwift standard library, same LLVM back end, GCC/binutils and avrdude. But it uses a different build system not based on gmake. All of this is due to strict code signing and sandbox restrictions on the app store. The "Swift for Arduino IDE" you can purchase here is still code signed, hardened and notarised by Apple but not sandboxed, allowing it more functionality and a gmake based build engine.
Also the names "Swift" and "Arduino" have been removed from all prominence in the app at the request of the app review team.
Q: Isn't this just for kids/education?
A: S4A is a great introduction to microcontrollers. Unlike many other platforms where the tutorials work, or you download a simple project, but the minute you make a small change, everything breaks, S4A is built on Swift; a powerful first class compiled language from the C family that is used every day by millions of professional programmers. The intention is that when you go to make the next project and the one after that, things will continue to work smoothly. The safety built into the language from the ground up prevents whole classes of undefined behaviours and programmer errors. This makes more difference than you realise. Combined with the powerful, expressive syntax, and you have a tool that can be used by any developer that will save you time and pain and means you can spend more time programming and less time debugging. This is a great product for beginners and experienced developers alike.
Q: I have another question...
A: If you have any other questions about S4A, you can email us at email@example.com.