iOS Reference Library Apple Developer
Search

Introduction to Model Object Implementation Guide

With every successive release of Mac OS X, the basic functionality Cocoa provides has increased—particularly with technologies such as bindings and Core Data. This document describes in detail aspects of design and implementation that you need to take advantage of the features Cocoa offers.

This document addresses questions such as, what are model objects? what do they do? what do you have to do to implement a model class? and why is this important?

Who Should Read this Document

You should read this document to learn how to implement Cocoa model classes.

You are expected to be familiar with Cocoa standards, conventions and so on as described in Naming Conventions and Defining a Class in The Objective-C Programming Language (for example, class names should start with a capital letter; instance variable names should start with a lower case letter; instance variables should not be public, and so on). In implementing a model object, you should adhere to the model-view-controller (MVC) design pattern. To understand Core Data and why you might want to use it, see Core Data Overview.

Organization of This Document

The following articles describe the features a model object might have and explain why and how you might implement them:




Last updated: 2009-08-03

Did this document help you? Yes It's good, but... Not helpful...