THTinderNavigationController
THTinderNavigationController copied to clipboard
Minor issue on THTinderNavigationController.m
- (THTinderNavigationBar *)paggingNavbar { if (!_paggingNavbar) { _paggingNavbar = [[THTinderNavigationBar alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), 64)]; ..... }
Here it will create _paggingNaviBar twice, reason: self.view will trigger 'viewdidload' then 'setupviews','reloaddata' before the instance assign to _paggingNavbar. And setupviews will create arrive this initiation again (viewdidload will run only once).
Probably use uiscreen width or sth, instead of self.view.bounds here.
Thank you for this nice controller. It's very useful to me