• 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: Chuck Hill <email@hidden>
  • Date: Wed, 27 Oct 2004 12:28:14 -0700

Well, I'm not going to argue with you.  :-)  I will point out a couple of
things that may affect you at some point:

- you can't use EOs as the key in a dictionary as the keys are copied so
your implementation won't work with EOs

- ordering the keys for the UI will be problematic, especially if the
ordering is not alphabetic.


Chuck


At 02:09 PM 27/10/2004 -0500, James Cicenia wrote:
>OK -
>
>A friend has my book - however, I just downloaded the source and looked
>at PWOPopup, well great master, I have to admit that is some impressive
>work that humbles my two inverted NSDictionarys. In this particular
>instance,
>I, how shall I say it, disagree. I think the 2 dictionary approach is
>very clean, easy and fast.
>
>- James
>
>On Oct 27, 2004, at 1:28 PM, Chuck Hill wrote:
>
>> Yes, now I understand.  Coffee is an amazing substance, isn't it?  :-P
>>
>> See page 209 of Practical WebObjects for PWOPopUp.  Yeah, I'm starting
>> to
>> sound like a broken record, but I did write it to give people answers
>> to
>> questions like this at their fingertips.  PWOPopUp does what you want
>> and
>> IMHO in a good way.  You can get the source from the book from
>> http://www.apress.com/book/bookDisplay.html?bID=248
>>
>> Chuck
>>
>>
>>
>>
>> At 12:51 PM 27/10/2004 -0500, James Cicenia wrote:
>>> 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:
>>>>> chill@global-
>>>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>>
>> Chuck Hill                                 email@hidden
>> Global Village Consulting Inc.
>> http://www.global-village.net
>>
>
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
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: James Cicenia <email@hidden>
References: 
 >Re: NSDictionary and WOPopup Question (From: Chuck Hill <email@hidden>)
 >Re: NSDictionary and WOPopup Question (From: Chuck Hill <email@hidden>)
 >NSDictionary and WOPopup Question (From: James Cicenia <email@hidden>)
 >Re: NSDictionary and WOPopup Question (From: James Cicenia <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