-
Notifications
You must be signed in to change notification settings - Fork 515
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
[foundation] Add support for NSValue/CGAffineTransform and StoreValueAtAddress overload #6887
[foundation] Add support for NSValue/CGAffineTransform and StoreValueAtAddress overload #6887
Conversation
…AtAddress overload Support for `NSValue`/`CGAffineTransform` exists in iOS/tvOS/watchOS, from UIKit, but not for macOS. However this will be required for the new protocols inside CoreImage. Also add an overload for `StoreValueAtAddress` since the original one was deprecated but we did not provide the new alternative to update the code.
extern static IntPtr xamarin_encode_CGAffineTransform (); | ||
|
||
// The `+valueWithCGAffineTransform:` selector comes from UIKit and is not available on macOS | ||
public unsafe static NSValue FromCGAffineTransform (CGAffineTransform tran) |
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.
Style: complete word as parameter name - transform
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.
yeah, I thought about it - but it's the current name for iOS/tvOS/watchOS :(
so I decided to be consistent
Build failure 🔥 Build failed 🔥 |
Looks like mono's
|
build |
Build failure Test results8 tests failed, 83 tests passed.Failed tests
|
Build success |
Support for
NSValue
/CGAffineTransform
exists in iOS/tvOS/watchOS,from UIKit, but not for macOS. However this will be required for the
new protocols inside CoreImage.
Also add an overload for
StoreValueAtAddress
since the originalone was deprecated but we did not provide the new alternative to
update the code.