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
See moreGTStorable
.Declaration
Swift
public enum FileType
-
A convenient enumeration to specify a target directory.
Supported values are
See moredocuments
andcaches
. To define subdirectories use instances of theStoreOptions
struct.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
See moreGTStorable
methods.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
See moreGTStorable
protocol.Declaration
Swift
public struct CustomCoders