Chapter 5. Starting a Cocoa Application

<feature><title>In This Chapter</title>
  • A Simple Graphical Application

  • Model-View-Controller

  • Adding Files to a Project

</feature>

In this chapter, we make the Linrg tool the heart of an application using the Mac OS X graphical human interface. Our framework for the application will be Cocoa, the application toolkit developed from NeXTStep and OpenStep; the language will be Objective-C.

Plan of Action

Program Tasks

We’ll use Linrg unchanged for the computational part of the program. Our front-end program will therefore have the tasks of

  • Storing a list of x and y data pairs

  • Allowing the user to enter and edit the data-pair list

  • Passing the data-pair list to Linrg

  • Reading the results from Linrg and displaying them to ...

Get Xcode 3 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.