On 29/07/2009, at 2:54 PM, Rippit the Ogg Frog wrote:
My problem isn't getting a pointer to one of the NSTextViews. My
problem is figuring out which of those NSTextViews a given pointer
refers to.
It's trivial.
Make an outlet for each text view and hook it up in IB. Then do a
if([notification object] == myTextViewA)... type of thing. This is by
far the easiest way to identify things - the object's pointer is its
identity.
--Graham
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]