/Sourceful

A syntax highlighting source editor for iOS and macOS using UITextView and NSTextView.

Primary LanguageSwiftMIT LicenseMIT

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.

Credits

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.