Last active
August 29, 2015 14:18
-
-
Save yuxiangq/96c5ffeb2ab9d718a33e to your computer and use it in GitHub Desktop.
customCell的初始化控件方法
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
-(void)initControls{ | |
_contentLabel=[UILabel new]; | |
_contentLabel.translatesAutoresizingMaskIntoConstraints=NO; | |
_contentLabel.numberOfLines=0; | |
_contentLabel.lineBreakMode=NSLineBreakByWordWrapping; | |
[self.contentView addSubview:_contentLabel]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment