2016-03-08 56 views

回答

0
@class RateView; 

@protocol RateViewDelegate<NSObject> /* Remove Semi colon after declaring the protocol,seems the mistake is here only! */ 

-(void)rateView:(RateView *)rateView ratingDidChange:(float)rating; 

@end 

@interface RateView : UIView 

@end 

HTH! :)

+0

這種愚蠢的錯誤很難找到:p – 2016-10-19 16:53:29

相關問題