enormego / cocoa-helpers

A collection of helpers (categories) we've written for iOS and OS X, full with convenience methods to make them easier and more useful. [tags:cocoa,objective-c,ios,mac]
http://developers.enormego.com
746 stars 74 forks source link

Fixed view width #1

Closed jk closed 14 years ago

jk commented 15 years ago

There's an issue in UITableView/UITableViewHelper.m:36 with

UITableViewUpdatingView* view = [[UITableViewUpdatingView alloc] initWithFrame:CGRectMake((int)((self.frame.size.width-130.0f)/2), UPDATING_OFFSET_Y, 130.0f, 42.0f) title:title];

When you're not on an english system and the localized string is wider than »Updating...« (in german it's for example »Aktualisieren…«) the overlay view gets messed up. This because of the fixed width here of 130.0f.

enormego commented 14 years ago

This was fixed in commit 0007099.