I was running along the lines that if Cocoa uses Carbon to handle events, and Cocoa is not usable on any other platform, why not use Carbon directly, as the Wacom guys provide examples for using both.  It is not that I am scared of ObjC, it is having to base the entire external in ObjC and then it has to be completely rewritten for all other platforms.  <br>
<br>I think the only real motivation I had behind using Cocoa was to learn it, along with ObjC.  I thought compatibility would be another reason, but I am not so sure any more.  <br><br>Another related question for those more experienced then myself: can I have the base of the external in C, then call methods from another source file containing the Cocoa API in ObjC? <br>
<br><br><div class="gmail_quote">2009/12/23 IOhannes zmölnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Rich E wrote:<br>
&gt; Hmmm, after hearing back from the Cocoa-dev mailing list that all of Cocoa&#39;s<br>
&gt; Event handling code is based on Carbon (and is 64-bit compatible, at least<br>
&gt; the Event Handling), I don&#39;t know if it is worth it to write the external in<br>
&gt; ObjC (which I will probably do poorly at that, as it is my first attempt<br>
&gt; with the language).  Anyways, Carbon is written in C, the WinTab API is<br>
&gt; written in C, so introducing ObjC may turn out to be a hassle later on<br>
&gt; instead of allowing future compatibility?<br>
<br>
</div>??<br>
just because cocoa uses carbon as a backend for event handling this<br>
shouldn&#39;t scare you away from using ObjC. most low-level runtime<br>
libraries, are written in C - but it still makes sense to use a higher<br>
language (if it makes sense) to use them.<br>
<br>
ObjC is mostly a macOS thing; cocoa/carbon is obviously macos only.<br>
if you want crossplatform, then you shouldn&#39;t use it.<br>
if you want &quot;native&quot; macos support, it&#39;s a good choice (imho).<br>
<br>
learning a new language can still be fun.<br>
<br>
fg,arsd<br>
<font color="#888888">IOhannes<br>
<br>
</font></blockquote></div><br>