Re: new to cocoa
Re: new to cocoa
- Subject: Re: new to cocoa
- From: Andy Lee <email@hidden>
- Date: Sun, 16 May 2010 21:15:42 -0400
In addition to what others have pointed out...
On May 16, 2010, at 8:19 PM, William Squires wrote:
> [sourceButtonMap setObject:[NSString stringWithString:@"no"] forKey:[unitButton description]];
...there's no reason to use stringWithString:. You can just say:
[sourceButtonMap setObject:@"no" forKey:[unitButton description]];
--Andy
_______________________________________________
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