Modifiable
protocol Modifiable
Protocol all source code types (structs, enums, etc.) must conform to
-
identifier of source code type
Declaration
Swift
var id: String { get }
-
true if migration affected this modifiable
Declaration
Swift
var modified: Bool { get set }
-
annotation for this modifiable (if available)
Declaration
Swift
var annotation: Annotation? { get set }
-
Modifies the source code type according to the change as stated in migration guide. Is called from within the migration process of
MigrationSet
Declaration
Swift
func modify(change: Change)
Parameters
change
change as stated in migration guide