Skip navigation.
 
mlRe: Question regarding NSDictionary and saving a 'tree structure'
FROM : Andreas Mayer
DATE : Wed Mar 26 19:14:59 2008

Am 26.03.2008 um 17:07 Uhr schrieb <email_removed>:

> Now i tried to go one step further for what I need to accomplish, 
> instead of saving 2 levels (the key and the corresponding object) I 
> want to save 3 levels (Key, object and another object linked to the 
> first object).
> Somehow this doesn't seem to be possible by using NSDictionary, 
> which only allows 2 levels.
>
> Anyone, who has a workaround for this, would be highly appreciated !


Put both objects into an NSArray and instead of the first object add 
the array to the dictionary.


Andreas

Related mailsAuthorDate
mlQuestion regarding NSDictionary and saving a 'tree structure' nutrition1 Mar 26, 17:07
mlRe: Question regarding NSDictionary and saving a 'tree structure' Christiaan Hofman Mar 26, 19:03
mlRe: Question regarding NSDictionary and saving a 'tree structure' Hamish Allan Mar 26, 19:11
mlRe: Question regarding NSDictionary and saving a 'tree structure' Andreas Mayer Mar 26, 19:14