Entity Constraints Programmatically

Originator:angrauel
Number:rdar://22433166 Date Originated:08-25-2015
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9
Classification:Enhancement Reproducible:Always
 
Summary:
The new feature in iOS 9 core data model entity constraints isn't possible to add programmatically.

It should be possible to set constraints programmatically just as with the editor.

Steps to Reproduce:
Example:

1. Create an application with Core Data.
2. Remove the *.xcdatamodeld file
3. Write your NSManagedObjectModel programmatically
4. Try to add constraints to an Entity

Expected Results:
It should be possible to set constraints programmatically

Actual Results:
It's not possible to set constraints programmatically

Version:
iOS 9, Xcode7 Beta 6

Notes:


Configuration:
Xcode7 Beta 6, 10.11 Beta (15A263e), MacBookPro11,2

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!