Skip to content

Can we support Swift arrays ([]) for toMany properties? #2

Closed
@helje5

Description

@helje5

This would be nice to have:

@Model class Groups: NSManagedObject {
  var items : [ Item ]
}

Related to issue #1.

Maybe there is some hackish solution which swizzles NSArray to react like a set (override isKindOfClass and implement NSSet methods to please CoreData).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions