leah / PullToRefresh

A simple iPhone TableViewController for adding pull-to-refresh functionality.
http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html
MIT License
1.91k stars 252 forks source link

Localization and Loading Header Width #16

Open ChocoChipset opened 12 years ago

ChocoChipset commented 12 years ago
  1. Localization of the strings.
  2. The header view had a fixed width of 320 points. I've refactored this so now its width equals to the width of the table. This was bad when using the class on iPad or on iPhone in landscape position: the label wasn't centered and the view looked truncated if a color was used. It should now display properly on any table width. I also added Fixed Width Autoresizing masks to the view and to the label, so resizing on rotations is also covered now.