Contents

minCount

The minimum number of managed objects the relationship can reference.

Declaration

var minCount: 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.

See Also

Configuring Cardinality