• 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
How do I get a simple display pattern to work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: How do I get a simple display pattern to work?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Reading value of a checkbox in an NSTable
  • Next by Date: kCFPreferencesAnyUser w/PreferencePane not working?
  • Previous by thread: Re: Reading value of a checkbox in an NSTable
  • Next by thread: Re: How do I get a simple display pattern to work?
  • Index(es):
    • Date
    • Thread