Open Source Swift Library Simplifying iOS UIKit And Mac AppKit Cross-Platform Development

With many iOS UIKit, and Mac AppKit classes there are only small differences of name, and syntax so code can be converted easily between the two platforms, but it can be tedious.

Here’s an open source library that provides a number of functions to simplify cross-platform iOS-Mac development in Swift called X from Sam Soffes.

X provides a set of types using type alias, and in some cases adding in custom functions so that you don’t have to worry about name differences, and other small differences when creating code for colors, fonts, gesture recognizers, images, and views when using AppKit and UIKit.

You can find X on Github here.

A nice library for those creating cross-platform Mac and iOS apps.

Original article: Open Source Swift Library Simplifying iOS UIKit And Mac AppKit Cross-Platform Development

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *