Latest 0.0.1
Homepage https://github.com/ankitthakur/SHSwiftKit
License MIT
Platforms ios 8.0, requires ARC
Authors

SHSwiftKit alt tag

CI Status
Version
Carthage Compatible
License
Platform
Coverage Status

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

Device Info 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.

Latest podspec

{
    "name": "SHSwiftKit",
    "summary": "Pure Swift Kit with wrappers on Foundation and other iOS Core frameworks.",
    "version": "0.0.1",
    "homepage": "https://github.com/ankitthakur/SHSwiftKit",
    "license": "MIT",
    "authors": {
        "Ankit Thakur": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ankitthakur/SHSwiftKit.git",
        "tag": "0.0.1"
    },
    "social_media_url": "https://twitter.com/ankitthakur",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "ios": {
        "source_files": "Sources/{iOS,Shared}/**/*",
        "frameworks": [
            "UIKit",
            "Foundation"
        ]
    }
}

Pin It on Pinterest

Share This