Re: loading in accessors from dictionary item...
Re: loading in accessors from dictionary item...
- Subject: Re: loading in accessors from dictionary item...
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 20 Feb 2004 15:31:43 -0800
On Feb 20, 2004, at 2:28 PM, email@hidden wrote:
[subclass accessor];
the accessors are just strings in the dictionary when i try
[subclass [dict objectForKey:@"accessor"]];
to references the accessor it just says parse error before
"objectForKey"
If the accessors are just accessors (no parameters) and the objects in
the dictionary are strings, then you can use:
[subclass valueForKey:[dict objectForKey:@"accessor"]];
mmalc
_______________________________________________
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.