2014-01-08 31 views
0

這裏是我的代碼:進口類IOS 7.0

// // mapViewControllerDelegate.h

#import <Foundation/Foundation.h> 
#import "mapViewController.h" 

@protocol mapViewControllerDelegate <NSObject> 

-(void)mapViewControllerClickedDoneButton:(mapViewController*)map; 

@end 

我得到錯誤 「無法識別的類型」,不知道爲什麼。可能是真正基本的東西,對不起。

+0

#import「MapViewController.h」? – Marco

回答

0

您必須將self的代理屬性設置爲值