I have a view controller in Cocoa Touch that detects when the device rotates and switches between the views of the 2 view controllers it has: landscape and portrait.
You can use forward declarations for classes and protocols in headers in most situations to avoid circular import issues, except in the case of inheritance. In FRRViewController.h
, instead of importing FRRRotatingViewController.h
, can you not make a forward declaration?
@class FRRRotatingViewController;