开发者

IPhone library project + UIViews

I'm trying to refactor some of my iphone code into a library project that can be linked to by several d开发者_如何学运维ifferent applications. I made a new iphone library project and copied over some of my classes there, but the project can't build because it doesn't know about stuff like UIView or CGRect. I added in the UIKit, CoreGraphics, and QuartzCore frameworks, but still no go. What am I missing?


Check that all source code that references UIView or CGRect has the line

#import <UIKit/UIKit.h>

in the beginning.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜