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
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