Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Jul 21st, 2013  |  syntax: None  |  size: 0.24 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. warning: Semantic Issue: Incompatible pointer types sending 'Class *' to parameter of type 'id'
  3. NSMutableDictionary* dict = [NSMutableDictionary dictionary];
  4. Class k = [NSString class];
  5. [dict setObject:k forKey:@"foo"];
  6. NSLog(@"%@", dict);
clone this paste RAW Paste Data