So I created this method:
- (void)addToViewController:(SecViewController *)controller
didFinishEnteringItem:(NSString *)item;` <br>
And Xcode keeps giving me Expected a type error at SecViewController *. What does that mean? SecViewController is not a type?
You have to declare
SecViewController:… at the top of your header.
Note: Don’t just
#importall used headers. This just worsens your header dependencies.