I have an NSMutableDictionary made from a plist with
CFPropertyListCreateDeepCopy so that all leaves and containers are mutable.

In this plist is an dict whose values I want to move into a mutable array to
be displayed and edited in an NSTable.

[myDict allValues] gets the correct array and works in the table, but it is
made immutable. Is there any better way to keep the mutability other than
using allKeys then stepping through each one, obtaining its object and
adding it to an NSMutableArray that I made with alloc/init?

Why doesn't allValues simply preserve the mutability? I would have guessed
that internally it did the above steps.

Trygve


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to