GTStorableToolkit

public class GTStorableToolkit

This class defines custom types which are being used along with the GTStorable protocol.

  • Supported file types for saving objects conforming to GTStorable.

    See more

    Declaration

    Swift

    public enum FileType
  • A convenient enumeration to specify a target directory.

    Supported values are documents and caches. To define subdirectories use instances of the StoreOptions struct.

    See more

    Declaration

    Swift

    public enum Directory
  • Create instances of this struct and use its properties for providing additional data regarding paths and files that are managed through the GTStorable protocol.

    Instances of this protocol are usually passed as arguments to GTStorable methods.

    See more

    Declaration

    Swift

    public struct StoreOptions
  • Use instances of this struct to pass customized JSON and Property List encoders and decoders to the various methods of the GTStorable protocol.

    See more

    Declaration

    Swift

    public struct CustomCoders