Last active
August 29, 2015 14:02
-
-
Save yume190/4c1bf5157fd721745567 to your computer and use it in GitHub Desktop.
ivan.m 垂直式對齊 UILabel(https://discussions.apple.com/thread/1759957?tstart=0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Label2.h | |
// (c) 2009 Ivan Misuno, www.cuberoom.biz | |
#import <UIKit/UIKit.h> | |
typedef enum | |
{ | |
VerticalAlignmentTop = 0, // default | |
VerticalAlignmentMiddle, | |
VerticalAlignmentBottom, | |
} VerticalAlignment; | |
@interface Label2 : UILabel | |
{ | |
@private | |
VerticalAlignment _verticalAlignment; | |
} | |
@property (nonatomic) VerticalAlignment verticalAlignment; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment