2016.7.27
- (IBAction)assetClicked:(id)sender {
if([self.delegaterespondsToSelector:@selector(lookAsset)]) {
[self.delegatelookAsset];
}
}
- (IBAction)incomeClicked:(id)sender {
if([self.delegaterespondsToSelector:@selector(lookIncome)]) {
[self.delegatelookIncome];
}
}
@protocolMeHeaderDelegate
- (void)lookAsset;
- (void)lookIncome;
@end
@interfaceMeHeaderCell :UITableViewCell
@property(weak,nonatomic)IBOutletUIButton*assetBtn;//总资产
@property(weak,nonatomic)IBOutletUIButton*incomeBtn;//总收益
@property(nonatomic,strong)id delegate;