Isuru-Nanayakkara / Reach

A simple class to check for internet connection availability in Swift.
MIT License
456 stars 119 forks source link

CocoaPods support #4

Closed marcelofabri closed 9 years ago

marcelofabri commented 9 years ago

Adding a podspec and making some stuff public.

ararog commented 9 years ago

+1

Isuru-Nanayakkara commented 9 years ago

Hi @marcelofabri, thank you for adding CocoaPods support. Quick question 'cause I'm not entirely familiar with the pod authoring process. If someone adds Reachability through CocoaPods, does it get added as a framework or as a static library?

ararog commented 9 years ago

@Isuru-Nanayakkara since 0.36.0.beta.1, cocoapods is capable of handle frameworks and Swift dependencies, it creates a separated project called pods which generates each dependency as separated framework.

Isuru-Nanayakkara commented 9 years ago

@ararog @marcelofabri Thank you both. I merged it. I also tested it with a test project and it works fine.

Is there any more to be done from my side? For example for the library to be indexed in the cocoapods site?

ararog commented 9 years ago

Please refer to http://cocoapods.org/#create_a_pod for more details.

marcelofabri commented 9 years ago

Yeah, you'd need to add a tag and submit to CocoaPods. However, I'd only do that after 0.36 is officially released.

Isuru-Nanayakkara commented 9 years ago

Got it. Thanks.