unable to add NSURL object to NSMutableDictionary
Posted
by user367919
on Stack Overflow
See other posts from Stack Overflow
or by user367919
Published on 2010-06-16T05:28:35Z
Indexed on
2010/06/16
5:32 UTC
Read the original article
Hit count: 241
objective-c
I am just learning objective-c but can't figure out whats wrong with my code
Code:
NSMutableDictionary *myDic = [NSDictionary dictionary];
[myDic setObject:[NSURL URLWithString:@"http://www.apple.com"] forKey:@"Apple"];
© Stack Overflow or respective owner