Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit 666baa2

Browse files
committed
Add a dummy class to ensure the paging selectors are found in app review.
Fixes #203 Update Deps while at it.
1 parent 59d8b85 commit 666baa2

5 files changed

Lines changed: 14 additions & 3 deletions

File tree

Deps/gtm-oauth2

Source/Objects/GTLQuery.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,6 @@ typedef void (^GTLQueryTestBlock)(GTLServiceTicket *testTicket, GTLQueryTestResp
152152
@end
153153

154154
// The library doesn't use GTLQueryCollectionImpl, but it provides a concrete implementation
155-
// of the protocol so the methods do not cause a private method error in Xcode.
155+
// the protocol so the methods do not cause private method errors in Xcode/AppStore review.
156156
@interface GTLQueryCollectionImpl : GTLQuery <GTLQueryCollectionProtocol>
157157
@end

Source/Objects/GTLService.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,3 +660,10 @@ typedef BOOL (^GTLServiceRetryBlock)(GTLServiceTicket *ticket,
660660
- (id)ticket;
661661
@end
662662

663+
// The library doesn't use GTLObjectCollectionImpl, but it provides a concrete
664+
// implementation of so the methods do not cause private method errors in
665+
// Xcode/AppStore review.
666+
@interface GTLObjectCollectionImpl : GTLObject
667+
@property (nonatomic, retain) NSString *nextPageToken;
668+
@property (nonatomic, retain) NSNumber *nextStartIndex;
669+
@end

Source/Objects/GTLService.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2734,3 +2734,7 @@ - (GTLQuery *)queryForRequestID:(NSString *)requestID {
27342734
}
27352735

27362736
@end
2737+
2738+
@implementation GTLObjectCollectionImpl
2739+
@dynamic nextPageToken, nextStartIndex;
2740+
@end

0 commit comments

Comments
 (0)