NSMutableDictionary withcontentofURL

Posted by user347741 on Stack Overflow See other posts from Stack Overflow or by user347741
Published on 2010-05-23T00:25:29Z Indexed on 2010/05/23 0:30 UTC
Read the original article Hit count: 578

Hi,

I want to fill a NSMutableDictionary with content out of a URL File. What type file must it be and how must it be structured?

NSMutableDictionary *myMutableDictionary = [[NSMutableDictionary alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://example.com/list.txt"]]; 

Thanks, Nostradamus

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about nsmutabledictionary