Reputation: 798
I've asked a more specific question over here but it's rolling amongst tumbleweeds.
Maybe I can get an answer to a more general question:
Carbon being deprecated and 32-bit–only, how bad of an idea is it to call Carbon APIs in an otherwise fully 64-bit, modern Cocoa app?
I understand that you should probably not choose to do it, I'm talking about a situation where import Carbon
is the only way to achieve something. Is the feature still worth it at that point?
Upvotes: 0
Views: 128
Reputation: 22717
You simply can't call Carbon functions from a 64-bit app. The link will fail (if the compile didn't already fail). At best you could put the Carbon stuff in a helper tool that you talk to with a pipe or something. And yes, Apple has said that using deprecated APIs can result in your app being rejected by the Mac App Store.
Upvotes: 1