Weird error NSAssert
Inside every Objective-c method there are two hidden variables id self and SEL _cmd so – (void)foo:(id)bar; is really void foo(id self, SEL _cmd, id bar) { … } and when you call [someObject foo:@”hello world”] it is actually foo( someObject, @selector(foo), @”hello world”) If you cmd-click on NSAssert to jump to it’s definition you … Read more