MulleObjC icon indicating copy to clipboard operation
MulleObjC copied to clipboard

NSApp class that does the root object handling

Open mulle-kybernetik-tv opened this issue 6 years ago • 1 comments

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-kybernetik-tv avatar Nov 20 '18 17:11 mulle-kybernetik-tv

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.

mulle-nat avatar Nov 21 '18 16:11 mulle-nat