FROM : Finlay Dobbie
DATE : Thu Jul 20 13:11:56 2006
On 20/07/06, Tom O'Grady <tom.<email_removed>> wrote:
> hi there - i'm new to the cocoa-dev list and i wanted to find out whether a nib file can be loaded from a dylib. if so, can it be done regardless of whether the nib file is in the same bundle as the dylib?
Of course. See <http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/index.html>,
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSBundle_AppKitAdditions/Reference/Reference.html#//apple_ref/occ/clm/NSBundle/loadNibFile:externalNameTable:withZone:>
and <http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSNib_Class/Reference/Reference.html#//apple_ref/occ/instm/NSNib/initWithContentsOfURL:>.
-- Finlay
DATE : Thu Jul 20 13:11:56 2006
On 20/07/06, Tom O'Grady <tom.<email_removed>> wrote:
> hi there - i'm new to the cocoa-dev list and i wanted to find out whether a nib file can be loaded from a dylib. if so, can it be done regardless of whether the nib file is in the same bundle as the dylib?
Of course. See <http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/index.html>,
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSBundle_AppKitAdditions/Reference/Reference.html#//apple_ref/occ/clm/NSBundle/loadNibFile:externalNameTable:withZone:>
and <http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSNib_Class/Reference/Reference.html#//apple_ref/occ/instm/NSNib/initWithContentsOfURL:>.
-- Finlay
| Related mails | Author | Date |
|---|---|---|
| Tom O'Grady | Jul 20, 13:04 | |
| Finlay Dobbie | Jul 20, 13:11 |






Cocoa mail archive

