Latest 0.1.0
Homepage https://github.com/simonmartinnielsen/Nifty
License MIT
Platforms ios 10.0
Authors

Nifty is a small and handy cocapod for iOS development.

So far the cocoapod provides:

  • String.substring methods that allows to use substring(with: startIndex..<endIndex)

  • createDefaultAlert for quickly making small alerts.
    The function has one title property and two optional properties: message and actionTitle.

Example:

// Declaring

let alertUserOfMissingFunctionality = Nifty.createDefaultAlert(title: "Under construction", message: "Sorry, this             functionality is yet to be built!", action: "OK")

//Using

@IBAction func buttonRotateImage(_ sender: UIBarButtonItem) {
self.present(alertUserOfMissingFunctionality, animated: true, completion: nil)
}

Latest podspec

{
    "name": "Nifty",
    "version": "0.1.0",
    "summary": "Nifty is a Swift library that provides basic handy functions",
    "description": "This is the my first cocoapod. So far the cocoa pod contains a String.substring function to make it easier using it without all the indexes. Simply use with: start..

Pin It on Pinterest

Share This