Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // CRReachability.h
- // ChloeRoses
- //
- // Created by Emal Saifi [DAN-PARIS] on 13/08/13.
- // Copyright (c) 2013 Emal Saifi [DAN-PARIS]. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "Reachability.h"
- @interface CRReachability : NSObject
- // Reachability
- @property (nonatomic, retain) Reachability * reach;
- // BOOL
- @property (nonatomic, assign) BOOL isConnectionReachable;
- // Delegate
- @property (nonatomic, assign) id delegate;
- + (id)sharedManager;
- - (void)startReachability;
- - (void)stopReachability;
- @end
- @protocol CRReachabilityDelegate <NSObject>
- @optional
- -(void)crReachability:(CRReachability *)sender getConnectionReachable:(BOOL) isConnectionReachable;
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement