开发者

How to import Carbon/HIToolbox into objective c program?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜