• 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: selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: selector not recognized


  • Subject: Re: selector not recognized
  • From: Yann Bizeul <email@hidden>
  • Date: Wed, 30 Jun 2004 09:27:16 +0200

> Myclass mc* = mydelegate;
Is it the same as the regular syntax :
Myclass *mc = mydelegate ?

By the way, I'm not sure to understand what you're doing.
Did you instanciate a Myclass instance in the nib ? (is there a blue
cube with the name of the class in InterfaceBuilder ?).
And then, you connect an outlet of another objet to your Myclass
instance, and try from it to call a Myclass method.

Am I right ?

If this is the case, please post your code, as this seem very tricky,
you should have a mistake somewhere :-)

> Since calling class method doesn't work I tried to get at the public
> variable of Myclass but can find no documentation on how that is done.
> mc.publicmcvariable clearly is not it. Debugger can see it why not me?
See documentations about KVC complience, then you would be able to
access instance variables with methods like :
[Myclass valueForKey: @"myVar"]

--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
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.


References: 
 >selector not recognized (From: a984984 <email@hidden>)

  • Prev by Date: Re: NSCursor category
  • Next by Date: Re: Rotating Images....
  • Previous by thread: selector not recognized
  • Next by thread: Re: selector not recognized
  • Index(es):
    • Date
    • Thread