Skip to content

alessioarsuffi/AASheetController

Repository files navigation

AASheetController

CocoaPods Version License Platform

Screenshot

Screenshot0    Screenshot1 Screenshot2    Screenshot3

Example

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

Requirements

  • iOS 9.3 +
  • Xcode 8.0 +

Installation

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

pod "AASheetController"

FAQ

Frequently asked questions for AASheetController.

Contributions are welcome! Please submit a pull request.


Hide Cancel action?

...
let sheetController = AASheetController(barButtonItem: nil)
sheetController.showCancelButton = false
self.present(sheetController, animated: true, completion: nil)
...

Hide photo library UICollectionView?

...
let sheetController = AASheetController(barButtonItem: nil)
sheetController.showCollectionView = false
self.present(sheetController, animated: true, completion: nil)
...

Ipad UIPopoverPresentationController?

...
let sheetController = AASheetController(barButtonItem: aBarButtonItem)
self.present(sheetController, animated: true, completion: nil)
...

Contributing

  • If you need help or you'd like to ask a general question, open an issue.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Author

Alessio Arsuffi, alessio.arsuffi@gmail.com

License

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