On Apr 17, 2008, at 20:15, Mike Rossetti wrote:

Then I add a class method that creates a new Tip and tries the following assignment (two approaches shown):

  newTip.tipName = @"FUBAR";
  [newTip setTipName:@"FUBAR"];

It would be interesting to know if, at the point of the error, the getter failed as well as the setter.

It would be interesting to know if [newTip setValue:@"FUBAR" forKey:@"tipName"] also failed.

It would be interesting to know if the setter fails on fetched (existing) Tips, or just on newly created ones.

Both cause a runtime error:

  -[tip setTipName:]: unrecognized selector sent to instance


Is that the exact error message, or is it [Tip setTipName]? "tip" seems inexplicable.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to