• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
outlets to multiple views (NSView)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: outlets to multiple views (NSView)
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: playing a quicktime movie in a QTMovieView
  • Next by Date: Re: outlets to multiple views (NSView)
  • Previous by thread: NSScrollView scroll wheel problem
  • Next by thread: Re: outlets to multiple views (NSView)
  • Index(es):
    • Date
    • Thread