ealeksandrov / EAIntroView

Highly customizable drop-in solution for introduction views.
MIT License
3.76k stars 501 forks source link

Support Swift Package Manager #224

Open fulldecent opened 4 years ago

fulldecent commented 4 years ago

Please support Swift Package Manager.

There is a guide on how to release modular projects which also includes making it work with SPM: https://github.com/fulldecent/swift5-module-template

woxtu commented 3 years ago

EAIntroView written in Objective-C depends EARestrictedScrollView written in Swift, but unfortunately Objective-C code cannot import Swift package at least now.

So, adding SPM support to this library needs more time.

fulldecent commented 8 months ago

For now I'm trying to translate to Swift and paste into my project. Let's see if that works.

For smaller files, ChatGPT is pretty good. But I just have to go in pieces for EAIntroView.m.

fulldecent commented 8 months ago

There's some ideas to steal from

https://github.com/BenEmdon/CenteredCollectionView