What is the difference between objectForKey and valueForKey? I looked both up in the documentation and they seemed the same to me.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label key-value-observing. Show all posts
Showing posts with label key-value-observing. Show all posts
Friday, June 1, 2012
Objective-C: What"s the Difference between objectForKey and valueForKey?
Thursday, March 1, 2012
Key-Value-Observation — Looking for a more elegant solution to respond to value changes
I've run into a frustrating feature of KVO: all notifications are funneled through a single method ( observeValueForKeyPath:.... ), requiring a bunch of IF statements if the object is observing numerous properties.
Subscribe to:
Posts (Atom)