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

NSApp class that does the root object handling #6

Open
mulle-kybernetik-tv opened this issue Nov 20, 2018 · 1 comment
Open

NSApp class that does the root object handling #6

mulle-kybernetik-tv opened this issue Nov 20, 2018 · 1 comment

Comments

@mulle-kybernetik-tv
Copy link
Contributor

This is obviously a sharedInstance.
Move the whole "roots" handling into NSApp. The only typical root class then is only NSApp in the runtime. Windows are then tied to NSApp and other root classes.

@mulle-nat
Copy link
Member

Probably stupid. Better: remove roots handling except for placeholder and sharedinstance from runtime. Let users use a shared instance app class (->sharedinstance) to manage user roots instead of the runtime.

Effectively, the only roots are placeholders, sharedinstances and static strings.

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

No branches or pull requests

2 participants