File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
1818 The `PFRelation` class that is used to access all of the children of a many-to-many relationship.
1919 Each instance of `PFRelation` is associated with a particular parent object and key.
2020 */
21- @interface PFRelation : NSObject
21+ @interface PFRelation <ObjectType : PFObject *> : NSObject
2222
2323/* *
2424 The name of the class of the target child objects.
@@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
3232/* *
3333 Returns a `PFQuery` object that can be used to get objects in this relation.
3434 */
35- - (PFQuery *)query ;
35+ - (PFQuery<ObjectType> *)query ;
3636
3737// /--------------------------------------
3838#pragma mark - Modifying Relations
@@ -43,14 +43,14 @@ NS_ASSUME_NONNULL_BEGIN
4343
4444 @param object A `PFObject` object to add relation to.
4545 */
46- - (void )addObject : (PFObject * )object ;
46+ - (void )addObject : (ObjectType )object ;
4747
4848/* *
4949 Removes a relation to the passed in object.
5050
5151 @param object A `PFObject` object to add relation to.
5252 */
53- - (void )removeObject : (PFObject * )object ;
53+ - (void )removeObject : (ObjectType )object ;
5454
5555@end
5656
You can’t perform that action at this time.
0 commit comments