SKYDataSerialization

@interface SKYDataSerialization : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (NSDate *_Nullable)dateFromString:(nonnull NSString *)dateStr;

    Swift

    class func date(from dateStr: String) -> Date?
  • Undocumented

    Declaration

    Objective-C

    + (NSString *_Nullable)stringFromDate:(nonnull NSDate *)date;

    Swift

    class func string(from date: Date) -> String?
  • Undocumented

    Declaration

    Objective-C

    + (id _Nullable)deserializeObjectWithValue:(nonnull id)value;

    Swift

    class func deserializeObject(withValue value: Any) -> Any?
  • Undocumented

    Declaration

    Objective-C

    + (SKYAsset *_Nullable)deserializeAssetWithDictionary:
        (nonnull NSDictionary *)data;

    Swift

    class func deserializeAsset(with data: [AnyHashable : Any]) -> SKYAsset?
  • Undocumented

    Declaration

    Objective-C

    + (nonnull id)serializeObject:(id _Nullable)obj;

    Swift

    class func serializeObject(_ obj: Any?) -> Any