Reputation: 3050
Using Xcode 6.1 I'm trying to create a left to right custom segue transition. Im following this tutorial click here. Im stuck when changing the class NSObject to UIStoryboardSegue as follows:
#import <Foundation/Foundation.h>
@interface ZHCustomSegue : NSObject
// unable to change NSObject to UIStoryboardSegue
@end
I get a red error saying 'cannot find interface declaration for UIStoryboardSegue'
Upvotes: 2
Views: 233
Reputation: 11112
Add an import to UIKit
by either:
@import UIKit;
If you are not using modules:
#import <UIKit/UIKit.h>
Upvotes: 5