Friday, September 7, 2007

Mac Cocoa - Java API

Hi all, My new Project is Mac OS Project, Using XCode, Interface Builder..., Its my new Experience in Cocoa application development. its very interesting... i share my experience. First i tell what is Cocoa, it can be following here....

Cocoa is an object-oriented application environment designed specifically for developing Mac OS X-only native applications. The Cocoa frameworks include a complete set of classes, and for developers starting new Mac OS X-only projects, Cocoa provides the fastest way to full-featured, extensible, and maintainable applications. You can bring applications from UNIX and other platforms to Mac OS X quickly by using Cocoa to build state-of-the-art Aqua user interfaces while retaining most existing core code.

Cocoa is one of the application environments of Mac OS X and a peer to Carbon and Java. It consists of a suite of object-oriented software libraries and a runtime engine, and shares an integrated development environment with the other application environments. You can write Cocoa applications in either Objective-C or Objective-C++ (there are Java bindings as well) but you can also call Carbon C functions.

Cocoa is one of the application environments of Mac OS X and a peer to Carbon and Java. It consists of a suite of object-oriented software libraries and a runtime engine, and shares an integrated development environment with the other application environments. You can write Cocoa applications in either Objective-C or Objective-C++ (there are Java bindings as well) but you can also call Carbon C functions.

First U can download and install the Xcode in ur Mac Os, its also available for opensource in Mac Website clickhere.

And then u can run the Xcode application, then the same procedure for all other project development, click the File new Project then select the cocoa project, then u can give the project name,


after that click the finsh button the Project will ready to work... then u click the Main Meni.nib file, u automatically redirected to the Interface Builder.
then what ever u want to build the application window... then save the file, then return back to Xcode click the Build and go button. u can see, what u make the window as like..



Thats all... then we add the business logic and other programming stuffs to this project...

This is one of the best experience in my project life...

No comments: