You cannot create arrays in Core Data. You can imitate them, however, using To-Many Relationships. Add a link to your project Workout, and name it exercises. Then set its purpose to the object Exerciseand select the "Interact with many" checkbox. Please note that exercises will be stored as NSSet, and not NSArray, therefore, they will not be ordered. If you want them to be in a specific order, I would recommend using a subclass BWOrderedManagedObject.
source
share