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

Add SPM support #87

Closed danielsaidi closed 5 years ago

danielsaidi commented 5 years ago

Sheeeeeeeeet should support Swift Package Manager.

danielsaidi commented 5 years ago

In order to do this, Sheeeeeeeeet can't contain a xib, which means that the action sheet class must be able to setup itself without a xib.

danielsaidi commented 5 years ago

The spm branch adds SPM support. However, it's not working yet, since SPM has no support for static files. This means that a required xib is not included in the package, which causes tests and apps to crash when they try to initialize an action sheet.

I have to implement it in code instead.

danielsaidi commented 5 years ago

I have replaced the xib with view setup code. This means that Sheeeeeeeeet now supports SPM.

danielsaidi commented 5 years ago

This is now available in the 2.1.0 beta.