• 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
Re: Changing button title based on single or multiple selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing button title based on single or multiple selection?


  • Subject: Re: Changing button title based on single or multiple selection?
  • From: "I. Savant" <email@hidden>
  • Date: Sat, 31 May 2008 10:12:19 -0400


I have a button "Print Label". I would like it to say "Print Labels" when more than one label is selected in the Tree Controller view. Is it possible to do this with Alt. Titles and bindings in IB? Or must I write code?

Since Stephen's value transformer reply answers your question from the technical how-to standpoint, I'll take the usability side.


This is probably not the best direction. Your UI should communicate that the "Print" button (the verb) applies to the "Labels" (the noun). "Print" directly applies to the selected "Label" or "Labels" and the button should not change simply because the selection is plural, nor should it have the noun in its title.

If your label list and print buttons are mixed in visually with other elements of the interface, making it unclear what "print" means in that context (because there are several things that can be "print"ed that are printed differently in the same general area), "You're [probably] doing it wrong.™" in terms of UI design.

  Just my humble Idiot Opinion. Do with it what you will.

--
I.S.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Changing button title based on single or multiple selection? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: runloops and NSURLConnection
  • Next by Date: Re: Defaulting new entity fields to be same as current selection?
  • Previous by thread: Re: Changing button title based on single or multiple selection?
  • Next by thread: super respondsToSelector
  • Index(es):
    • Date
    • Thread