All Projects → HamzaGhazouani → Hgrippleradarview

HamzaGhazouani / Hgrippleradarview

Licence: mit
A beautiful radar view to show nearby items (users, restaurants, ...) with ripple animation, fully customizable

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Hgrippleradarview

Yscanimation
Stars: ✭ 626 (+102.59%)
Mutual labels:  wave, ripple
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-82.2%)
Mutual labels:  wave, ripple
Waveview
🏄 WaveView 一个水波纹动画控件视图,支持波纹数,波纹振幅,波纹颜色,渐变色,波纹速度,波纹方向等属性完全可配。
Stars: ✭ 81 (-73.79%)
Mutual labels:  wave, ripple
Vue Ripple Directive
Material Ripple Effect as Vue Directive.
Stars: ✭ 266 (-13.92%)
Mutual labels:  ripple
React Loads
React Loads is a backend agnostic library to help with external data fetching & caching in your UI components.
Stars: ✭ 268 (-13.27%)
Mutual labels:  loading
Rsup Progress
❤️ A simple progress bar with promises support
Stars: ✭ 290 (-6.15%)
Mutual labels:  loading
Swiftvideobackground
📹 Framework to Play a Video in the Background of any UIView
Stars: ✭ 303 (-1.94%)
Mutual labels:  uiview
react-native-tcharts
基于React Native ART的图表组件库
Stars: ✭ 25 (-91.91%)
Mutual labels:  radar
Android Loading Dialog
这个是我在泡网看见的一个等待的dialog
Stars: ✭ 297 (-3.88%)
Mutual labels:  loading
React Native Indicator
🌀 A friendly loading indicator component for React Native
Stars: ✭ 280 (-9.39%)
Mutual labels:  loading
Skeletonui
☠️ Elegant skeleton loading animation in SwiftUI and Combine
Stars: ✭ 275 (-11%)
Mutual labels:  loading
Fccurrentlocationgeocoder
iOS Geocoder for forward geocode and reverse geocode user's current location using a block-based syntax. 📍🌍
Stars: ✭ 268 (-13.27%)
Mutual labels:  location
React Native Amap Geolocation
React Native geolocation module for Android + iOS
Stars: ✭ 289 (-6.47%)
Mutual labels:  location
React Wait
Complex Loader Management Hook for React Applications
Stars: ✭ 268 (-13.27%)
Mutual labels:  loading
Loading Bar
Flexible, light weighted and super fast Progress Bar Library
Stars: ✭ 300 (-2.91%)
Mutual labels:  loading
UUAmountBoardView
[iOS]带有数字(金额)滚动效果的UI控件
Stars: ✭ 37 (-88.03%)
Mutual labels:  uiview
Knphotobrowser
📷 图片 || 视频 浏览器(本地和网络) , UIViewController + CollectionView , 完美适配 iPhone 以及 iPad ,屏幕旋转功能 , 适配SDWebImage 5.0
Stars: ✭ 296 (-4.21%)
Mutual labels:  loading
Ngx Skeleton Loader
Make beautiful, animated loading skeletons that automatically adapt to your Angular apps
Stars: ✭ 278 (-10.03%)
Mutual labels:  loading
Pyrosar
framework for large-scale SAR satellite data processing
Stars: ✭ 274 (-11.33%)
Mutual labels:  radar
React Loadable
⏳ A higher order component for loading components with promises.
Stars: ✭ 16,238 (+5155.02%)
Mutual labels:  loading

HGRippleRadarView

CI Status Version License Language Supports Platform

Twitter: @GhazouaniHamza Documentation Readme Score

Example

To run the example project, clone the repo, and run pod install from the Example directory first.
This project is inspired by: https://dribbble.com/shots/2242921-Find-Nearby-Users-Concept

Requirements

  • iOS 8.0+
  • Xcode 9.2

You also may like

  • HGCircularSlider - A custom reusable circular slider control for iOS application.
  • HGPlaceholders - Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project Edit

Installation

HGRippleRadarView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'HGRippleRadarView'

HGRippleRadarView is also available through Carthage. To install it, simply add the following line to your Cartfile:

github "HamzaGhazouani/HGRippleRadarView"

Usage

  1. Change the class of a view from UIView to RippleView or RadarView
  2. Programmatically:
let rippleView = RippleView(frame: myFrame)

let radarView = RadarView(frame: myFrame)

Customization

RippleView

diskRadius

The radius of the central disk in the view, if you would like to hide it, you can set the radius to 0

diskColor

The color of the central disk in the view, the default color is ripplePink color

minimumCircleRadius

This property make distance between the first circle and the central disk

numberOfCircles

The number of circles to draw around the disk, the default value is 3

paddingBetweenCircles

The padding between circles, circles could be drawn outside the frame

circleOffColor

The color of the off status of the circle, used for animation

circleOnColor

The color of the on status of the circle, used for animation

animationDuration

The duration of the animation, the default value is 0.9


You can start/ stop the animation at any time by calling `startAnimation()` & `stopAnimation()`

RadarView

paddingBetweenItems

The padding between items, the default value is 10

Add items

If you would like to add one item, use the method add(item:using:) If you would like to add multiple items, it's recommended to use the method add(items:using:)

remove item

If you would like to remove an item, use the method remove(item:)

Custom item

If you would like to customize items, use the protocol RadarViewDataSource and implement:

radarView?.dataSource = self 
...
func radarView(radarView: RadarView, viewFor item: Item, preferredSize: CGSize) -> UIView {
        let myCustomItemView = UIView(frame: CGRect(x: 0, y: 0, width: preferredSize.width, height: preferredSize.height))
        return myCustomItemView
}

CallBack

If you would like to receive action on items, use the protocol RadarViewDelegate and implement:

radarView?.delegate = self 
...
 func radarView(radarView: RadarView, didSelect item: Item) {
        print(item.uniqueKey)
}

Documentation

Full documentation is available on CocoaDocs.
You can also install documentation locally using jazzy.

Author

HamzaGhazouani, [email protected]

License

HGRippleRadarView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].