SwiftKickMobile / SwiftMessages

A very flexible message bar for UIKit and SwiftUI.
MIT License
7.31k stars 743 forks source link

Please add support for Swift Package Manager. #330

Closed OscarGorog closed 4 years ago

OscarGorog commented 5 years ago

Please add support for installing this project with the Swift Package Manager.

Thanks!

danielsaidi commented 5 years ago

Let me know if you want this done, but don't have the time to do it yourselves. I'll be more than happy to help, but don't know if it'd conflict with what you're planning in your other branches.

wtmoose commented 5 years ago

@danielsaidi I've love to get a PR on this one.

danielsaidi commented 5 years ago

@wtmoose I started converting the project to support spm and its folder structure (with a Sources and a Tests folder), but then noticed that SwiftMessages relies on xibs and built-in resources, which spm doesn't support. People could add these xibs and resources to their own projects, but I don't think that's the way it should be solved. I replaced xibs with code in my own projects and have no built-in resources...but I'm not sure if you want to go that way.

wtmoose commented 5 years ago

That is unfortunate. In my mind, the use of xibs that can easily be copied and modified is a fundamental aspect of the library. I need to give this one some thought. Thanks for looking into it.

knothed commented 4 years ago

Have a look at this – it is a temporary solution until Swift 5.3 comes out.