PlayAlways – A Mac OS Tool And Xcode Extensions For Quickly Creating Playgrounds

PlayAlways from Guilherme Rambo is an open source tool operating from the MacOS menu bar allowing you to quickly create iOS, macOS, or tvOS playgrounds and an Xcode extension that allows you to create a playground from a code selection within Xcode.

To create a playground based on a code selection you must have the Mac menu bar tool running.

Here’s an image from the readme showing the plugin options in Xcode.

PlayAlways

You can find PlayAlways on Github here.

A nice tool for quickly creating Swift playgrounds.

Original article: PlayAlways – A Mac OS Tool And Xcode Extensions For Quickly Creating Playgrounds

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

SwifterSwift – An On Open Source Library Providing An Extension Collection Of Swift 3 Extensions

Swifter Swift is a collection of over 360 Swift 3 extensions from Omar Albeik created to make working with Swift 3 more productive.

SwifterSwift includes extensions for data types, user interface elements, dates, and more. Each extension is explained within the source code.

This snippet below from the homepage shows some of the UIImage extensions in action:

// Crop images
let croppedImage = image.cropped(to CGRect)

// Create UIImage from color
let image = UIImage(color: UIColor, size: CGSize)

// scale to fit width or height
let scaledImage = image.scaled(toHeight: CGFloat)
let scaledImage = image.scaled(toWidth: CGFloat)

// Compress images
let compressedImage = image.compressd(quality: 0.3)

// get image size
image.kilobytesSize = 114

// and many others!

You can find SwifterSwift on the homepage here.

A great collection of Swift 3 extensions.

Original article: SwifterSwift – An On Open Source Library Providing An Extension Collection Of Swift 3 Extensions

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

Interpolate – A Swift Library That Makes It Easier To Create Gesture Controlled Animations

Interpolate is an open source Swift library from Roy Marmelstein is an open source Swift library that aids in creating gesture driven animations.

Interpolate allows you to tie your animations to an interpolation of values which you can base on the current state of a gesture.

A couple of examples are included, and the most common types can be interpolated to control your animations.

Here’s an animation from the readme showing one of the examples in action:

Interpolate

You can find Interpolate on Github here.

A nice Swift library for those looking to create gesture controlled animations.

Original article: Interpolate – A Swift Library That Makes It Easier To Create Gesture Controlled Animations

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