Swiftpack.co -  madmachineio/SwiftIO as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A Swift framework for microcontrollers.
.package(url: "https://github.com/madmachineio/SwiftIO.git", from: "0.0.3")


alt Discord

SwiftIO pinout

A Swift framework for microcontrollers. The SwiftIO board provides a good way to learn Swift code. Write your code in the IDE, download to your board, and you'll get the results in real time if you've had the circuit connected.


The SwiftIO library provides an easy access to communicate with the external circuits simply by invoking the related classes/methods in the MadMachine IDE. You can read or write the digital and analog signal, as well as using the communication protocol.

Library structure

You can obtain the source code of each clasee in the following links.


Before starting to write your project, you can download and run the example codes here to get familiar with the library usage.

  • GetStarted - simple code to learn the basic skill
  • SimpleIO - examples using analog and digital signal
  • AdvancedIO - examples using communication protocle

IDE Installation

Please choose the version according to your operating system and install the IDE following the instructions below.


Stars: 95
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

SwiftIO v0.0.3
3 weeks ago
  • Add I2SIn
  • Add I2SOut
  • Fix bugs

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API