initial
This commit is contained in:
44
Parse.framework/Versions/1.2.13/Headers/PFRelation.h
Executable file
44
Parse.framework/Versions/1.2.13/Headers/PFRelation.h
Executable file
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// PFRelation.h
|
||||
// Parse
|
||||
//
|
||||
// Created by Shyam Jayaraman on 5/11/12.
|
||||
// Copyright (c) 2012 Parse Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "PFObject.h"
|
||||
#import "PFQuery.h"
|
||||
|
||||
/*!
|
||||
A class that is used to access all of the children of a many-to-many relationship. Each instance
|
||||
of PFRelation is associated with a particular parent object and key.
|
||||
*/
|
||||
@interface PFRelation : NSObject
|
||||
|
||||
@property (nonatomic, retain) NSString *targetClass;
|
||||
|
||||
|
||||
#pragma mark Accessing objects
|
||||
/*!
|
||||
@return A ParseQuery that can be used to get objects in this relation.
|
||||
*/
|
||||
- (PFQuery *)query;
|
||||
|
||||
|
||||
#pragma mark Modifying relations
|
||||
|
||||
/*!
|
||||
Adds a relation to the passed in object.
|
||||
@param object ParseObject to add relation to.
|
||||
*/
|
||||
- (void)addObject:(PFObject *)object;
|
||||
|
||||
/*!
|
||||
Removes a relation to the passed in object.
|
||||
@param object ParseObject to add relation to.
|
||||
*/
|
||||
- (void)removeObject:(PFObject *)object;
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user