danielsaidi / Sheeeeeeeeet

Sheeeeeeeeet is a Swift library for creating menus, custom action sheets, context menus etc.
MIT License
1.74k stars 111 forks source link

Adding Header #122

Closed mjabbari closed 4 years ago

mjabbari commented 4 years ago

hi daniel,

thanks for your awesome pod, just wanted to ask how i can attach a header to the menu like previous version we could assign a view as header but couldnt find any on this version.

thank you

danielsaidi commented 4 years ago

Thank you! Header views are only applicable in action sheets, so it's not part of the menu. You can apply a header view to an action sheet by setting the headerView property of an action sheet instance.