Reachability 3.0 vs 2.2 (Tonymillion)
===

I have own static library that include Reachability for checking internet connection.

I use Reachability 2.2 version in my static library [http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html][1]


Other developer added my static library to his(3rd party project) which already has other  [Reachability][2] (tag 3.0 in Pod's spec)

He installed it through Cocoa Pods. see the [spec][3].


  [1]: http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html
  [2]: https://github.com/tonymillion/Reachability
  [3]: https://github.com/CocoaPods/Specs/blob/master/Reachability/3.0.0/Reachability.podspec

**As you see, this is last version in pods.**

Ok, project was builded without errors.

BUT we got error: 

    +[Reachability reachabilityWithHostName:]: unrecognized selector sent to class 0x2c77fc

I spent lot of time to find out the issue. 

So Reachability 2.2 has declaration:


    + (Reachability*) reachabilityWithHostName: (NSString*) hostName;

But, Reachability 3.0 has following declaration:

    +(Reachability*)reachabilityWithHostname:(NSString*)hostname;

Is it different?! Compiling was successful! Look at "HostName"... yeap, small "n".
And when we check host reachability inside static library we get unrecognized selector.

My question is - **what best way to avoid this issue?** Should I force other developers who want to build my static library use Apple's Reachability or something else?

Thanks

