Skip to content

Conversation

@visigoth
Copy link
Contributor

@visigoth visigoth commented Jan 10, 2021

This change first adds support for declaring rust counterparts for Objective-C
classes that include generics.

Second, the change adds NSArray as a motivating example and use case.

Unfortunately, this set of changes does not compile due to lifetime constraints
not being satisfied. I am looking for guidance on how to resolve the lifetime
issues. What is the appropriate lifetime relationship to represent between
objects stored in NSArray and NSArray's lifetime captured in the PhantomData of NSArray?
How should Arc wrap them when accessing objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant