{"id":2249,"url":"https://github.com/Esqarrouth/EZLoadingActivity","last_synced_at":"2025-08-06T16:31:03.364Z","repository":{"id":33223063,"uuid":"36866304","full_name":"Esqarrouth/EZLoadingActivity","owner":"Esqarrouth","description":":hatching_chick: Lightweight Swift loading activity for iOS7+","archived":false,"fork":false,"pushed_at":"2022-03-18T23:58:59.000Z","size":88,"stargazers_count":608,"open_issues_count":10,"forks_count":82,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-08-10T02:01:53.155Z","etag":null,"topics":[],"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/Esqarrouth.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-06-04T11:25:59.000Z","updated_at":"2024-06-27T13:00:54.000Z","dependencies_parsed_at":"2022-07-13T08:51:02.605Z","dependency_job_id":null,"html_url":"https://github.com/Esqarrouth/EZLoadingActivity","commit_stats":null,"previous_names":["goktugyil/ezloadingactivity","goktugyil/cozyloadingactivity"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esqarrouth%2FEZLoadingActivity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esqarrouth%2FEZLoadingActivity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esqarrouth%2FEZLoadingActivity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esqarrouth%2FEZLoadingActivity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Esqarrouth","download_url":"https://codeload.github.com/Esqarrouth/EZLoadingActivity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227303033,"owners_count":17761151,"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":[],"created_at":"2024-01-05T20:16:08.832Z","updated_at":"2024-12-09T16:31:00.426Z","avatar_url":"https://github.com/Esqarrouth.png","language":"Swift","funding_links":[],"categories":["UI","Libs"],"sub_categories":["Activity Indicator","UI"],"readme":"EZLoadingActivity\n==========\n\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/EZLoadingActivity.svg)](https://img.shields.io/cocoapods/v/EZLoadingActivity.svg)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\n\u003cp\u003e\n\u003ca href=\"http://cocoapods.org/pods/EZLoadingActivity\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/at/EZLoadingActivity.svg?label=Apps%20Using%20EZLoadingActivity\u0026colorB=28B9FE\"\u003e\u003c/a\u003e\n\u003ca href=\"http://cocoapods.org/pods/EZLoadingActivity\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/dt/EZLoadingActivity.svg?label=Total%20Downloads\u0026colorB=28B9FE\"\u003e\u003c/a\u003e\n\u003ca href=\"http://cocoapods.org/pods/EZLoadingActivity\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/dm/EZLoadingActivity.svg?label=Downloads\u0026colorB=28B9FE\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nLightweight Swift loading activity for iOS7+. Really simple to use, just add the class and write 1 line of code. \n\n![demo](http://i.imgur.com/xLHKvSB.gif)\n\n## Easy to use:\n```swift\nEZLoadingActivity.show(\"Loading...\", disableUI: true)\n```\n'disableUI' stops user interactions until you hide loadingactivity.  \n\n## How to dismiss:\n```swift\nEZLoadingActivity.hide(success: true, animated: true)\n```\n\n## Failure:\n```swift\nEZLoadingActivity.hide(success: false, animated: true)\n```\n![demo](http://i.imgur.com/x2BAEmG.gif)\n\n## Without Animation:\n```swifts\nEZLoadingActivity.hide(success: true, animated: false)\n```\n![demo](http://i.imgur.com/fXvCbIy.gif)\n\n## Hide Directly:\n```swift\nEZLoadingActivity.hide()\n```\n![demo](http://i.imgur.com/2cySGp6.gif)\n\n## Editing:\n```swift\nEZLoadingActivity.Settings.SuccessColor = UIColor.blueColor()\nEZLoadingActivity.show(\"Loading...\", disableUI: false)\n```\n\n|Settings Options|\n| -------------|\n|BackgroundColor|\n|ActivityColor|\n|TextColor|\n|FontName|\n|SuccessIcon|\n|FailIcon|\n|SuccessText|\n|FailText|\n|SuccessColor|\n|FailColor|\n|ActivityWidth|\n|ActivityHeight|\n\n## Example Use Case:\n\n```swift\nEZLoadingActivity.show(\"Uploading...\", disableUI: false)\n\nvar postObject = PFObject(className: \"className\")\npostObject.saveInBackgroundWithBlock { (succeeded: Bool, error: NSError!) -\u003e Void in\n    if error == nil {\n       if succeeded == true {\n          EZLoadingActivity.hide(success: true, animated: false)\n          print(\"Upload Complete\")\n        } else {\n          EZLoadingActivity.hide(success: false, animated: true)\n          print(\"Upload Failed\")\n       }\n    } else {\n        EZLoadingActivity.hide(success: false, animated: true)\n        print(\"Error\")\n    }\n}\n```\n\n######Showing EZLoadingActivity for a certain time:\n\n```swift\nEZLoadingActivity.showWithDelay(\"Waiting...\", disableUI: false, seconds: 2)\n```\n\n######Showing EZLoadingActivity from App Window(For example: for Split view controller):\n\n```swift\nEZLoadingActivity.Settings.LoadOverApplicationWindow = true\n```\n\n## No object tracking:\nEZLoadingActivity is a singleton object so you don't need to keep track of its instance.  \n\n##Installation (~10 seconds)\n\n1. Download and drop 'EZLoadingActivity.swift' in your project.  \n2. Congratulations!  \n\n## Install via Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate EZLoadingActivity into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"goktugyil/EZLoadingActivity\"\n```\n\nRun `carthage update` to build the framework and drag the built `EZLoadingActivity.framework` into your Xcode project.\n\nThen on the top of files where you are going to use this:\n\n```swift\nimport EZLoadingActivity\n```\n\n## Install via CocoaPods\n\nYou can use [CocoaPods](http://cocoapods.org/) to install `EZLoadingActivity` by adding it to your `Podfile`:\n\n```ruby\nplatform :ios, '8.0'\nuse_frameworks!\n\npod 'EZLoadingActivity' #Stable release for Swift 3.0\n\npod 'EZLoadingActivity', :git =\u003e 'https://github.com/goktugyil/EZLoadingActivity.git' #Latest release for Swift 3.0\npod 'EZLoadingActivity', '~\u003e 0.8' #For Swift 2.2\n```\n\nThen on the top of files where you are going to use this:\n\n```swift\nimport EZLoadingActivity\n```\n\n##Requirements\n\n- Xcode 6 or later (Tested on 7)\n- iOS 7 or later (Tested on 9)\n\n##Possible features\n\n- More customization\n- Pod support \n- OSX compatibility and add here https://github.com/AndrewSB/awesome-osx\n\n##License\nEZLoadingActivity is available under the MIT license. See the [LICENSE file](https://github.com/goktugyil/EZLoadingActivity/blob/master/LICENSE).\n\n##Keywords\nswift, hud, loading, activity, progresshud, progress, track, spinner,\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEsqarrouth%2FEZLoadingActivity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEsqarrouth%2FEZLoadingActivity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEsqarrouth%2FEZLoadingActivity/lists"}