[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 7 10:24:51 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #6 from Thorsten Wagner <thorsten.wagner.4 at gmail.com> ---
APIs of SWIFT and Objective+C++ are very similar/exchangable. I don't know if
SWIFT is really the future. I fact both can be used. To integrate with LO code
Objective-C++ should be the way to go from my point of view.

Cocoa adoption have to be done absolutely since Carbon APIs do not seem to be
maintained by Apple straightforward (see tdf#122218 for example), but Cocoa
adoption is a larger issue:

(1) VCL is a framework for complete layout and management of graphical
interfaces. Native widgets are called for displaying themtelves, text is
displayed separately by VCL using another native call, event loop is done by
VCL and so on. This is possible using Carbon calls, GTK and QT are implemented
similar as far as I understood.

(2) Cocoa is an object-oriented framework. To adopt Cocoa, classes have to be
defined to superimpose VCL and to replace VCL functionality by Cocoa, not to
call Cocoa functionality from VCL.

Probably a redesign of VCL will be required to offer both ways in the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200207/782ad4c1/attachment.htm>


More information about the Libreoffice-bugs mailing list