Files
Jot/Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration/Sources/SCNetworkReachability+AnyPromise.h
James Griffin be7b6b5881 Add PromiseKit dependency
- Added PromiseKit dependency
2018-11-15 22:12:39 -04:00

19 lines
409 B
Objective-C

#import <PromiseKit/AnyPromise.h>
/**
Resolves as soon as the Internet is accessible. If it is already
accessible, resolves immediately.
To import `SCNetworkReachability`:
use_frameworks!
pod "PromiseKit/SystemConfiguration"
And then in your sources:
@import PromiseKit;
@return A void promise that fulfills when the Internet becomes accessible.
*/
AnyPromise *SCNetworkReachability();