
Read the Cocoa headers
and you'll find bit fields all over NSWindow and other UI components.
Of course, those headers have been around for a very long time (1987 at least).
"Whenever you find you are on the side of the majority, it is time to pause and reflect" --Mark Twain
"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." --Albert Einstein
"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses." --George W. Bush