1、沒有停止定時器
- (void)dealloc {
[_timer invalidate];
_timer = nil;
}
2、VC中有代理Delegate,需要設置delegate的時候,設置爲weak
@property (nonatomic,weak) id<ZoeEatDelegate>delegate;
3、VC中有Block方法
__weak weakSelf = self;
[_marketView poppingBuyOrSellView:^(QHFinanceBuyOrSellModel *model) {
__strong strongSelf = weakSelf;
strongSelf.selIndex = 1;
strongSelf.selectModel = model;
[strongSelf popToBuyOrSellView:model.eType == 2?YES:NO];
}];