• 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: Newbie with stupid question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Newbie with stupid question (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Several questions on Objective C
  • Next by Date: Re: Sub or superscripts with IB buttons
  • Previous by thread: Re: Newbie with stupid question
  • Next by thread: Newbie with stupid question
  • Index(es):
    • Date
    • Thread