[self reloadData]; called in viewWillAppear: instead of viewDidLoad.
[self reloadData]; called in viewWillAppear: instead of viewDidLoad.

This way, subclasses can set themselves as dataSource or delegate either after or before calling super in viewDidLoad method.

iltercengiz/ICViewPager,hbuwxc/ICViewPager,datomnurdin/ICViewPager,gooc/ICViewPager,GannettDigital/ICViewPager,shiguol/ICViewPager,hjanuschka/ICViewPager,fizzed/ICViewPager,nishimao/ICViewPager,hulu001/ICViewPager,nmbakfm/ICViewPager,csjlengxiang/ICViewPager,rafaelpereznajera/ICViewPager,FrankWu100/ICViewPager,fdddf/ICViewPager,vinitam/ICViewPager,iltercengiz/ICViewPager,DaveMiscampbell/ICViewPager,pixnet/ICViewPager,ajrulez/ICViewPager,InnovationMakers/ICViewPager,taijizhu/ICViewPager