XLActionController is an extensible library to quickly create any custom action sheet controller. The action sheet controllers were entirely created using XLActionController and are included in the Examples. To run the Example project: clone the XLActionController repository, open the XLActionController workspace and run the Example project. Actions' handlers are executed after the alert controller is dismissed from screen. If you want, you can change this passing true to the action's constructor to the argument executeImmediatelyOnTouch. First create a custom action sheet view controller by extending from the ActionController generic class. For details on how to create a custom action sheet controller look at the Extensibility section.
Features
- Extensible library to quickly create any custom action sheet controller
- Create a custom action sheet view controller by extending from the ActionController generic class
- There are no relevant differences compared to the UIAlertController API
- The main difference is that XLActionController works with any header data type
- ActionController uses a UICollectionView to show actions and headers on screen
- Create your custom action sheet controller