Nepedia
Back to Discover
Independent Reader
💻

Cocoa (API)

technology Maturity 11-13 Next article →

Cocoa is a tool for making apps. It works on Apple computers like the Mac.

Developers use it to build software. They often use languages called Swift or Objective-C. Some use a tool called Xcode to write code.

Cocoa has three main parts. These parts are called frameworks. The first is Foundation Kit. It helps with basic tasks like handling text. The second is Application Kit. This part helps make buttons and scroll bars. It makes apps look and feel familiar. The third is Core Data. This helps apps save and read data.

Cocoa uses a special way to organize work. It is called Model-View-Controller, or MVC. The Model holds the data. The View shows the data on the screen. The Controller helps them talk to each other. This helps builders focus on new ideas. They do not have to do the same chores twice.

Cocoa also manages computer memory. It uses a way called Automatic Reference Counting. This is also called ARC. It keeps the computer running smoothly. It does this by tracking how much power each part needs. This helps keep the app fast for the user.

192 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.