Skip to content
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

Support macOS v12 #13

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Support macOS v12 #13

merged 1 commit into from
Sep 29, 2023

Conversation

andrewtheis
Copy link
Contributor

I tested this on one of my apps using a macOS 12 VM (easy to do w/VirtualBuddy). Appears everything works, but obviously just one use case.

Comment on lines -39 to +41
view.sizingOptions = []
if #available(macOS 13.0, *) {
view.sizingOptions = []
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the implications of these changes? Any changes to behavior?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, no. I tested on the macOS 12 VM

Comment on lines -67 to +73
collectionBehavior = [.auxiliary, .stationary, .moveToActiveSpace, .fullScreenAuxiliary]
if #available(macOS 13.0, *) {
collectionBehavior = [.auxiliary, .stationary, .moveToActiveSpace, .fullScreenAuxiliary]
} else {
collectionBehavior = [.stationary, .moveToActiveSpace, .fullScreenAuxiliary]
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, how does this affect behavior (i.e. animations) on macOS 12? Do you have a screen recording of the result?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, here ya go

ProducerToolkitMacOS12-720p.mov

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, that seems to work well.

Copy link
Owner

@lfroms lfroms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @andrewtheis! These changes look good to me.

@lfroms lfroms merged commit e152a3a into lfroms:main Sep 29, 2023
@andrewtheis andrewtheis deleted the support-macos-12 branch October 10, 2023 03:50
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.

2 participants