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.
精彩评论