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

Commit

Permalink
Add a dummy class to ensure the paging selectors are found in app rev…
Browse files Browse the repository at this point in the history
…iew.

Fixes #203

Update Deps while at it.
  • Loading branch information
thomasvl committed Aug 5, 2016
1 parent 59d8b85 commit 666baa2
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 666baa2

Please sign in to comment.