• 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
Cocoa Bindings & different nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa Bindings & different nibs


  • Subject: Cocoa Bindings & different nibs
  • From: Jesus De Meyer <email@hidden>
  • Date: Mon, 9 Oct 2006 10:53:59 +0200

Hi,

I'm writing a document based application. The document window consists of 3 zones: an inspector view (which is a custom view), an outline view, and another custom view where I draw rectangles that represent certain objects.

What I wanna do is, if either the outlineview or the custom view is selected, change the subviews of the inspectorview. The subviews of the inspectorview are made in separate nibs, which are then loaded by my InspectorController.
I would like to use bindings to populate each of the GUI elements of these subviews. So for instance if I click on the custom view and a rectangle is selected, I would tell the InspectorController to add the subview that has all the properties I can change for this rectangle and somehow tell bindings that the selection has been changed so the subview gets populated.


I've looked at mmalc's GraphicBindings example (http:// homepage.mac.com/mmalc/CocoaExamples/GraphicsBindings.zip) but I can't figure out how this all works. I wanna do something similiar, except that my inspector subviews come from a external nibs.

How could I solve this problem? Any pointers would be very welcome.

Thanks in advance.
_______________________________________________
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: Cocoa Bindings & different nibs
      • From: Keary Suska <email@hidden>
  • Prev by Date: WhackedTV - Adding Video Overlay (photoshop image with mask)
  • Next by Date: Re: NSDictionary dictionaryWithContentsOfFile in Carbon app
  • Previous by thread: Re: WhackedTV - Adding Video Overlay (photoshop image with mask)
  • Next by thread: Re: Cocoa Bindings & different nibs
  • Index(es):
    • Date
    • Thread