<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "swift: 5.8.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSStagedMigrationManager/init(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Data",
      "CoreData"
    ],
    "preciseIdentifier" : "s:So24NSStagedMigrationManagerC8CoreDataEyABSaySo16NSMigrationStageCGcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Creates a migration manager with the specified stages.

```
convenience init(_ stages: [NSMigrationStage])
```

## Parameters

`stages`

The array of migration stages to execute.

## Discussion

> Important:
> Core Data processes the migration stages in the order that you provide them.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)