Re: Newbie with stupid question
Re: Newbie with stupid question
- Subject: Re: Newbie with stupid question
- From: Lance Bland <email@hidden>
- Date: Mon, 18 Mar 2002 17:28:57 -0500
On Monday, March 18, 2002, at 05:03 PM, Ondra Cada wrote:
While [gamma setEnabled:[sender state]] makes sense to experienced
Cocoa programmers, and works, it's important for newbies to
understand *why*. That's what I was trying to do. The best-laid
plans...
It only makes sense because the non-off states all have value non-zero
in the enumerated type, so it is implementation dependent.
It is not. See the documentation.
I stand corrected. Thanks for pointing that out.
-lance
_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.