FireUIPagedScrollView icon indicating copy to clipboard operation
FireUIPagedScrollView copied to clipboard

Cocoapods request

Open bfeher opened this issue 12 years ago • 2 comments

Could you create a podspec file and add it to CocoaPods? I feel strange creating it for you without first passing it by you. Thanks, this would help a lot of people who incorporate your library.

ex: FireUIPagedScrollView.podspec

Pod::Spec.new do |s| s.name = "FireUIPagedScrollView" s.version = "1.1" s.summary = "Very nice UIScrollView ready to handle View Controllers as pages." s.homepage = "https://github.com/firebaseco/FireUIPagedScrollView" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "Johan Hernandez" => "[email protected]" } s.source = { :git => "https://github.com/firebaseco/FireUIPagedScrollView.git", :tag => "v1.1" } s.platform = :ios, '5.1' s.source_files = 'Lib/*.{h,m}' s.exclude_files = 'Classes/Exclude' s.requires_arc = true end

bfeher avatar Apr 23 '13 23:04 bfeher

Hi @bfeher

Can you send a pull request for this? I'd accept it immediately.

Do we need to tag the new version?

bithavoc avatar Apr 24 '13 09:04 bithavoc

Hi @thepumpkin1979

Sorry I must admit I'm a bit new to all of this, Yes I believe that the tag should be the newest version. I checked which version I had and it was 1.1 so I used that.

The file I have written above actually needs to be submitted to the CocoaPods repository, not your FireUIPagedScrollView rep. Something that I felt uncomfortable doing since I am not the developer (also I don't want to accidentally get some information wrong). You would branch from the CocoaPods master, add this file by using "pod spec create" command under a directory titled "FireUIPagedScrollView/VersionNumber/", then submit a pull request to CocoaPods.

By doing that, anybody using CocoaPods can have it automatically manage your library into their projects.

Here is a link to CocoaPods documentation on how to do this.

Sorry that I couldn't be more helpful.

Thanks.

bfeher avatar Apr 25 '13 00:04 bfeher