New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separating into 2 libs #15
Comments
I'm not going to do this, sorry - the UIKit additions depend entirely on Dwifft itself, and I don't want to maintain a second library so that people can avoid reading a paragraph of text. |
Hey, no problem! What about adding that phrase as an easier way to explain Dwift+UIKit? |
I'd like to re-open this issue with the suggestion that the UIKit stuff is put into subspecs. That is really easy to do, and then people can easily include only the parts of the code they need. |
See my previous comment - not going to happen, sorry. In my experience, when developing a library the fewer paths to integration (including via subspecs), the fewer things that can go wrong for users. This library is tiny; there is no reason to make it any more modular than it already is. |
Alright, no worries. Its your library, so your choice. I really want to just use One last thought. When using subspecs, by default, Not trying to be pushy, just wanted to give you some insight into things you may not have considered. |
@jack-stripe: To lend some additional context, this is also how we built the Tumblr SDK: I’m sure 99% of users just No opinion from me – I use Dwifft’s UIKit extensions – but echoing @AnthonyMDev that this won’t actually add an extra step except for those who explicitly want to go out of their way to only pull in a subset. |
I think you should separate
Dwifft.swift
andDwifft+UIKit.swift
, because, as you said, maybe onlyDwifft+UIKit.swift
is actually useful for people. By doing that, I'd be easier to explain what the it does.Dwifft is very useful and neat, but it has one major problem: It took me a whole paragraph to understand what could be explained with
What are your thoughts?
The text was updated successfully, but these errors were encountered: