VSSSerializable Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | VSSSerializable.h |
Overview
Protocol for deserialization NSDictionaries to VSSModel descendants.
Each VSSModel and its descendants implement this protocol.
+ deserializeFrom:
required method
Performs deserialization of the given dictionary into VSSModel.
+ (instancetype __nonnull)deserializeFrom:(NSDictionary *__nonnull)candidate
Parameters
candidate |
Dictionary with data transfer object which should be converted into VSSModel. |
---|
Return Value
Instance of VSSModel or its particular descendant.
Declared In
VSSSerializable.h