Re: cocoa-dev digest, Vol 2 #4031 - 1 msg
Re: cocoa-dev digest, Vol 2 #4031 - 1 msg
- Subject: Re: cocoa-dev digest, Vol 2 #4031 - 1 msg
- From: "Mike Gillilan" <email@hidden>
- Date: Sat, 17 Apr 2004 23:07:27 -0600
This is an automated email---
I'm out of the office from April 17th until April 21st.
Thanks,
Mike
>
>> cocoa-dev 04/17/04 23:00 >>>
Send cocoa-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cocoa-dev digest..."
Today's Topics:
1. Re: NSObjectController and NSDefaultsController Binding? (mmalcolm crawford)
--__--__--
Message: 1
Cc: Cocoa Developer List <email@hidden>
From: mmalcolm crawford <email@hidden>
Subject: Re: NSObjectController and NSDefaultsController Binding?
Date: Sat, 17 Apr 2004 21:38:43 -0700
To: Bruce Truax <email@hidden>
On Apr 17, 2004, at 2:53 PM, Bruce Truax wrote:
>
Is it possible to use both an NSObjectController and
>
NSDefaultsController to
>
bind the value of a NETextEdit field to your model object and the
>
defaults
>
controller simultaneously? If the answer is yes, are there any special
>
tricks to make this work? It looks to me like you can only select one
>
type
>
of binding for the value parameter at a time.
>
You can only bind an NSTextField's 'value' to one value at a time.
If you want to display a value combining information from multiple
sources (in this case the model and user defaults) you can use the
'displayPatternValue' binding:
<
http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/index.html>
<
http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/Concepts/BindingTypes.html>
and in particular "Value With Pattern" at:
<
http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/BindingsText/NSTextField.html>
mmalc
--__--__--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
End of cocoa-dev Digest
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.