The Wayback Machine - https://web.archive.org/web/20110814064235/http://prismwiki.codegear.com/en/Monobjc

Monobjc

From Delphi Prism

Jump to:navigation, search

This is a Platform topic
Feel free to add your notes to this topic below.


The name Monobjc is a concatenation of Mono and Objective-C. Monobjc is a third party wrapper library around Cocoa, Apple's native object-oriented application development framework for the Mac OS X operating system. Monobjc is meant as a replacement for Cocoa#, Mono's official wrapper for Cocoa, but is considered a superior solution and might replace Cocoa# within the Mono framework in the long term.

Delphi Prism provides active support for building applications using Monobjc. There is a ready project template for Monobjc applications called Monobjc Application (MacOS X) in the Delphi Prism - Mono project templates folder. This project type offers a special page in its Project Properties which you can use to configure MacPack, the Mono tool which can be used to turn a Mono application into a double-clickable Finder friendly bundle for MacOS X.

Also, a special Cirrus aspect called ObjectiveCPropertyAttribute can be found in the Standard Aspects Library. This aspect simplifies making class properties visible and usable from the Cocoa GUI.


See Also


Prism-48h.png

Area: Delphi Prism Platform

Platform GlossaryKeywordsTypesFAQHow To

Navigation
Areas
Toolbox