We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some support for NSOrderedSet is prepared in the codebase, need to test this and check what actually works.
NSOrderedSet
A problem w/ NSOrderedSet is the lack of an associated type, i.e. it isn't a NSOrderedSet<T>. It can be subclassed in Swift like:
NSOrderedSet<T>
final class OrderedSet<T>: NSOrderedSet
but then the OrderedSet<T> can't be used w/ @NSManaged? (something about OrderedSet can't be used in ObjC).
OrderedSet<T>
@NSManaged
So the minimal thing would be support for such:
@Model class Group: NSManagedObject { @Relationship(inverse: \Item.group) var items : NSOrderedSet }
The target model type could be provided by the inverse.
The text was updated successfully, but these errors were encountered:
[]
No branches or pull requests
Some support for
NSOrderedSet
is prepared in the codebase, need to test this and check what actually works.A problem w/
NSOrderedSet
is the lack of an associated type, i.e. it isn't aNSOrderedSet<T>
. It can be subclassed in Swift like:but then the
OrderedSet<T>
can't be used w/@NSManaged
? (something about OrderedSet can't be used in ObjC).So the minimal thing would be support for such:
The target model type could be provided by the inverse.
The text was updated successfully, but these errors were encountered: