O'Reilly logo

Step into Xcode Mac OS X Development by Fritz Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Starting a Cocoa Application

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 the user

Note

Keeping Linrg as a separate executable is admittedly a strange decision: The code is so simple, it would be easier ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required