{"id":13466570,"url":"https://github.com/hemangshah/Zingle","last_synced_at":"2025-03-25T21:32:35.519Z","repository":{"id":56931566,"uuid":"115716595","full_name":"hemangshah/Zingle","owner":"hemangshah","description":"Zingle – An alert will display underneath your UINavigationBar 🎅","archived":false,"fork":false,"pushed_at":"2020-05-28T07:11:31.000Z","size":914,"stargazers_count":111,"open_issues_count":0,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-03T12:01:59.757Z","etag":null,"topics":["alert","swift","uinavigationbar","uinavigationcontroller"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hemangshah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-29T11:23:26.000Z","updated_at":"2023-08-04T08:26:01.000Z","dependencies_parsed_at":"2022-08-21T05:50:27.808Z","dependency_job_id":null,"html_url":"https://github.com/hemangshah/Zingle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemangshah%2FZingle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemangshah%2FZingle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemangshah%2FZingle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemangshah%2FZingle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hemangshah","download_url":"https://codeload.github.com/hemangshah/Zingle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222092144,"owners_count":16929796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alert","swift","uinavigationbar","uinavigationcontroller"],"created_at":"2024-07-31T15:00:46.504Z","updated_at":"2024-10-29T18:32:04.133Z","avatar_url":"https://github.com/hemangshah.png","language":"Swift","funding_links":[],"categories":["Libs","UI [🔝](#readme)"],"sub_categories":["UI"],"readme":"# Zingle\n\nZingle – An alert will display underneath your UINavigationBar 🎅\n\n💥 **Note:** Zingle has a dependency to have a `UINavigationController` in your app, which means it will not work/display in your app if you don't have a `UINavigationController` linked to a `UIViewController` in which you're planning to show an alert. However, it will get display even if the `UINavigationBar` is hidden for a particular `UIViewController`.\n\n[![Build Status](https://travis-ci.org/hemangshah/Zingle.svg?branch=master)](https://travis-ci.org/hemangshah/Zingle)\n![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)\n![Platform](https://img.shields.io/badge/Platforms-iOS-red.svg)\n![Swift 4.x](https://img.shields.io/badge/Swift-4.x-blue.svg)\n![MadeWithLove](https://img.shields.io/badge/Made%20with%20%E2%9D%A4-India-green.svg)\n[![Awesome-Swift](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift/)\n\n1. [Screenshots](#screenshots)\n2. [Features](#features)\n3. [Installation](#installation)\n4. [Setup](#setup)\n5. [Usage](#usage)\n6. [Credits](#credits)\n7. [Thanks](#thank-you)\n8. [License](#license)\n\n## Screenshots\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src = \"https://github.com/hemangshah/Zingle/blob/master/Screenshots/Screenshot-1.png\" alt = \"iPhone8+\"\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003cimg src = \"https://github.com/hemangshah/Zingle/blob/master/Screenshots/Screenshot-2.png\" alt = \"iPhoneX\"\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd align=\"center\" colspan=\"2\"\u003e\u003cimg src = \"https://github.com/hemangshah/Zingle/blob/master/Screenshots/Screenshot-1-landscape.png\" alt = \"Landscape\"\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n## Features\n\n1. Easy to setup \u0026 Use\n2. Dynamic Property Configurations.\n3. Lightweight with zero dependencies.\n\n## Installation\n\n1. **Manually** – Add `Zingle.swift` file to your Project.\u003cbr\u003e\n2. **CocoaPods** – `pod 'Zingle'`\n    \n\u003e You can read the [CHANGELOG](https://github.com/hemangshah/Zingle/blob/master/CHANGELOG.md) file for a particular release.\n\n## Setup\n\n````swift\nimport Zingle\n````\n\n## Usage\n\n````swift\nZingle.init(duration: 0.5, delay: 3)\n  .message(message: \"No Internet Connection.\")\n  .messageIcon(icon: #imageLiteral(resourceName: \"warning-icon\"))\n  .messageColor(color: .white)\n  .messageFont(font: UIFont.init(name: \"AmericanTypewriter\", size: 15.0)!)\n  .backgroundColor(color: UIColor.red)\n  .show()\n````\n\nYou can also use it with in-built extension to `UIViewController`.\n\n````swift\n//Create ZingleConfig.\nlet config = ZingleConfig()\nconfig.delay = 2.0\nconfig.duration = 1.0\nconfig.messageColor = UIColor.white\nconfig.messageFont = UIFont.init(name: \"AmericanTypewriter\", size: 15.0)!\nconfig.backgroundColor = UIColor.purple.withAlphaComponent(0.5)\n        \n//Show Zingle with `self` (UIViewController) with custom configuration.\nself.zingle(message: \"No Internet Connection.\", withConfig: config)\n\n//or\n\n//Show Zingle with `self` (UIViewController) with default configuration.\nself.zingle(message: \"No Internet Connection.\")\n\n````\nYou can [watch](https://github.com/hemangshah/Zingle/subscription) to \u003cb\u003eZingle\u003c/b\u003e to see continuous updates. Stay tuned.\n\n\u003cb\u003eHave an idea for improvements of this class?\nPlease open an [issue](https://github.com/hemangshah/Zingle/issues/new).\u003c/b\u003e\n    \n## Credits\n\n\u003cb\u003e[Hemang Shah](https://about.me/hemang.shah)\u003c/b\u003e\n\n**You can shoot me an [email](http://www.google.com/recaptcha/mailhide/d?k=01IzGihUsyfigse2G9z80rBw==\u0026c=vU7vyAaau8BctOAIJFwHVbKfgtIqQ4QLJaL73yhnB3k=) to contact.**\n   \n## Thank You!!\n\nSee the [contributions](https://github.com/hemangshah/Zingle/blob/master/CONTRIBUTIONS.md) for details.\n\n## License\n\nThe MIT License (MIT)\n\n\u003e Read the [LICENSE](https://github.com/hemangshah/Zingle/blob/master/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemangshah%2FZingle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemangshah%2FZingle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemangshah%2FZingle/lists"}