Next Page > Hide TOC

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.

Contents:

Who Should Read this Document
Organization of This Document


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 the section entitled "Defining a Class" in The Objective-C 2.0 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 as described in The Model-View-Controller Design Pattern) and the Object Modeling section in Cocoa Design Patterns.

Organization of This Document

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



Next Page > Hide TOC


© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-02-08)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.