sourceEntity(for:)
Returns the entity description for the source entity of a given entity mapping.
Declaration
func sourceEntity(for mEntity: NSEntityMapping) -> NSEntityDescription?Parameters
- mEntity:
An entity mapping.
Return Value
The entity description for the source entity of mEntity.
Discussion
Entity mappings do not store the actual description objects, but rather the name and version information of the entity.