Reputation: 245
I need to import functions from .m file to another .m file. If it matters, the first .m file is abc.m and the second one is bca.m
Thanks a lot.
Upvotes: 1
Views: 300
Reputation: 59287
Add
#import "abc.h"
To the top of bca.m.
Reputation: 187034
# import "bca.h"
Import the header, not the implementation.
Upvotes: 3