• 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: Watch me learn Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Watch me learn Cocoa


  • Subject: Re: Watch me learn Cocoa
  • From: Guy English <email@hidden>
  • Date: Tue, 26 Jul 2005 08:12:42 -0400

Hey,

    I just flicked through the page really quickly and it seems like
it'd be a help to someone just starting out. The one thing that jumped
out at me: "I think that I can look at the title of the checkbox that
sends me the action and do a string comparison" - well, you *can* but
it's a very bad idea. If you get in this habit you'll use it in bigger
apps, then, one day, you'll go to localize your app and discover that
the checkbox titles have changed and your code doesn't work anymore.
What you want to do is use the 'tag' - it's just a number and doesn't
get localized.

Take care,
Guy

On 7/26/05, Steve Weller <email@hidden> wrote:
>
> A short while ago I peppered the list with some very basic questions
> and some opinions and frustrations, and received some good help and
> guidance (particularly from mmalc). I have since switched from
> learning by reading to learning by doing (my preferred method, but
> not permitted by circumstances) and have started writing some simple
> Cocoa apps.
>
> I'm blogging my efforts on my home page http://homepage.mac.com/
> bagelturf/. If you are so inclined you can watch my learning in
> progress, blow by blow, confusion by confusion, and crash by crash. I
> am posting code, screen shots, and other goodies.
>
> Adventures with Cocoa  http://homepage.mac.com/bagelturf/
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Watch me learn Cocoa (From: Steve Weller <email@hidden>)

  • Prev by Date: other question ...
  • Next by Date: Re: NSMutableCopy Issue - New to Cocoa and Objective-C
  • Previous by thread: Watch me learn Cocoa
  • Next by thread: Getting the download location selected by the user in Safari.
  • Index(es):
    • Date
    • Thread