OrderDetailsView.h
#import <UIKit/UIKit.h>
@protocol OrderDetailsViewDelegate;
@interface OrderDetailsView : UIViewController {
IBOutlet UITextView *OrderDetails;
NSString *selectedOrder;
id <OrderDetailsViewDelegate> delegate;
}
@property (nonatomic, assign) id <OrderDetailsViewDelegate> delegate;
- (IBAction)done:(id)sender;
@end
@property (nonatomic, retain) NSString* selectedOrder;
@end
@protocol OrderDetailsViewDelegate
- (void)OrderDetailsViewDidFinish:(OrderDetailsView *)controller;
@end
OrderDetailsView.m
#import "OrderDetailsView.h"
@implementation OrderDetailsView
@synthesize selectedOrder;
@synthesize delegate;
i am getting the error
property declaration not in @interface or @implementation context