version1.1.1 stable
Avoid enum definition conflict when working with reachability together; now it will be better to serve for your existing projects.
Previous enum:
typedef NS_ENUM(NSInteger, ReachabilityStatus) {
// Apple NetworkStatus Compatible Names.
NotReachable = 0,
ReachableViaWWAN = 1,
ReachableViaWiFi = 2
};
now:
typedef NS_ENUM(NSInteger, ReachabilityStatus) {
///Direct match with Apple networkStatus, just a force type convert.
RealStatusNotReachable = 0,
RealStatusViaWWAN = 1,
RealStatusViaWiFi = 2
};
Enjoy it!