Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 1, Issue 214



Scott:

Thanks very much for the references. A huge help that get's me on my way.

Jim


On Oct 31, 2004, at 7:10 AM, email@hidden wrote:

On Oct 30, 2004, at 11:34 PM, James Hillhouse wrote:

When I bind the PullDown Button, I select Value, binding to the
controller (in this case OrbitController) with a "selection"
Controller Key and "selectCentralBodyMuAsPlanetX" for the first choice
and "selectCentralBodyMuAsPlanetY" for the second choice for the Model
Key Path.

You probably want to be binding three separate things:

- content to popupArrayController.arrangedObjects;
- contentValues to popupArrayController.arrangedObjects.displayName;
- selectedObject to otherArrayController.selection.attribute

This is from:
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html

See the "Popup" section.

Here's the sample project:
http://homepage.mac.com/mmalc/CocoaExamples/ToDos.zip


- Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.