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.
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
Reading the results from
Linrg and displaying them to the user
Linrg as a separate executable is admittedly a strange decision: The code is so simple, it would be easier ...