9/7/2023 0 Comments Macos launchbar![]() ![]() To share data between scenes in scene builder u can use one of the next approaches: ![]() makeKeyAndOrderFront ( nil ) data sharing bsdPath ) " let size = NSSize ( width : 400, height : 600 ) window. init ( store : store )) let controller = NSHostingController ( rootView : view ) let window = NSWindow ( contentViewController : controller ) window. when u open a new scene - a dock item is shown (sometimes is not what we wantĪs a workaround to issues described above, I used NSWindow from AppKit: let view = SerialPortConsoleView ( viewModel.sometimes copy of menu-bar extras created (even if u create an NSMenu only for a dedicated window). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |