hyperoslo / Whisper

:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside
Other
3.75k stars 367 forks source link

How to manually install Whisper just by drag source code? #171

Closed peihsendoyle closed 4 years ago

peihsendoyle commented 7 years ago

As I mentioned on the title, I want to work with Whisper just by manually drag it to my project. I am a person that don't like CocoaPods, Carthage or any else dependency manager. In my opinion, it make slow project build time and hard to be edited without pull requests. Manually dragging Whisper source code to project, I could customize it also.

Unfortunately, Whisper somehow create files via a module map (or something else) so that when I drag "Sources" folder to project and build, the Xcode said that it can't find the file named Whisper.

Please update the "Manually installation via drag and drop". I think many developers will love it.

Thanks much for your contribution on Whisper.

Roninito commented 6 years ago

I second this request. Manual installation would make this more widely usable.

onmyway133 commented 6 years ago

@peihsendoyle @Roninito Hi, you can just drag the source files you want to use. Whisper does not use any module map, and there's no file named Whisper.swift if you take a look at the source folder https://github.com/hyperoslo/Whisper/tree/master/Source

Also, note that you need to solve any conflicts yourselves as there is no namespace Whisper, for example there is a show function that could conflict with UIViewController 's show method