Protocols

The following protocols are available globally.

  • Undocumented

    See more
  • When a struct that conforms to AutoSerializable is serialized, its stored properties (those with types that conform to Serializable) are automatically included in the serialization.

    -ss_serialize() and -init?(fromSerialized:) are implemented in an extension; only -init?(withValuesForKeys:) needs to be implemented by the conforming struct.

    See more

    Declaration

    Swift

    public protocol AutoSerializable:Serializable
  • Undocumented

    See more
  • Objects that inherit from NSObject can conform to SerializableKVCObject for easy serialization of its Serializable-conforming properties listed in -serializableKeys.

    -valueForKey: and -setValue:forKey: do not need to be manually implemented, as they are implemented by NSObject.

    See more

    Declaration

    Swift

    public protocol SerializableKVCObject:SerializableObject, AutoSerializable
  • Undocumented