Protocols
The following protocols are available globally.
-
Declaration
Swift
public protocol UpdateTimestampable: class
-
Declaration
Swift
public protocol DelayedDeletable: class
-
Declaration
Swift
public protocol RemoteDeletable: class
-
Declaration
Swift
public protocol ValueAssociable
-
Objects adopting the
See moreFetchConfigurable
support a variety of fetching helper functionalities.Declaration
Swift
public protocol FetchConfigurable: class
-
Declaration
Swift
public protocol BinaryConvertible
-
Mechanica
From SE-0104 (Swift 4), Int nad UInt families will conform to FixedWidthInteger. https://github.com/apple/swift-evolution/blob/master/proposals/0104-improved-integers.md - TODO: This protocol should be removed with with Swift 4.
See moreDeclaration
Swift
public protocol FixedWidthInteger: Integer
-
Mechanica - TODO: Rename this protocol
See moreFixedWidthIntegerRandomizable
with Swift 4.Declaration
Swift
public protocol IntegerRandomizable
-
Mechanica
Types adopting the
See moreStoryboardEnumerable
protocol can be used to define Storyboard names.Declaration
Swift
public protocol StoryboardEnumerable
-
Mechanica
Objects adopting the
See moreStoryboardIdentifiable
protocol have an unique Storyboard ID.Declaration
Swift
public protocol StoryboardIdentifiable: class
-
Types adopting the
See moreModelVersion
protocol can be used to describe a Core Data Model and its versioning.Declaration
Swift
public protocol ModelVersion: Equatable
-
Mechanica
Types conforming to
See morePropertyListReadable
can be used to read values from a Property List (.plist) file.Declaration
Swift
public protocol PropertyListReadable
-
Declaration
Swift
public protocol NibEnumerable
-
Mechanica
Types adopting the
NibLoadable
protocol can be loaded from a Nib.Declaration
Swift
public protocol NibLoadable
-
Mechanica
Objects adopting the
See moreNibIdentifiable
protocol are nib based and are the only XIB root object.Declaration
Swift
public protocol NibIdentifiable: class