• 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
AddItemsWithTitles question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AddItemsWithTitles question...


  • Subject: AddItemsWithTitles question...
  • From: Tom Jones <email@hidden>
  • Date: Thu, 24 May 2007 17:49:05 -0700
  • Thread-topic: AddItemsWithTitles question...

Hello,
What is the best way to associate a value with a title? I was looking at the
docs for NSPopUpButton but did not see a way. I would like it so "5 Minutes"
would be "300" for 300 seconds.

My NSPopUpButton...

[delayTimePopUp addItemsWithTitles:[NSArray arrayWithObjects:@"5 Minutes",
@"10 Minutes", @"15 Minutes", @"30 Minutes", nil]];


Thanks,
Tom


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: AddItemsWithTitles question...
      • From: Manfred Schwind <email@hidden>
  • Prev by Date: Predicates with object identity values
  • Next by Date: Re: Can you "bind" two values into one?
  • Previous by thread: Re: Predicates with object identity values
  • Next by thread: Re: AddItemsWithTitles question...
  • Index(es):
    • Date
    • Thread