• 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: Send msg to object by nameed NSString;
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send msg to object by nameed NSString;


  • Subject: Re: Send msg to object by nameed NSString;
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 18 Jun 2014 11:43:30 -0700

On Jun 18, 2014, at 11:23 AM, Trygve Inda <email@hidden> wrote:

> Is there a way to access the myNumber property and send it a message knowing
> only it's name (contained in myString)?


You mean like key-value coding?
	[self valueForKey: @“myNumber”];

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Send msg to object by nameed NSString; (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: iOS app restarting from screen one. Why?
  • Next by Date: Re: Send msg to object by nameed NSString;
  • Previous by thread: Send msg to object by nameed NSString;
  • Next by thread: Re: Send msg to object by nameed NSString;
  • Index(es):
    • Date
    • Thread