Re: Newbie with stupid question
Re: Newbie with stupid question
- Subject: Re: Newbie with stupid question
- From: Ondra Cada <email@hidden>
- Date: Mon, 18 Mar 2002 23:03:51 +0100
On Monday, March 18, 2002, at 07:24 , Lance Bland 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.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.