I am learning iOS development in Objective-C, and I have found a lot of code examples.
Some of them, though, say that they are only for Mac OS X (not iOS).
Can someone please explain to me what is the difference between Cocoa and Cocoa Touch (at a library level), so that I know what code will work and what will not work?