-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
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
[arkit] Add ARBlendShapeLocationOptions strong dictionary #2696
Conversation
*/ | ||
IntPtr Constructor (NSDictionary blendShapes); | ||
|
||
[Wrap ("this ((NSDictionary)blendShapes?.Dictionary)")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this cast needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's trying to use NSObjectFlag
otherwise.
|
||
[iOS (11,0)] | ||
[NoWatch, NoTV, NoMac] | ||
[Static] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use [Internal]
so this leaves us the option to expose it as a smart enum later (at the cost of extra manual code or generator changes).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good idea, thanks.
Build failure |
Build success |
I chose to not transform those
ARBlendShapeLocation
constants ([Field]
) into a smart enum because a strong dictionary is what the APIs need most.