Difference between UIKit and Cocoa in swift as if in online compilers why we have to include them and what they contains | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Difference between UIKit and Cocoa in swift as if in online compilers why we have to include them and what they contains

as apple said their is no need to include library for input output

20th Apr 2017, 10:34 PM
Simranjeet Singh
Simranjeet Singh - avatar
1 Answer
+ 1
Cocoa is the standard library of Objective-C, containing many of the essential frameworks such as Foundation, AppKit, and Core Data. Cocoa Touch is basically just Cocoa with UIKit substituted for AppKit. AppKit and UIKit are entire topics unto themselves. It’s much more likely that the two would take further steps to unify than be rewritten or adapted to Swift.
4th May 2017, 10:28 AM
Felipe Cruz
Felipe Cruz - avatar