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

Commit

Permalink
Merge pull request #204 from thomasvl/update
Browse files Browse the repository at this point in the history
Add a dummy class to ensure the paging selectors are found in app review.
  • Loading branch information
thomasvl authored Aug 5, 2016
2 parents 59d8b85 + 666baa2 commit 002a98e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Deps/gtm-oauth2
2 changes: 1 addition & 1 deletion Deps/gtm-session-fetcher
2 changes: 1 addition & 1 deletion Source/Objects/GTLQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ typedef void (^GTLQueryTestBlock)(GTLServiceTicket *testTicket, GTLQueryTestResp
@end

// The library doesn't use GTLQueryCollectionImpl, but it provides a concrete implementation
// of the protocol so the methods do not cause a private method error in Xcode.
// the protocol so the methods do not cause private method errors in Xcode/AppStore review.
@interface GTLQueryCollectionImpl : GTLQuery <GTLQueryCollectionProtocol>
@end
7 changes: 7 additions & 0 deletions Source/Objects/GTLService.h
Original file line number Diff line number Diff line change
Expand Up @@ -660,3 +660,10 @@ typedef BOOL (^GTLServiceRetryBlock)(GTLServiceTicket *ticket,
- (id)ticket;
@end

// The library doesn't use GTLObjectCollectionImpl, but it provides a concrete
// implementation of so the methods do not cause private method errors in
// Xcode/AppStore review.
@interface GTLObjectCollectionImpl : GTLObject
@property (nonatomic, retain) NSString *nextPageToken;
@property (nonatomic, retain) NSNumber *nextStartIndex;
@end
4 changes: 4 additions & 0 deletions Source/Objects/GTLService.m
Original file line number Diff line number Diff line change
Expand Up @@ -2734,3 +2734,7 @@ - (GTLQuery *)queryForRequestID:(NSString *)requestID {
}

@end

@implementation GTLObjectCollectionImpl
@dynamic nextPageToken, nextStartIndex;
@end

0 comments on commit 002a98e

Please sign in to comment.