Re: NSView -subviews ordering?
Re: NSView -subviews ordering?
- Subject: Re: NSView -subviews ordering?
- From: Brock Brandenberg <email@hidden>
- Date: Wed, 29 May 2002 16:48:42 -0500
Nooo, you are overcomplicating things. This is ObjC, not C++ ;)
The rule is simple: all functions work *exactly* as if there are no
@... directives. Regardless where they are, functions are still plain
ole C.
You're right. I carry C++ baggage with me from the Toolbox/Carbon
world :) And boy does it make your head hurt when you have to jump back
and forth.
Incidentally, did you know you can send messages from them?
I tried this once when a colleague wanted his C code to drive an
IBOutlet variable. We changed the file from .c to .m (instead of forcing
the compiler) and added a message to a function. So, I couldn't agree
more - the Obj-C runtime is a very cool creation.
Thanks,
Brock
----- industrial design @ bergdesign.com ------
_______________________________________________
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.