---
title: "init(fromBundles:forSourceModel:destinationModel:)"
framework: coredata
role: symbol
role_heading: Initializer
path: "coredata/nsmappingmodel/init(frombundles:forsourcemodel:destinationmodel:)"
---

# init(fromBundles:forSourceModel:destinationModel:)

## Declaration

```swift
init?(fromBundles bundles: [Bundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel: NSManagedObjectModel?)
```
