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

selector not recognized


  • Subject: selector not recognized
  • From: a984984 <email@hidden>
  • Date: Tue, 29 Jun 2004 19:45:41 -0700

(hoping not making an idiot of myself)
Have a class defined. Another object has a delegate(outlet) that points
to the instance of that class. I want to call a method in that class.
Doesn't work.

Myclass mc* = mydelegate;

this works fine. I can see in the debugger that mc is my particular
instance of Myclass and can see all its variables. Myclass defines
accessor - (NSMutableArray*)ArgArray; method but calling it:


NSMutableArray ma* = [mc ArgArray];

generates

*** -[Myclass ArgArray]: selector not recognized
Exception raised during posting of notification.

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?
_______________________________________________
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: selector not recognized
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: [ANN] Free NSValueTransformer classes.
  • Next by Date: Re: Saving arrays with NSUserDefaults?
  • Previous by thread: [ANN] Free NSValueTransformer classes.
  • Next by thread: Re: selector not recognized
  • Index(es):
    • Date
    • Thread