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

Add support for initializing a TweakWindow with a UIWindowScene #136

Merged
merged 3 commits into from
Jan 13, 2021

Conversation

johntmcintosh
Copy link
Contributor

For apps supporting scenes, there's a new initializer on UIWindow for passing in a UIWindowScene rather than a frame. This PR creates a new initializer on TweakWindow for initializing with a UIWindowScene.

break
}
}
commonInit(tweakStore: tweakStore)
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks for moving this to a commonInit rather than having lots of duplicated code!

@bryanjclark bryanjclark merged commit 0268b00 into bryanjclark:master Jan 13, 2021
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.

None yet

2 participants