Re: How to load a nib from a path
Re: How to load a nib from a path
- Subject: Re: How to load a nib from a path
- From: j o a r <email@hidden>
- Date: Fri, 20 Feb 2004 19:30:06 +0100
On 2004-02-20, at 19.17, Bill Houston wrote:
>
Here is the warning I get when I compile the code:
>
>
Warning : receiver cannot handle this message
>
Controller.m line 31 if([frameworksBundle loadNibNamed:@"MY_UI"
>
owner:self]) {
Right, but you're not using the code that Sailor Quasar gave you...
The reason you get the warning is that "loadNibNamed:owner:" is a class
method. Being a class method it can only be sent to the NSBundle class
object, and not instances of the NSBundle class. Read more on that
topic in the Objective-C PDF that Apple provides with their development
tools.
Weird warning message btw. - what compiler are you using? It's not GCC,
right? CodeWarrior?
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.