• 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: new to cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >new to cocoa (From: Alejandro Marcos Aragón <email@hidden>)
 >Re: new to cocoa (From: William Squires <email@hidden>)

  • Prev by Date: Re: new to cocoa
  • Next by Date: Re: new to cocoa
  • Previous by thread: Re: new to cocoa
  • Next by thread: iPhone: viewDidAppear called, Default.png still visible
  • Index(es):
    • Date
    • Thread