开发者

How to import Carbon/HIToolbox into objective c program?

开发者 https://www.devze.com 2023-04-11 06:53 出处:网络
I\'m new to Objective-C and I\'m trying to use methods from TextInputSources so I tried #import <开发者_Go百科Carbon/HIToolbox>

I'm new to Objective-C and I'm trying to use methods from TextInputSources so I tried

#import <开发者_Go百科Carbon/HIToolbox>

and

#import <HIToolbox/TextInputSources.h>

nothing of those works. Is there something I'm missing? I'm using Xcode 3.


#include <Carbon/Carbon.h>

It's a big header, but it always works.

You should probably do this in your prefix header, simply because including it anywhere else is going to slow down builds by a lot.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号