How do I get a simple display pattern to work?
How do I get a simple display pattern to work?
- Subject: How do I get a simple display pattern to work?
- From: Dave Camp <email@hidden>
- Date: Tue, 22 Jun 2004 11:58:35 -0700
This should be simple, but I can't find a working example to look at...
I've got a text field that I want to say '5 of 50 selected" and an
associated table view and NSArrayController.
In the test field bindings displayPattern1 is set to selection.@count
and displayPattern2 is set to arrangedObjects.@count. What I can't
figure out is where to put the format string...
The Apple docs say 'specify the format string by setting the value
pattern option to %{value1}@ of %{value2}@ selected.'
I can't find anything called a "value pattern option" in IB. Where does
the string go?
Thanks,
Dave
---
There's an old proverb that says just about whatever you want it to.
_______________________________________________
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.