cocoa-sheet
NSApp beginSheet creates a sheet very briefly then disappears
[NSApp beginSheet] is used like so: [NSApp beginSheet:[testSheetController window] modalForWindow:[NSApp mainWindow][详细]
2023-03-28 17:43 分类:问答Better way to manage lifetime of instance created in class method
In a pet application I\'m writing, on the main window, I have a few custom views aligned under each other, each with a label, a combobox and a button.[详细]
2023-03-22 03:09 分类:问答ok button for alert in mac app does not work
On a button click, I am using the below code testViewController *myWindowController= [[testViewController alloc] initWithWindowNibName:@\"RecordingsViewController\"];[详细]
2023-03-19 20:33 分类:问答Can a view controller own a sheet?
I want to call a sheet from within a view controller (user clicks on a button and the sheet will be displayed). Can the 开发者_开发技巧sheet have a separate window controller (with outlets and actions[详细]
2023-03-10 17:15 分类:问答OS X - How can a NSViewController find its window?
I have a Document based core data app. The main document window has a number of views, each controlled by its own custom NSViewController which are switched in as necessary. I want each of these view[详细]
2023-02-27 02:47 分类:问答Am I using BeginSheet right? (MonoMac)
I 开发者_JAVA百科have a feeling that I\'ve either stumbled upon a bug (unlikely) or that I\'m just using this function wrong (probably). I\'m trying to make a sheet appear on my MainWindow. For some r[详细]
2023-02-13 20:58 分类:问答Working with multiple Windows Using Interface Builder
How to work with multiple windows in Cocoa? I have created acocoa application. When I run that application it automatically shows a default window. I\'ve added a button in the window. When I click the[详细]
2023-02-09 03:28 分类:问答Modal Window in Cocoa
I\'m trying to create a custom modal window and here is the code I have so far: NSWindowController *modalSheet = [[NSWindowController alloc][详细]
2023-02-02 04:18 分类:问答NSWindowController clarification of understanding
I have used NSWindowController in projects several times, and feel like I have a (very)rough grasp of the concepts behind this important class. What I would like to do with this post is to clarify/cor[详细]
2023-01-15 08:15 分类:问答Sheet and thread memory problem
recently I started a project which can export some precalculated Grafix/Audio to files, for after processing.[详细]
2022-12-26 06:08 分类:问答