How to create a native Cocoa application with Delphi XE2 without using FireMonkey?

Possible duplicate:
Delphi XE2: is it possible to create Mac GUI applications without FireMonkey?

Can I create my own Cocoa Mac OSX application with Delphi XE2, but without using Fire Monkey?

For example, on Windows, can I create my own application without using VCL using only the Win API? Is this possible for Mac OSX?

Any reference to how to do this would be appreciated.

+4
source share
1 answer

Yes, it is possible, but you will not have forms or a visual designer (as, for example, when writing a Windows application using only the API).

File->New->Other menu item, select Console Application .

Right-click Target Platforms in Project Manager , select OSX 32 , check Make target active , then OK . You can remove {$APPTYPE CONSOLE} , if you wish, from the project source.

Add blocks, as with any API application, except for the $(BDS)\Source\rtl\osx .

+4
source

Source: https://habr.com/ru/post/1387823/


All Articles