Formatting is an open source Swift library that allows you to perform functional string formatting, and adds type safety.
Formatting utilizes a syntax similar to common print formatting statements, but allows you to avoid common errors that can occur such as when a string is null or optional, and also allows you to compose formatters which can then be used as functions.
Created string formats can be used functionally like in this example from the readme:
format("Hello, " % string % "!")
greet("world") // Hello, world!
You can find Formatting on Github here.
A nice Swift string formatting library.
FlightAnimator is an open source library from Anton Doudarev built upon CoreAnimation providing a feature rich natural animation engine with a clean Swift based syntax.
FlightAnimator supports 31 different parametric curves, spring and decay animations, supports animation of a wide number of view properties, a chainable blocks based syntax, cached animations and more.
This video clip from Anton shows FlightAnimator in action:
— Anton (@AntonTheDev) June 29, 2016
You can find FlightAnimator on Github here.
A nice library for View animation.
Willow is an extensive Swift based logging library with a number of great features from Nike Inc.
Some of the features included with Willow are:
- Simple to use syntax using closures
- Different log levels
- Color formatted long
- Multiple simultaneous writers
- Thread safe capabilities and shared locks and queues between multiple writers
- Custom formatters
You can find Willow on Github here.
A nice logging library for Swift developers.
LayoutKit is an open source interface layout library from LinkedIn that was created to provide increased performance over the iOS SDK’s auto layout for complex layouts in scrollable views.
LayoutKit is as fast as manually laying out code, and considerably faster than auto layout, provides caching for increased performance, and layouts can be created within background threads.
LayoutKit syntax is clean, and similar to flexbox – here is a code snippet from the readme:
imageView.image = UIImage(named: "earth.jpg")
let label = LabelLayout(text: "Hello World!", alignment: .center)
let stack = StackLayout(
sublayouts: [image, label])
let insets = UIEdgeInsets(top: 4, left: 4, bottom: 4, right: 8)
let helloWorld = InsetLayout(insets: insets, layout: stack)
You can find LayoutKit on Github here.
A nice high performance view layout library.
Eureka is an open source Swift library from Xmartlabs for the easy creation of forms with a wide variety of features not seen in other libraries.
Eureka allows for the creation of basic forms, but also a number of extra form row types such as location rows which allow users to select a location on map, rows that allow selection with a custom action sheet, and more. There are also selectors commonly found in other libraries such as date pickers, and steppers.
Custom row types can also be created, an extensive examples are included:
Here’s an image from the readme demonstrating the action sheet type row:
You can find Eureka on Github here.
A nice Swift form creation library.