vokal / Cat2Cat

Creates a category on UIImage from Asset Catalogs in order to reduce typos and enable auto-complete with image names.
MIT License
46 stars 11 forks source link

CocoaPods support #2

Closed getaaron closed 10 years ago

getaaron commented 10 years ago

Hey Ellen, great work on this!

I'd love to see CocoaPods support so I can add this in my project's Podfile. There's instructions here: http://guides.cocoapods.org/making/

designatednerd commented 10 years ago

Sure, I'll take a look at getting this done.

designatednerd commented 10 years ago

Aaron, question for you before I fire up the podfile: What are you looking to have included in the podfile, the current binary for the application?

getaaron commented 10 years ago

I'm hoping that the podfile could set up a binary, and the aggregate target. I'm not totally sure if CocoaPods can do this, though.

designatednerd commented 10 years ago

I don't believe Cocoapods can automatically set up an aggregate target. I can probably pull out the most recent compiled binary and a .txt file of the run script you need, and throw in a link to setup instructions. Would that work for you?

getaaron commented 10 years ago

That sounds good! I'll try it out, and maybe open a pull request with CocoaPods if it seems like CocoaPods should be able to do more.

BTW, I just set this up on my project, and the feeling when an image name automatically completes is quite satisfying :-)

designatednerd commented 10 years ago

@seanwolter Can you please tag the merged code with 1.1.1? I don't seem to have permission and the spec validation fails if it's not tagged. Thanks!

seanwolter commented 10 years ago

I think it's set. https://github.com/vokalinteractive/Cat2Cat/releases

designatednerd commented 10 years ago

Indeed it is. I've now got a PR open to the CocoaPods repo with the spec, which passed validation: https://github.com/CocoaPods/Specs/pull/7694

designatednerd commented 10 years ago

And that request has been merged so @getaaron go nuts. :+1:

getaaron commented 10 years ago

Thanks! :+1: