Skip to content

version1.1.1 stable

Compare
Choose a tag to compare
@dustturtle dustturtle released this 24 Feb 02:51
· 96 commits to master since this release

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!