{"id":2225,"url":"https://github.com/HamzaGhazouani/HGRippleRadarView","last_synced_at":"2025-08-02T23:32:35.672Z","repository":{"id":56913335,"uuid":"119309040","full_name":"HamzaGhazouani/HGRippleRadarView","owner":"HamzaGhazouani","description":"A beautiful radar view to show nearby items (users, restaurants, ...) with ripple animation, fully customizable ","archived":false,"fork":false,"pushed_at":"2019-10-13T20:27:29.000Z","size":15690,"stargazers_count":382,"open_issues_count":4,"forks_count":46,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-21T03:57:30.883Z","etag":null,"topics":["animation","loading","location","near","nearby","pulse","radar","radarview","ripple","uiview","wave"],"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/HamzaGhazouani.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"HamzaGhazouani"}},"created_at":"2018-01-28T23:51:36.000Z","updated_at":"2024-09-25T15:06:02.000Z","dependencies_parsed_at":"2022-08-20T20:50:29.229Z","dependency_job_id":null,"html_url":"https://github.com/HamzaGhazouani/HGRippleRadarView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGRippleRadarView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGRippleRadarView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGRippleRadarView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HamzaGhazouani%2FHGRippleRadarView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HamzaGhazouani","download_url":"https://codeload.github.com/HamzaGhazouani/HGRippleRadarView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503151,"owners_count":17930521,"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":["animation","loading","location","near","nearby","pulse","radar","radarview","ripple","uiview","wave"],"created_at":"2024-01-05T20:16:08.149Z","updated_at":"2024-12-06T17:30:53.442Z","avatar_url":"https://github.com/HamzaGhazouani.png","language":"Swift","funding_links":["https://github.com/sponsors/HamzaGhazouani"],"categories":["UI"],"sub_categories":["Other free courses","Font","Other Testing"],"readme":"# HGRippleRadarView\n\n[![CI Status](http://img.shields.io/travis/HamzaGhazouani/HGRippleRadarView.svg?style=flat)](https://travis-ci.org/HamzaGhazouani/HGRippleRadarView)\n[![Version](https://img.shields.io/cocoapods/v/HGRippleRadarView.svg?style=flat)](http://cocoapods.org/pods/HGRippleRadarView)\n[![License](https://img.shields.io/cocoapods/l/HGRippleRadarView.svg?style=flat)](http://cocoapods.org/pods/HGRippleRadarView)\n[![Language](https://img.shields.io/badge/language-Swift-orange.svg?style=flat)]()\n[![Supports](https://img.shields.io/badge/supports-CocoaPods%20%7C%20Carthage-green.svg?style=flat)]()\n[![Platform](https://img.shields.io/cocoapods/p/HGRippleRadarView.svg?style=flat)](http://cocoapods.org/pods/HGRippleRadarView)\n\u003cbr /\u003e\n\n[![Twitter: @GhazouaniHamza](https://img.shields.io/badge/contact-@GhazouaniHamza-blue.svg?style=flat)](https://twitter.com/GhazouaniHamza)\n[![Documentation](https://img.shields.io/badge/Documentation-available-0D2D54.svg)](https://hamzaghazouani.github.io/HGRippleRadarView/)\n[![Readme Score](http://readme-score-api.herokuapp.com/score.svg?url=https://github.com/hamzaghazouani/hgrippleradarview)](http://clayallsopp.github.io/readme-score?url=https://github.com/hamzaghazouani/hgrippleradarview)\n\n## Example\n\n![](/Screenshots/radar_example_1.gif) ![](/Screenshots/radar_example_2.gif) ![](/Screenshots/ripple_example.gif)\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\u003cbr /\u003e\nThis project is inspired by: https://dribbble.com/shots/2242921-Find-Nearby-Users-Concept\n\n## Requirements\n- iOS 8.0+\n- Xcode 9.2\n\n## You also may like\n* **[HGCircularSlider](https://github.com/HamzaGhazouani/HGCircularSlider)** - A custom reusable circular slider control for iOS application.\n* **[HGPlaceholders](https://github.com/HamzaGhazouani/HGPlaceholders)** - Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project Edit\n\n\n## Installation\n\nHGRippleRadarView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'HGRippleRadarView'\n```\n\nHGRippleRadarView is also available through [Carthage](https://github.com/Carthage/Carthage). To install\nit, simply add the following line to your Cartfile:\n\n\n``` ruby\ngithub \"HamzaGhazouani/HGRippleRadarView\"\n```\n\n## Usage\n\n1. Change the class of a view from UIView to RippleView or RadarView\n2. Programmatically:\n\n```\nlet rippleView = RippleView(frame: myFrame)\n\n```\n\n```\nlet radarView = RadarView(frame: myFrame)\n\n```\n\n## Customization \n\n#### RippleView \n\n##### diskRadius\nThe radius of the central disk in the view, if you would like to hide it, you can set the radius to 0\n![](/Screenshots/diskRadius.gif)\n\n##### diskColor\nThe color of the central disk in the view, the default color is ripplePink color\n![](/Screenshots/diskColor.gif)\n\n##### minimumCircleRadius\nThis property make distance between the first circle and the central disk  \n![](/Screenshots/minimumCircleRadius.gif)\n\n##### numberOfCircles\nThe number of circles to draw around the disk, the default value is 3\n![](/Screenshots/numberOfCircles.gif)\n\n##### paddingBetweenCircles\nThe padding between circles, circles could be drawn outside the frame \n![](/Screenshots/paddingBetweenCircles.gif)\n\n##### circleOffColor\nThe color of the off status of the circle, used for animation\n##### circleOnColor\nThe color of the on status of the circle, used for animation\n![](/Screenshots/OffOnColors.gif)\n\n##### animationDuration\nThe duration of the animation, the default value is 0.9\n![](/Screenshots/animationDuration.gif)\n\n\u003cbr /\u003e\nYou can start/ stop the animation at any time by calling `startAnimation()` \u0026 `stopAnimation()`\n\n#### RadarView \n\n##### paddingBetweenItems\nThe padding between items, the default value is 10\n![](/Screenshots/paddingBetweenItems.gif)\n\n#### Add items \nIf you would like to add one item, use the method `add(item:using:)`\nIf you would like to add multiple items, it's recommended to use the method `add(items:using:)`\n\n#### remove item \nIf you would like to remove an item, use the method `remove(item:)`\n\n#### Custom item \nIf you would like to customize items, use the protocol `RadarViewDataSource` and implement: \n\n\n```\nradarView?.dataSource = self \n...\nfunc radarView(radarView: RadarView, viewFor item: Item, preferredSize: CGSize) -\u003e UIView {\n        let myCustomItemView = UIView(frame: CGRect(x: 0, y: 0, width: preferredSize.width, height: preferredSize.height))\n        return myCustomItemView\n}\n```\n\n#### CallBack\nIf you would like to receive action on items, use the protocol `RadarViewDelegate` and implement: \n```\nradarView?.delegate = self \n...\n func radarView(radarView: RadarView, didSelect item: Item) {\n        print(item.uniqueKey)\n}\n```\n\n\n## Documentation\nFull documentation is available on [CocoaDocs](http://cocoadocs.org/docsets/HGRippleRadarView/).\u003cbr/\u003e\nYou can also install documentation locally using [jazzy](https://github.com/realm/jazzy).\n\n\n## Author\n\nHamzaGhazouani, hamza.ghazouani@gmail.com\n\n## License\n\nHGRippleRadarView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHamzaGhazouani%2FHGRippleRadarView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHamzaGhazouani%2FHGRippleRadarView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHamzaGhazouani%2FHGRippleRadarView/lists"}