Cocoa and Cocoa Touch — The difference
Aug 22, 2021
Cocoa is the application framework for Mac OS X whereas Cocoa Touch is the application framework for iPhone and iPad.
Cocoa is the combination of Foundation and AppKit, Cocoa Touch is the combination of Foundation and UIKit.
The classes in Cocoa has the prefix NS while Cocoa Touch has UI, so so instead of NSTextField, you have UITextField.
There is also the absence of few classes in Cocoa Touch, like Cocoa has NSHost and Cocoa Touch doesn’t.
That's all!😊