-
Notifications
You must be signed in to change notification settings - Fork 486
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
[SceneKit] SCNLight.[Get|Set]Attribute do not exist on MacCatalyst, so make it explicit that they aren't. #17266
[SceneKit] SCNLight.[Get|Set]Attribute do not exist on MacCatalyst, so make it explicit that they aren't. #17266
Conversation
… so adjust attributes accordingly. Note that this adds a [MacCatalyst (13,1)] attribute - that's the implicit current behavior, so I'm just making the current behavior explicit.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@rolfbjarne Just out of curiosity, I was reviewing the docs for SCNLight, and it only explicitly states that the methods are deprecated for the macOS platform..but in the code attrs are added for the tvOS, macOS, and macCatalyst. How do you decide which platforms should be addressed and which to not include? In this case it looks like the lighting attribute also applies for iPadOS, iOS, etc. |
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes)
NET (empty diffs)
✅ API diff vs stableLegacy Xamarin (No breaking changes).NET (No breaking changes)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻✅ All tests on macOS M1 - Mac Big Sur (11.5) passed. Pipeline on Agent |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 225 tests passed 🎉 Tests counts✅ bcl: All 69 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
Good question! There are two parts to this:
- (nullable id)attributeForKey:(NSString *)key API_DEPRECATED("Use SCNLight properties instead", macos(10.8, 10.10)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst); so it's clear this member is not available on Mac Catalyst.
not sure what you mean here, the existing attributes: xamarin-macios/src/scenekit.cs Lines 1281 to 1300 in 49d13fc
say that:
|
…o make it explicit that they aren't. (xamarin#17266)
No description provided.