https://github.com/Cuberto/balloon-picker
https://github.com/Cuberto/balloon-picker
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/Cuberto/balloon-picker
- Owner: Cuberto
- License: mit
- Created: 2019-06-06T17:57:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-27T10:19:22.000Z (over 5 years ago)
- Last Synced: 2024-08-03T01:11:53.615Z (9 months ago)
- Language: Swift
- Size: 1.05 MB
- Stars: 287
- Watchers: 9
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - balloon-picker - Custom picker view with floating balloon animation. [•](https://raw.githubusercontent.com/Cuberto/balloon-picker/master/Screenshots/animation.gif) (Content / Slider)
README
# Cuberto's development lab:
Cuberto is a leading digital agency with solid design and development expertise. We build mobile and web products for startups. Drop us a line.
# balloon-picker
[](https://raw.githubusercontent.com/Cuberto/balloon-picker/master/LICENSE)
[](https://developer.apple.com/swift/)
Custom picker view with floating balloon animation
## Requirements
- iOS 10.0+
- Xcode 10## Installation
Just copy contents of `balloonPicker` folder to your project
## Usage
Instantiate `BalloonPickerView` and add it to your view, or set to custom class of view in storyboard.
Use target-action event `valueChanged` to track value changes.To customize balloon behavior you can instantiate `BalloonView` and set custom background image (see example), inherit your own class from it, or even create your own view conforming to `ProgressTracking` protocol (size of balloon is dermined by `intrinsicContentSize` property, so do not forget to return appropriate value).
Do not set `clipToBounds = true` for picker view.
## Author
Cuberto Design, [email protected]
## License
balloon-picker is available under the MIT license. See the LICENSE file for more info.