Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Changed UITextAlignmetCenter into NSTextAlignmentCenter. #58

Closed
wants to merge 1 commit into from

2 participants

Rubén Méndez Shaun Harrison
Rubén Méndez

UITextAlignmetCenter is deprecated in iOS 6

Shaun Harrison shnhrrsn closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 10, 2013
  1. Rubén Méndez

    Changed UITextAlignmetCenter into NSTextAlignmentCenter. UITextAlignm…

    caldofran authored
    …etCenter is deprecated in iOS 6
This page is out of date. Refresh to see the latest.
4 EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m
View
@@ -53,7 +53,7 @@ - (id)initWithFrame:(CGRect)frame arrowImageName:(NSString *)arrow textColor:(UI
label.shadowColor = [UIColor colorWithWhite:0.9f alpha:1.0f];
label.shadowOffset = CGSizeMake(0.0f, 1.0f);
label.backgroundColor = [UIColor clearColor];
- label.textAlignment = UITextAlignmentCenter;
+ label.textAlignment = NSTextAlignmentCenter;
[self addSubview:label];
_lastUpdatedLabel=label;
[label release];
@@ -65,7 +65,7 @@ - (id)initWithFrame:(CGRect)frame arrowImageName:(NSString *)arrow textColor:(UI
label.shadowColor = [UIColor colorWithWhite:0.9f alpha:1.0f];
label.shadowOffset = CGSizeMake(0.0f, 1.0f);
label.backgroundColor = [UIColor clearColor];
- label.textAlignment = UITextAlignmentCenter;
+ label.textAlignment = NSTextAlignmentCenter;
[self addSubview:label];
_statusLabel=label;
[label release];
Something went wrong with that request. Please try again.