FROM : mmalc crawford
DATE : Sun Nov 04 00:13:07 2007
On Nov 3, 2007, at 11:54 AM, Robert Nikander wrote:
> I'm trying to set up the menus programmatically, without loading
> nibs, so I would need to the see source for other functions called
> by NSApplicationMain as well.
>
No, you wouldn't.
If all NSApplication is doing is loading a nib file using the same
NSBundle method used by the rest of the system, the sensible next step
is to look at the contents of a typical MainMenu nib file and see what
properties the main menu itself has...
mmalc
DATE : Sun Nov 04 00:13:07 2007
On Nov 3, 2007, at 11:54 AM, Robert Nikander wrote:
> I'm trying to set up the menus programmatically, without loading
> nibs, so I would need to the see source for other functions called
> by NSApplicationMain as well.
>
No, you wouldn't.
If all NSApplication is doing is loading a nib file using the same
NSBundle method used by the rest of the system, the sensible next step
is to look at the contents of a typical MainMenu nib file and see what
properties the main menu itself has...
mmalc
| Related mails | Author | Date |
|---|---|---|
| Robert Nikander | Nov 3, 18:12 | |
| Jeff Johnson | Nov 3, 18:37 | |
| Jeff Johnson | Nov 3, 18:46 | |
| mmalc crawford | Nov 3, 19:29 | |
| Robert Nikander | Nov 3, 19:54 | |
| Robert Nikander | Nov 3, 20:08 | |
| mmalc crawford | Nov 4, 00:13 | |
| Robert Nikander | Nov 4, 01:15 | |
| Eric Schlegel | Nov 4, 17:25 | |
| Robert Nikander | Nov 4, 18:05 |






Cocoa mail archive

