-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add podspec in repo so people can track the bleeding edge with cocoapods #9
Conversation
Is there anyway to leave this out of the submodule? I wanted it to be as pure as possible, requiring only dragging it to Xcode and saying "Add" for it to work. This is why the MessageUI stuff is all optional, and also why there is no ReadMe (this is all in the Demo repo). |
It's a bit unusual to have it organized into two repositories. Most libs have the demo and readme in the same repo, and classes/resources in a folder or folders so you can use the "drag to xcode" method that way if you like. |
But then you can't have it work nicely as a stand alone submodule (which is what I do in all my projects) |
Why not? Xcode doesn't care about any files you don't add to the project. |
True, but then you need to go and delete them after importing. |
Just don't add them in the first place. Add the Classes and Images folders only, or put them into a MDAboutController folder at the top level, then add that one. Not sure what's the problem. Or just use cocoapods =) |
Then what's the difference between having the podspec in this repo vs in the cocoa pods repo? |
The podspec in this pull request tracks master, not a specific tag. The podspecs in the cocoapods repo must track a specific tagged version. You don't have to accept it if you don't want, I can just keep it on my fork for myself. Just thought it might be nice to have. |
Then I'd rather stick with the tagged version then — it'll keep my OCD in check, and allow me to make smaller changes not "release" worthy (aka API experimentation) :) |
If the podspec is there then devs can put in their podfile:
pod 'MDAboutController', :git => 'git@github.com:mochidev/MDAboutController.git'
And it will pick up the bleeding edge.