I come from the Java world, so to me it's all object.foo()
, but in Objective C, is object messaging the only way to invoke a method?
[object foo];
You can use KVC:
[label setValue:@"Some text" forKey:@"text"];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With