Is it possible to read the structure of plist file?
<p>I know that NSUserDefaults can read the key and value from plist file.
Is it possible to read the structure of a key?</p>

<p>For example:</p>

<p>Key 'Count' is an integer and has option 
1,2,3,4,5</p>

<p>the codes below can get the value 'Count'</p>

<pre><code>NSUserDefaults *defaults=[NSUserDefaults standardUserDefaults];

if([defaults objectForKey:@"Count"]!=nil)
{

    NSString *s=[[NSString alloc] initWithString: [defaults objectForKey:@"Count"]];
    NSInteger v=[s intValue];
    [s release];
}
</code></pre>

<p>But I prefer to get all options and store to a NSArray or a better storage structure.</p>

<p>Is it Possible?</p>
