File tree 5 files changed +19
-12
lines changed
5 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 140
140
141
141
@end
142
142
143
+ @interface PFObject ()
144
+
145
+ /* *
146
+ Constructs an object of the most specific class known to implement `+parseClassName`.
147
+
148
+ This method takes care to help `PFObject` subclasses be subclassed themselves.
149
+ For example, `PFUser.+object` returns a `PFUser` by default but will return an
150
+ object of a registered subclass instead if one is known.
151
+ A default implementation is provided by `PFObject` which should always be sufficient.
152
+
153
+ @return Returns the object that is instantiated.
154
+ */
155
+ + (instancetype )object ;
156
+
157
+ @end
158
+
143
159
@interface PFObject (Private)
144
160
145
161
/* *
Original file line number Diff line number Diff line change @@ -32,18 +32,6 @@ NS_ASSUME_NONNULL_BEGIN
32
32
33
33
@optional
34
34
35
- /* *
36
- Constructs an object of the most specific class known to implement `+parseClassName`.
37
-
38
- This method takes care to help `PFObject` subclasses be subclassed themselves.
39
- For example, `PFUser.+object` returns a `PFUser` by default but will return an
40
- object of a registered subclass instead if one is known.
41
- A default implementation is provided by `PFObject` which should always be sufficient.
42
-
43
- @return Returns the object that is instantiated.
44
- */
45
- + (instancetype )object ;
46
-
47
35
/* *
48
36
Creates a reference to an existing PFObject for use in creating associations between PFObjects.
49
37
Original file line number Diff line number Diff line change 9
9
10
10
#import " PFProduct.h"
11
11
#import " PFUnitTestCase.h"
12
+ #import " PFObjectPrivate.h"
12
13
13
14
@interface ProductTests : PFUnitTestCase
14
15
Original file line number Diff line number Diff line change 19
19
#import " PFTestSKProduct.h"
20
20
#import " PFUnitTestCase.h"
21
21
#import " Parse_Private.h"
22
+ #import " PFObjectPrivate.h"
22
23
23
24
@protocol PurchaseControllerDataSource <PFCommandRunnerProvider, PFFileManagerProvider>
24
25
Original file line number Diff line number Diff line change 9
9
10
10
#import " PFUnitTestCase.h"
11
11
#import " PFUser.h"
12
+ #import " PFObjectPrivate.h"
12
13
13
14
@interface UserUnitTests : PFUnitTestCase
14
15
You can’t perform that action at this time.
0 commit comments