One Logo Pool Ball
CoreData · IOS API REFERENCE

NSCustomMigrationStage

class · iOS 17.0+ · SDK 27.1

class NSCustomMigrationStage

Members (5)

get · iOS 17.0+

currentModel

TypeScript
get currentModel(): NSManagedObjectModelReference
Swift declaration
var currentModel: NSManagedObjectModelReference { get }
get · iOS 17.0+

nextModel

TypeScript
get nextModel(): NSManagedObjectModelReference
Swift declaration
var nextModel: NSManagedObjectModelReference { get }
init · iOS 17.0+

init

TypeScript
static init(currentModel: NSManagedObjectModelReference, nextModel: NSManagedObjectModelReference): NSCustomMigrationStage
Swift declaration
convenience init(migratingFrom currentModel: NSManagedObjectModelReference, to nextModel: NSManagedObjectModelReference)
get · iOS 17.0+

didMigrateHandler

TypeScript
get didMigrateHandler(): (((arg0: NSStagedMigrationManager, arg1: NSCustomMigrationStage) => Promise<void>)) | null
Swift declaration
var didMigrateHandler: ((NSStagedMigrationManager, NSCustomMigrationStage) throws -> Void)? { get set }
get · iOS 17.0+

willMigrateHandler

TypeScript
get willMigrateHandler(): (((arg0: NSStagedMigrationManager, arg1: NSCustomMigrationStage) => Promise<void>)) | null
Swift declaration
var willMigrateHandler: ((NSStagedMigrationManager, NSCustomMigrationStage) throws -> Void)? { get set }

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSCustomMigrationStage.willMigrateHandler

closure property answers its caller

NSCustomMigrationStage.didMigrateHandler

closure property answers its caller

NSCustomMigrationStage.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CoreData types →