SHSwiftKit 0.0.1

SHSwiftKit 0.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2016
SPMSupports SPM

Maintained by Ankit Thakur.



SHSwiftKit alt tag

Description

SHSwiftKit description.

Docs

[local closure](http://ankitthakur.github.io/blog/swift/scope/2016/02/08/localScope.html)
// global closures
public func local(closure: () -> ())
public func localAutoreleasePool(closure: () -> ())

global variables
public var GlobalMainQueue: dispatch_queue_t { get }
public var GlobalUserInteractiveQueue: dispatch_queue_t { get }
public var GlobalUserInitiatedQueue: dispatch_queue_t { get }
public var GlobalUtilityQueue: dispatch_queue_t { get }
public var GlobalBackgroundQueue: dispatch_queue_t { get }

// public tuple for color components
public typealias ColorComponents = (red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat)

// global functions
public func degreesToRadians(degrees: CGFloat) -> CGFloat
public func radiansToDegrees(radians: CGFloat) -> CGFloat

Image Helpers

Color Helpers

Author

Ankit Thakur, [email protected]

Installation

SHSwiftKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SHSwiftKit'

SHSwiftKit is also available through Carthage. To install just write into your Cartfile:

github "ankitthakur/SHSwiftKit"

Author

Ankit Thakur, [email protected]

Contributing

We would love you to contribute to SHSwiftKit, check the CONTRIBUTING file for more info.

License

SHSwiftKit is available under the MIT license. See the LICENSE file for more info.