Example:
@property (nonatomic, assign) BOOL running;
-valueForKey returns an id according to the documentation. But I slightly remember that KVC was so intelligent that it automatically wraps with NSNumber. Is that correct?
Yes, your assumption is correct.
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