outlets to multiple views (NSView)
outlets to multiple views (NSView)
- Subject: outlets to multiple views (NSView)
- From: Aaron Boothello <email@hidden>
- Date: Sat, 21 Oct 2006 18:30:01 +0800
I have an application with 4 different views of a 3D scene. The views
are NSOpenGLViews. They are "connected" to each other using outlets.
My goal is to be able to update the views whenever something is
changed in any one of them. So i am keeping track of which view i am
making the change in and accordingly updating the other 3 views by
calling this method:
[view1 setNeedsDisplay:YES];
[view2 setNeedsDisplay:YES];
etc
This seems to be working rather inconsistently for me. one view doesn
update any of the other 3 views, one updates just one, and one
updates all of them just fine. Ive checked the connections in IB,
checked the outlets in IB, and checked the code. I even wrote a test
method which prints out "hello world" just to see if the connections
are working, and they do work. but the views just dont seem to
update/redisplay as they should.
So im not sure where/what the problem is here.
Any help would be appreciated.
Cheers,
Aaron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden