maxCount
The maximum number of managed objects the relationship can reference.
Declaration
var maxCount: Int { get set }Discussion
If you declare a relationship attribute as optional when defining your entities, the framework only enforces minCount and maxCount when that attribute is not nil.
The default value is 0.