Re: Watch me learn Cocoa
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