• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Carbon API with carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon API with carbon


  • Subject: Re: Carbon API with carbon
  • From: Rosyna <email@hidden>
  • Date: Sat, 13 Jul 2002 13:21:30 -0700

I'm going to assume then that the subject is "Carbon API with Cocoa" ;)

there is *no* problem in mixing APIs. I do it all the time. In fact, I prefer to use carbon (and by association, C) when performance is an issue or when dealing with processes or files. Yeah, I might make an obj-c wrapper around them, but it's still carbon in the background.

The only real problem when mixing Carbon and Cocoa is the event loop stuff. As of 10.1.x and earlier, they are hardly compatible. If you register for Carbon events in a Cocoa driven app, none of the Carbon Events will be triggered and vice-versa. There are some exceptions to this, but it is generally the case.

You *can* use carbon windows without problem in a Cocoa application. The reverse doesn't seem to be true *yet*.

Ack, at 7/13/02, Stefan Pantos said:

Hi,
Just wondering if there is any problems with using any of the carbon API's from a Cocoa application. Just wanting to do this to get a bit of information which I am finding really difficult to get using cocoa.

--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Carbon API with carbon (From: Stefan Pantos <email@hidden>)

  • Prev by Date: Re: how to hide/show/bring to front apps with Cocoa?
  • Next by Date: Re: how to hide/show/bring to front apps with Cocoa?
  • Previous by thread: Re: GNUStep and Cocoa Portabilitiy (Re: Carbon API with carbon)
  • Next by thread: Re: Carbon API with carbon
  • Index(es):
    • Date
    • Thread