• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to load a nib from a path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How to load a nib from a path
      • From: Bill Houston <email@hidden>
References: 
 >Re: How to load a nib from a path (From: Bill Houston <email@hidden>)

  • Prev by Date: Re: How to load a nib from a path
  • Next by Date: Re: Loading nibs in plugins
  • Previous by thread: Re: How to load a nib from a path
  • Next by thread: Re: How to load a nib from a path
  • Index(es):
    • Date
    • Thread