Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switch from UITextAlignment to NSTextAlignment

  • Loading branch information...
commit d76bf52221f6e9d63a0e99f9abd7e5272cbd6592 1 parent 91273e4
@thuss thuss authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 PullToRefreshView.m
View
4 PullToRefreshView.m
@@ -117,7 +117,7 @@ - (id)initWithScrollView:(UIScrollView *)scroll atBottom:(BOOL)atBottom {
self.lastUpdatedLabel.shadowColor = [UIColor colorWithWhite:0.9f alpha:1.0f];
self.lastUpdatedLabel.shadowOffset = CGSizeMake(0.0f, 1.0f);
self.lastUpdatedLabel.backgroundColor = [UIColor clearColor];
- self.lastUpdatedLabel.textAlignment = UITextAlignmentCenter;
+ self.lastUpdatedLabel.textAlignment = NSTextAlignmentCenter;
[self addSubview:self.lastUpdatedLabel];
self.statusLabel = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, visibleBottom - 48.0f, self.frame.size.width, 20.0f)];
@@ -127,7 +127,7 @@ - (id)initWithScrollView:(UIScrollView *)scroll atBottom:(BOOL)atBottom {
self.statusLabel.shadowColor = [UIColor colorWithWhite:0.9f alpha:1.0f];
self.statusLabel.shadowOffset = CGSizeMake(0.0f, 1.0f);
self.statusLabel.backgroundColor = [UIColor clearColor];
- self.statusLabel.textAlignment = UITextAlignmentCenter;
+ self.statusLabel.textAlignment = NSTextAlignmentCenter;
[self addSubview:self.statusLabel];
self.arrowImage = [[CALayer alloc] init];
Please sign in to comment.
Something went wrong with that request. Please try again.