---
title: name
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspropertydescription/name
---

# name

The name of the receiver.

## Declaration

```swift
var name: String { get set }
```

## Discussion

Discussion A property name cannot be the same as any no-parameter method name of NSObject or NSManagedObject. Since there are hundreds of methods on NSObject which may conflict with property names, you should avoid very general words (like “font”, and “color”) and words or phrases that overlap with Cocoa paradigms (such as “isEditing” and “objectSpecifier”). Special Considerations Setting the name raises an exception if the receiver’s model has been used by an object graph manager.

## See Also

### Accessing Features of a Property

- [entity](coredata/nspropertydescription/entity.md)
- [isIndexed](coredata/nspropertydescription/isindexed.md)
- [isOptional](coredata/nspropertydescription/isoptional.md)
- [isTransient](coredata/nspropertydescription/istransient.md)
- [userInfo](coredata/nspropertydescription/userinfo.md)
