Re: How useful are bit operators?
Re: How useful are bit operators?
- Subject: Re: How useful are bit operators?
- From: Andy Lee <email@hidden>
- Date: Tue, 24 Jul 2007 16:30:01 -0400
On Jul 24, 2007, at 4:11 PM, Bob Ueland wrote:
How useful are those operations in Cocoa programming? Could you
give me an example where you actually was forced to use a bit
operation.
One example: you need OR to combine masks that are bit patterns. For
example, see autoresizingMask, buttonMask, capabilityMask, etc.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden