boyfarrell.com

boyfarrell.com Archives: August 2007

·

16 August 2007

ChocPlot 1: Axis Model

ChocPlot is my very poorly named framework/application for plotting using Cocoa. It is still very much a work in progress, so far I have written a class called AxisModel. It can be used to generate nicely spacing axis tic marks from just two variables; the start and stop values of the axis. Please read the [...]

continue reading... » 0 Comments

3 August 2007

Determining Line-Endings

If you need to find the line endings of a particular text file from inside a Objective-C or Cocoa application have a look the example code here: Line-Endings Xcode Project (24kb) Un-zip the package on you Desktop, (I have hard coded the link to the test file relative to the users desktop), open the xcode [...]

continue reading... » One Comment

·