Skip to content

Commit 4e4485d

Browse files
committed
Merge pull request #372 from ParsePlatform/nlutsenko.generics
Add generics to all instances of class forwarded PFQuery.
2 parents 100b4e7 + 28dc5c7 commit 4e4485d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Parse/PFObject+Subclass.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
#import <Parse/PFNullability.h>
1313
#import <Parse/PFObject.h>
1414

15-
PF_ASSUME_NONNULL_BEGIN
15+
@class PFQuery PF_GENERIC(PFGenericObject : PFObject *);
1616

17-
@class PFQuery;
17+
PF_ASSUME_NONNULL_BEGIN
1818

1919
/*!
2020
### Subclassing Notes

Parse/PFSubclassing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#import <Parse/PFNullability.h>
1313

14-
@class PFQuery;
14+
@class PFQuery PF_GENERIC(PFGenericObject : PFObject *);
1515

1616
PF_ASSUME_NONNULL_BEGIN
1717

Parse/PFUser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PF_ASSUME_NONNULL_BEGIN
2020
typedef void(^PFUserSessionUpgradeResultBlock)(NSError *PF_NULLABLE_S error);
2121
typedef void(^PFUserLogoutResultBlock)(NSError *PF_NULLABLE_S error);
2222

23-
@class PFQuery;
23+
@class PFQuery PF_GENERIC(PFGenericObject : PFObject *);
2424
@protocol PFUserAuthenticationDelegate;
2525

2626
/*!

0 commit comments

Comments
 (0)