I was wondering if there is any tutorial out there on Key Value Coding and Key Value observing, which use simple classes to explain these concepts instead of using cocoa. Apple programming guides sucks on this matter :@

Correction: When i am referring to Cocoa here, i mean use of Interface Stuff, sorry for using the wrong word, it's just because i am new to this and may be not have understand of what's difference between Cocoa and Simple Objective C code. If someone can help me to what i should write there, that would be great.

This question appears to be off-topic. The users who voted to close gave this specific reason:

"Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Josh Caswell, Ben, Amar, Stefan Steinegger, Liam

How is one meant to explain features of Cocoa without bringing up Cocoa?
–
ChuckSep 24 '09 at 7:27

@Chuck After reading about about these concepts a little i figure out that KVC can be explained much better if we simply use Objective C classes, like in tutorial of Theocacao but i am not sure if KVO can be explained without getting into Cocoa.
–
itsaboutcodeSep 24 '09 at 7:36

1

I'm not trying to be contrary or anything, but I really don't follow. The classes in the Theocacao tutorial are derived from Cocoa's NSObject root class, which supplies the methods required by KVC. KVC and KVO are features of the Cocoa framework — without Cocoa, they don't exist.
–
ChuckSep 24 '09 at 7:42

@Chuck Well may be i am new to this cocoa and objective C and did not use the word correctly, basically i really wanted to say that it should use any kind of Interface Stuff in Cocoa to explain stuff if possible, may be i am not good in those things right now (interface stuff).
–
itsaboutcodeSep 24 '09 at 7:51

Correction: Well may be i am new to this cocoa and objective C and did not use the word correctly, basically i really wanted to say that it should NOT use any kind of Interface Stuff in Cocoa to explain stuff if possible, may be i am not good in those things right now (interface stuff)
–
itsaboutcodeSep 24 '09 at 7:52

2 Answers
2

Theocacao usually has good content like that. Here is their post on KVC. It's a relatively straightforward concept overall once you play with it a little. The Apple KVC Fundamentals page really isn't too bad either.

Edit: In response to itsaboutcode below: Well, I don't know of any real good info on KVO besides Apple's intro docs here. If you really want to do Cocoa programming, including KVC/KVO, I have to recommend you get the Hillegass book. It's become the standard text, and is really great for beginners and experience programmers alike. I don't know any good Cocoa programmers personally that don't have it.

Thank Phoebus, i think Theocacao is great, now just have to give it a try to get understanding of it but is there any such tutorial on the subject of KVO? And reason why i don't like Apple documentations because they are very very general and its very hard for beginner to really understand them, they only make sense to you after you have basics understanding of the subject, and after that you should read them, they give you big picture which is great but again only make sense (at-least to me) when i get basic understand (well that's what i believe lox)
–
itsaboutcodeSep 24 '09 at 7:41