Make _request a property #357

Closed
wants to merge 1 commit into
from
View
1 src/Facebook.h
@@ -41,6 +41,7 @@
@property(nonatomic, copy) NSDate* expirationDate;
@property(nonatomic, assign) id<FBSessionDelegate> sessionDelegate;
@property(nonatomic, copy) NSString* localAppId;
+@property(readonly) FBRequest* currentRequest;
- (id)initWithAppId:(NSString *)app_id;
View
3 src/Facebook.m
@@ -47,7 +47,8 @@ @implementation Facebook
expirationDate = _expirationDate,
sessionDelegate = _sessionDelegate,
permissions = _permissions,
- localAppId = _localAppId;
+ localAppId = _localAppId,
+ currentRequest = _request;
///////////////////////////////////////////////////////////////////////////////////////////////////