views:

11

answers:

0

I am not sure what I am doing wrong here. I have a simple plist on my server.

I am using the ASIHTTPRequest framework, so I can get both the data object and a string.

Outputting: [[NSString alloc] initWithData:[request responseData] encoding:NSUTF8StringEncoding] works just fine and the output it the plist.

However, I cannot get this parsed into an NSArray. I have tried with: [[NSArray alloc] initWithContentsOfFile:[[NSString alloc] initWithData:[request responseData] encoding:NSUTF8StringEncoding]] but without any luck.

Thanks