joogps / SlideOverCard

A SwiftUI card view, made great for setup interactions.
MIT License
1.1k stars 43 forks source link

How to manually add to a project? #16

Closed Aiyush-G closed 8 months ago

Aiyush-G commented 2 years ago

Hi,

I would like to use this in Swift Playgrounds? I was thinking that the best way to do this was copy and paste the source files, but I'm not sure which ones to copy and to where?

Thanks

joogps commented 8 months ago

Hi there, Aiyush! If you're working on a Playgrounds App, you can add SlideOverCard as a dependency IIRC. If not, you can just copy all of the files over to your project. Ideally, you should keep them in a separate folder if possible!