danielsaidi / Sheeeeeeeeet

Sheeeeeeeeet is a Swift library for creating menus, custom action sheets, context menus etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create an action sheet presenter base class to remove duplicated code

danielsaidi opened this issue · comments

The two action sheet presenters share a bit code that could and should be gathered in a base class. This will simplify the code and unit testing.

I have created a ActionSheetPresenterBase and adjusted the popover presenter a little, so that it can inherit this base class.