Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableDictionary using call method



On Monday, Mar 7, 2005, at 05:24 US/Pacific, Tetsuro KURITA wrote:

However, I have a solution that might be good for you. It is attached. It shows how to use some calls of NSDictionary. If you need others, they should be quite easy to add.

Thanks for you kind example code. But your sample is not enough for me. Because your sample can not cheange the value of existing entry.

The sample didn't illustrate every possibility. However, I wrote: "If you need others, they should be quite easy to add.". It's true. The sample is now extended for 'change_value' and 'remove'.



I will give up using NSMutableArray. I will use a following handmade code instead of NSMutabelDictionary.

Your parallel list approach looks quite nice. There is another list "Macintosh Scripting Systems <email@hidden>" where techniques for speeding up things like your code were discussed about a year ago. Maybe a subject like "Serge Technique" or "Serge Method". Very interesting. That's why I put my example in a «script». But I think I will use the NSDictionary methods until someone figures out how to use NSMutableDictionary (or it gets fixed) because I like the ability to read/write xml to files and URLs easily.



Philip Aker http://www.aker.ca

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden
References: 
 >Re: NSMutableDictionary using call method (From: Tetsuro KURITA <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.