This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 21st, 2013  |  syntax: None  |  size: 0.24 KB  |  views: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
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'
  2.        
  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