Protocols

The following protocols are available globally.

  • Mechanica

    Objects adopting the UpdateTimestampable have an updateAt property.

    See more

    Declaration

    Swift

    public protocol UpdateTimestampable: class
  • Mechanica

    Objects adopting the DelayedDeletable support two-step deletion.

    See more

    Declaration

    Swift

    public protocol DelayedDeletable: class
  • Mechanica

    Objects adopting the RemoteDeletable support remote deletion.

    See more

    Declaration

    Swift

    public protocol RemoteDeletable: class
  • Objects adopting the FetchConfigurable support a variety of fetching helper functionalities.

    See more

    Declaration

    Swift

    public protocol FetchConfigurable: class
  • Mechanica

    Types conforming to Randomizable protocol can generate a random value.

    See more

    Declaration

    Swift

    public protocol Randomizable
  • Mechanica

    Types adopting the StoryboardKeyCodable protocol can be used to define Storyboard names.

    See more

    Declaration

    Swift

    public protocol StoryboardKeyCodable
  • Mechanica

    Objects adopting the StoryboardIdentifiable protocol have an unique Storyboard ID.

    See more

    Declaration

    Swift

    public protocol StoryboardIdentifiable: class
  • Types adopting the ModelVersion protocol can be used to describe a Core Data Model and its versioning.

    See more

    Declaration

    Swift

    public protocol ModelVersion: Equatable
  • Mechanica

    Types conforming to PropertyListConfiguration can be used to create a Property List configuration element.

    See more

    Declaration

    Swift

    public protocol PropertyListConfiguration
  • Mechanica

    Types adopting the BoolKeyCodable protocol can be used to construct key path to Bool values.

    See more

    Declaration

    Swift

    public protocol BoolKeyCodable
  • Mechanica

    Types adopting the StringKeyCodable protocol can be used to construct key path to String values.

    See more

    Declaration

    Swift

    public protocol StringKeyCodable
  • Mechanica

    Types adopting the URLKeyCodable protocol can be used to construct key path to URL values.

    See more

    Declaration

    Swift

    public protocol URLKeyCodable
  • Mechanica

    Types adopting the NumberKeyCodable protocol can be used to construct key path to NSNumber objects.

    See more

    Declaration

    Swift

    public protocol NumberKeyCodable
  • Mechanica

    Types adopting the Date protocol can be used to construct key path to Date values.

    See more

    Declaration

    Swift

    public protocol DateKeyCodable
  • Mechanica

    Types adopting the DataKeyCodable protocol can be used to construct key path to Data values.

    See more

    Declaration

    Swift

    public protocol DataKeyCodable
  • Mechanica

    Types adopting the ArrayKeyCodable protocol can be used to construct key path to Array values.

    See more

    Declaration

    Swift

    public protocol ArrayKeyCodable
  • Mechanica

    Types adopting the DictionaryKeyCodable protocol can be used to construct key path to Dictionary values.

    See more

    Declaration

    Swift

    public protocol DictionaryKeyCodable
  • Mechanica

    Types adopting the NibKeyCodable protocol can be used to define Nib names.

    See more

    Declaration

    Swift

    public protocol NibKeyCodable
  • Mechanica

    Types adopting the NibLoadable protocol can be loaded from a Nib.

    Declaration

    Swift

    public protocol NibLoadable
  • Mechanica

    Objects adopting the NibIdentifiable protocol are nib based and are the XIB root object.

    See more

    Declaration

    Swift

    public protocol NibIdentifiable: class