Localization and Loading Header Width #16

Open
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant
  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.

iOSCowboy added some commits Jan 11, 2012

Added NSLocalizedString to strings
Added NSLocalizedString macro to the strings.
RefreshHeaderView now occupies 100% of width
Useful for extra wide tables: iPad and rotated iPhones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment