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.
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