开发者

iPhone Development: Importing from a .m file to another

开发者 https://www.devze.com 2023-03-28 20:22 出处:网络
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

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

精彩评论

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