I am creating an iPhone application, and I am using RestKit api to connect to the server. I am facing a problem whenever I add the Reachability.m
and Reachability.h
into the second UIViewController
of the project. I tried making a new .m file in Xcode4 and now I get an Apple macho-linker (id) error on all tabst. I added it to the first UIViewcontroller
it works normally, but when I try to add it to any other forms I receive this error.
Solved it by importing ONLY "Reachability.h" not "Reachability.h" and "Reachability.m"