• 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: NSDictionary and WOPopup Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary and WOPopup Question


  • Subject: Re: NSDictionary and WOPopup Question
  • From: James Cicenia <email@hidden>
  • Date: Wed, 27 Oct 2004 12:51:33 -0500

OK - lol -

Say I have a dictionary of Integers with a string key for display.
I bind allKeys to the list. However how will I get the string when
the object gives a Integer back? Well I thought then let me
create a reverse dictionary with strings as the values and the
Integers as the key. Then in my selection methods I can one
dictionary to get the string and the other to set back the Integer.

Does any of this make sense?

- James



On Oct 27, 2004, at 12:13 PM, Chuck Hill wrote:

I, for one, can't understand what you mean. Can you say that again? :-)

Chuck

On Oct 27, 2004, at 7:18 AM, James Cicenia wrote:

Hello -

I want to do a repeating list with a popup. I thought that NSDictionary would be good, especially now that I look to use KVC for everything. Anyway, my first popup with NSDictionary had me making two NSDictionaries with the key/values just reversed. This way I can get and set the popup using the two dictionaries in reverse.

Is this the way you pros do it?

- James Cicenia

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSDictionary and WOPopup Question
      • From: Hugi Thordarson <email@hidden>
    • Re: NSDictionary and WOPopup Question
      • From: Chuck Hill <email@hidden>
References: 
 >NSDictionary and WOPopup Question (From: James Cicenia <email@hidden>)
 >Re: NSDictionary and WOPopup Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: NSDictionary and WOPopup Question
  • Next by Date: Re: NSDictionary and WOPopup Question
  • Previous by thread: Re: NSDictionary and WOPopup Question
  • Next by thread: Re: NSDictionary and WOPopup Question
  • Index(es):
    • Date
    • Thread