act

ActionPicker

My humble effort to mimic iOS setup sheets.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

77

Maintenance

Last Commit

2yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

ActionPicker

Version License Platform

teaser

Description

ActionPicker is an interactive replication of iOS-style action sheets that are widely used across the system to setup AirPods, HomePod, etc.

Usage

  1. Import ActionPicker
import ActionPicker
  1. Present your content
let setupViewController = /* Your awesome view controller */
let actionPickerViewController = ActionPickerViewController(contentViewController: setupViewController)
self.present(actionPickerViewController, animated: false, completion: nil)
  1. Dismiss
actionPickerViewController.dismiss(animated: true, completion: nil)

Note: Since ActionPickerViewController is interactive, other dismissal options are available:

  • Tap outside the content view
  • Pan content view out of the screen

Screenshots

Let's see in action

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

ActionPicker requires iOS11+.

Installation

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

pod 'ActionPicker'

Author

Serg Krivoblotsky, krivoblotsky@me.com

Roadmap

See Issues

License

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

Trademarks

Apple, the Apple logo, Finder, Mac and Macintosh, AidPods, HomePod are trademarks of Apple Inc.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100