Linked by Eugenia Loli-Queru on Wed 16th Jul 2003 19:26 UTC
Features, Office Aaron Hillegass' new book, titled "Core Mac OS X and Unix Programming", is now available in the stores. In the past, we reviewed his previous book "Cocoa Programming for MacOSX" and we got a good idea of Aaron's elegant writing style, descriptive chapters and advanced development under Mac OS X. In this book, he goes down under, teaching us how to handle and develop for the underpinnings of OSX, the core of the OS.
Permalink for comment
To read all comments associated with this story, please click here.
re:A Non Mouse
by Dobber on Thu 17th Jul 2003 05:39 UTC

Response to d)

An example of creating an image object:

//Objective C
NSImage *icon = [NSImage imageNamed:@"DefaultWorkoutIcon.tif"];
//Java
NSImage icon = new NSImage( "DefaultWorkouticon.tif", false );

Then you can access the icon object instance methods like this:

// Objective-C
if ( [icon isFlipped] == true ) {
// do something..
}

// Java
if( icon.isFlipped() == true ) {
// do something..
}

Well dont know if this helped or just added some more confusion.

/D