{"id":19502460,"url":"https://github.com/vamshiiitbhu14/vkprogresshud","last_synced_at":"2025-04-26T00:31:57.062Z","repository":{"id":56925660,"uuid":"123160742","full_name":"VamshiIITBHU14/VKProgressHud","owner":"VamshiIITBHU14","description":"Hey All! As it is obvious from the GIF, this project is a LoadingIndicator based on CoreAnimation. ","archived":false,"fork":false,"pushed_at":"2018-04-19T09:44:20.000Z","size":42,"stargazers_count":31,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T16:05:33.195Z","etag":null,"topics":["cagradientlayer","calayer","careplicatorlayer","cashapelayer","coreanimation","ios","loading-animations","swift","uiimageview"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VamshiIITBHU14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-27T17:00:42.000Z","updated_at":"2024-10-16T15:18:57.000Z","dependencies_parsed_at":"2022-08-20T22:50:30.312Z","dependency_job_id":null,"html_url":"https://github.com/VamshiIITBHU14/VKProgressHud","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VamshiIITBHU14%2FVKProgressHud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VamshiIITBHU14%2FVKProgressHud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VamshiIITBHU14%2FVKProgressHud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VamshiIITBHU14%2FVKProgressHud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VamshiIITBHU14","download_url":"https://codeload.github.com/VamshiIITBHU14/VKProgressHud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250917284,"owners_count":21507561,"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":["cagradientlayer","calayer","careplicatorlayer","cashapelayer","coreanimation","ios","loading-animations","swift","uiimageview"],"created_at":"2024-11-10T22:16:28.894Z","updated_at":"2025-04-26T00:31:56.803Z","avatar_url":"https://github.com/VamshiIITBHU14.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# VKProgressHud\n\n![pk](https://user-images.githubusercontent.com/21070922/36742945-07ac7a8a-1c0f-11e8-8323-fe80ad4e2295.gif)\n\nHey All! As it is obvious from the GIF, this project is a ```LoadingIndicator``` based on ```CoreAnimation```. \u003cbr /\u003e\n\nThe Usage is like real simple: \u003cbr /\u003e\nDownload the code and drag-drop ```VKProgressHud.Swift``` in your project. \u003cbr /\u003e\n\nThen add a variable  ```var hudView : VKProgressHud?``` in your Class.\n\n**Showing Hud: \u003cbr /\u003e**\n\n```hudView = VKProgressHud(crocImageName: \"croc\")``` \u003cbr /\u003e\n```hudView?.showHUD(onView: self.view)```\n\nPlease note that ```croc``` is the name of Image you want in the Animation.\n\n**Hiding Hud: \u003cbr /\u003e**\n\n```hudView?.hideHUD()```\n\n**Editable Properties:** \u003cbr /\u003e\n\n1) Image in the Animator. \u003cbr /\u003e\n2) Radius of animator from the variable named ```refreshRadius``` in ```VKProgressHud.Swift```. \u003cbr /\u003e\n3) Size of the dot from the variable named ```dotLength``` in ```VKProgressHud.Swift```. \u003cbr /\u003e\n4) Spacing of the dots from the variable named ```instanceCount``` in ```VKProgressHud.Swift```. \u003cbr /\u003e\n5) Duration of the animation from the variable named ```animationDuration``` in ```VKProgressHud.Swift```. \u003cbr /\u003e\n6) Also the colour codes from the line ```circle.backgroundColor``` in ```VKProgressHud.Swift```. \u003cbr /\u003e\n7) Label text saying 'Loading' can be edited in in ```VKProgressHud.Swift```. \u003cbr /\u003e\n\n**Concepts used:** \u003cbr /\u003e\n\n ```let rotatorImageLayer: CALayer = CALayer()``` \u003cbr /\u003e\n ```let replicatorCircleLayer = CAReplicatorLayer()``` \u003cbr /\u003e\n``` var circle = CALayer()``` \u003cbr /\u003e\n ```var shapeLayerForCroc = CAShapeLayer()``` \u003cbr /\u003e\n ```let gradientLabelLayer = CAGradientLayer()``` \u003cbr /\u003e\n \n \nCrocodile Image : *Designed by Freepik from www.flaticon.com* \u003cbr /\u003e\nAnimation: *Heavily inspired from https://dribbble.com/shots/2679536-Dragon-Loading-Indicator*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvamshiiitbhu14%2Fvkprogresshud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvamshiiitbhu14%2Fvkprogresshud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvamshiiitbhu14%2Fvkprogresshud/lists"}