ORKCollector Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying NSSecureCoding |
| Declared in | ORKCollector.h ORKCollector.m |
Other Methods
– serializedDataForObjects:
Serialization helper that produces serialized output. Subclasses should implement to provide a default serialization for upload.
- (NSData *)serializedDataForObjects:(NSArray *)objectsReturn Value
Serialized data object.
Discussion
@params objects The objects to be serialized.
Declared In
ORKCollector.h
– serializableObjectsForObjects:
Serialization helper that produces objects suitable for serialization to JSON.
- (NSArray *)serializableObjectsForObjects:(NSArray *)objectsReturn Value
Serializable dictionary objects.
Discussion
Subclasses should implement to provide a default JSON serialization for upload.
Called by serializedDataForObjects:.
@params objects The objects to be serialized.
Declared In
ORKCollector.h
Other Methods
identifier
Identifier of this collector.
@property (copy, readonly) NSString *identifierDeclared In
ORKCollector.h