Latest 1.3.0
Homepage https://github.com/hemangshah/Zingle
License MIT
Platforms ios 9.0, requires ARC
Authors

Zingle – An alert will display underneath your UINavigationBar 🎅

Build Status
License
Platform
Swift 4.x
CocoaPods
MadeWithLove
Blog
Awesome-Swift

  1. Screenshots
  2. Features
  3. Installation
  4. Setup
  5. Usage
  6. Credits
  7. Thanks
  8. License

Screenshots

iPhone8+ iPhoneX
Landscape

Features

  1. Easy to setup & Use
  2. Dynamic Property Configurations.
  3. Lightweight with zero dependancies.

Installation

  1. Manually – Add Zingle.swift file to your Project.
  2. CocoaPodspod 'Zingle'

You can read the CHANGELOG file for a particular release.

Setup

import Zingle

Usage

Zingle.init(duration: 0.5, delay: 3)
  .message(message: "No Internet Connection.")
  .messageIcon(icon: #imageLiteral(resourceName: "warning-icon"))
  .messageColor(color: .white)
  .messageFont(font: UIFont.init(name: "AmericanTypewriter", size: 15.0)!)
  .backgroundColor(color: UIColor.red)
  .show()

You can also use it with in-built extension to UIViewController.

//Create ZingleConfig.
let config = ZingleConfig()
config.delay = 2.0
config.duration = 1.0
config.messageColor = UIColor.white
config.messageFont = UIFont.init(name: "AmericanTypewriter", size: 15.0)!
config.backgroundColor = UIColor.purple.withAlphaComponent(0.5)

//Show Zingle with `self` (UIViewController) with custom configuration.
self.zingle(message: "No Internet Connection.", withConfig: config)

//or

//Show Zingle with `self` (UIViewController) with default configuration.
self.zingle(message: "No Internet Connection.")

You can watch to Zingle to see continuous updates. Stay tuned.

Have an idea for improvements of this class?
Please open an issue.

   

Credits

Hemang Shah

You can shoot me an email to contact.
 

Thank You!!

See the contributions for details.

License

The MIT License (MIT)

Read the LICENSE file for details.

Latest podspec

{
    "name": "Zingle",
    "module_name": "Zingle",
    "version": "1.3.0",
    "summary": "Zingle u2013 An alert will display underneath your UINavigationBar ud83cudf85",
    "description": "Want to show an alert under the UINavigationBar for various cases like No Internet? If yes, use Zingle.",
    "homepage": "https://github.com/hemangshah/Zingle",
    "license": "MIT",
    "authors": {
        "hemangshah": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hemangshah/Zingle.git",
        "tag": "1.3.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "Zingle/Zingle/Source/*.swift",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This