nswindow
Load window before main window
I have an app somethink like chat with one main window. I need to add login window and this window must loading before main window.[详细]
2023-02-17 21:32 分类:问答NSWindow not drawn until clicked, resized, etc
I have a window with an NSCollectionView created through Interface Builder. There is an NSArrayController that it bound to a CoreData backing store, which is populated at the time of launch by firing[详细]
2023-02-17 17:16 分类:问答How to snap an NSWindow to a grid
How can I snap an NSWindow to a grid? Any good algorithms, tutorials that are rec开发者_C百科ommended?If you just want to monitor you app\'s windows its easy to just monitor the own windows locations[详细]
2023-02-17 04:49 分类:问答How to give focus to NSWindow loaded from NIB?
I\'m using NSWindowController to load a window from a NIB. However, when I call showWindow:, the window is visua开发者_如何学Pythonlly topmost, but the focus remains where it was (instead of moving it[详细]
2023-02-16 18:07 分类:问答Notification during NSWindow movement
How can I get a notification while a NSWindow\'s position is changed by dragging its titlebar? I know I can use 开发者_JS百科the windowWillMove: and windowDidMove: notifications, but those will give m[详细]
2023-02-16 06:21 分类:问答Custom NSWindow content margin causes mess up with autoresizing mask
I\'m currently using the method shown in this Cocoa with Love article to create a custom NSWindow subclass. As in the example, I needed to have a roughly 10px margin around the content of the window i[详细]
2023-02-15 17:31 分类:问答cocoa close NSWindow
I\'m trying to make a NSWindow close when I click a button for a new NSWindow. I\'m not trying to connect the button to make it close because the button is what makes it open. Or can it do both? (i am[详细]
2023-02-15 12:25 分类:问答close event NSWindow
I have an application, where a second NSWindow is opened by pressing a button. This new window is opened using [NSApp runModalForWindow:<myWindow&开发者_如何学JAVAgt;]. I want to be able to determi[详细]
2023-02-13 12:06 分类:问答NSWindow setFrame | setPosition on the screen
In my application, I need to display a multiple window of same NIB, at a time, and it will be closed/released on the timer basis,[详细]
2023-02-13 06:13 分类:问答Setting a static window Title that precedes a variable Title
I apologize for the confusing post Title. This is what I mean: Lets say I have an action that displays window ti开发者_C百科tle text. It\'s a non doc based app.[详细]
2023-02-12 21:42 分类:问答