tgyhlsb / THTinderNavigationController

iOS navigation component based on Tinder app
MIT License
84 stars 11 forks source link

Minor issue on THTinderNavigationController.m #5

Closed Eyesony closed 1 year ago

Eyesony commented 9 years ago

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