Skip to content

Cuberto/balloon-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

GitHub license Swift 4.2

Animation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages