mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-06-06 02:14:58 -06:00
Replace deprecated UILineBreakModeWordWrap with NSLineBreakByWordWrapping
This commit is contained in:
parent
ead8ab936a
commit
68bbebbd5c
@ -11,7 +11,7 @@
|
|||||||
chatLabel_.backgroundColor = [UIColor whiteColor];
|
chatLabel_.backgroundColor = [UIColor whiteColor];
|
||||||
chatLabel_.opaque = YES;
|
chatLabel_.opaque = YES;
|
||||||
chatLabel_.font = [UIFont systemFontOfSize:12];
|
chatLabel_.font = [UIFont systemFontOfSize:12];
|
||||||
chatLabel_.lineBreakMode = UILineBreakModeWordWrap;
|
chatLabel_.lineBreakMode = NSLineBreakByWordWrapping;
|
||||||
chatLabel_.numberOfLines = 0;
|
chatLabel_.numberOfLines = 0;
|
||||||
|
|
||||||
[self addSubview:chatLabel_];
|
[self addSubview:chatLabel_];
|
||||||
@ -21,7 +21,7 @@
|
|||||||
nameLabel_.opaque = YES;
|
nameLabel_.opaque = YES;
|
||||||
nameLabel_.textColor = [UIColor blueColor];
|
nameLabel_.textColor = [UIColor blueColor];
|
||||||
nameLabel_.font = [UIFont systemFontOfSize:12];
|
nameLabel_.font = [UIFont systemFontOfSize:12];
|
||||||
nameLabel_.lineBreakMode = UILineBreakModeWordWrap;
|
nameLabel_.lineBreakMode = NSLineBreakByWordWrapping;
|
||||||
nameLabel_.numberOfLines = 0;
|
nameLabel_.numberOfLines = 0;
|
||||||
|
|
||||||
[self addSubview:nameLabel_];
|
[self addSubview:nameLabel_];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user