Swiftpack.co -  twostraws/Sourceful as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A syntax highlighting source editor for iOS and macOS using UITextView and NSTextView.
.package(url: "https://github.com/twostraws/Sourceful.git", from: "0.4.0")

Sourceful logo

Twitter: @twostraws

Sourceful is a syntax text editor for iOS and macOS, providing subclasses of UITextView and NSTextView that offer live syntax highlighting as you type. Right now it includes syntax highlighting support for Swift and Python, but it's easy to add your own.

This project is a combination of two projects from Louis D’hauwe: SavannaKit and Source Editor.

Both of those projects were archived when Louis joined Apple, which meant they haven’t been updated since Swift 4.1. This causes a variety of pain points with Cocoapods, so Sourceful is designed to avoid them entirely: it combines both those projects into one repository, and is fully updated for modern versions of Swift.


SavannaKit and SourceEditor were designed by Louis D’hauwe. Sourceful was built by combining those two and updating them to modern Swift, and is maintained by Paul Hudson.

Sourceful is licensed under the MIT license; see LICENSE for more information.

Swift, the Swift logo, Xcode, Instruments, Cocoa Touch, Touch ID, AirDrop, iBeacon, iPhone, iPad, Safari, App Store, watchOS, tvOS, Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries.


Stars: 490
Last commit: 3 days 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

1 year ago

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