⏱ 2-3 hrs
At FitnessAI, we love building UI libraries that are highly extendable and customizable. One such example is a suped-up version of UIAlertController.


Download FitnessAI and tap around in settings to see more examples. Tap ... next to any exercise on the homepage or "Rest Timer" in settings for more advanced examples.
Create a class, ActionSheetController, that mimics UIAlertController, but accepts custom header views and actions.
UITableView as so we can support an unlimited number of rows.addHeader(image: UIImage?, title: String?, message: String?)addHeader(view: UIView)addAction(title: String, type: .normal | .destructive, action: (() -> ())? = nil)addCustomAction(view: UIView, action: (() -> ())? = nil)
addDoneAction(title: String, type: .normal | .destructive, action: (() -> ())? = nil)ActionSheetController have as similar an implementation to UIAlertController as possibleCreate a new Xcode project to showcase your work. Your app should be a single view application with a UIViewController at its root containing multiple buttons that showcase different ActionSheetController implementations. At the very least, include buttons that launch the two implementations in the Preview section above.
When you're done, compress your Xcode project as a .zip file and email it to [email protected] for next steps :)