开发者

iPhone Development: Importing from a .m file to another

I need to import functions from .m file to another .m file. If it matters, the first .m file is abc开发者_StackOverflow中文版.m and the second one is bca.m

Thanks a lot.


# import "bca.h"

Import the header, not the implementation.


Add

#import "abc.h"

To the top of bca.m.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜