1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // UILabel+ChangeLineSpaceAndWordSpace.h
- // Elephant
- //
- // Created by dyy on 2018/1/19.
- // Copyright © 2018年 杭州大象品牌营销策划有限公司. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @interface UILabel (ChangeLineSpaceAndWordSpace)
- - (void)changeLineSpaceWithSpace:(float)space;
- /**
- * 字间距
- */
- @property (nonatomic,assign)CGFloat characterSpace;
- /**
- * 行间距
- */
- @property (nonatomic,assign)CGFloat lineSpace;
- /**
- * 关键字
- */
- @property (nonatomic,copy)NSString *keywords;
- @property (nonatomic,strong)UIFont *keywordsFont;
- @property (nonatomic,strong)UIColor *keywordsColor;
- /**
- * 下划线
- */
- @property (nonatomic,copy)NSString *underlineStr;
- @property (nonatomic,strong)UIColor *underlineColor;
- /**
- * 计算label宽高,必须调用
- *
- * @param maxWidth 最大宽度
- *
- * @return label的rect
- */
- - (CGSize)getLableRectWithMaxWidth:(CGFloat)maxWidth;
- @property UIDocument *ay9tdQx;
- @property UIEvent *aSxOM;
- @property UIAlertView *aqsi6Ktl;
- @property UIDevice *a4sadSX0FNu;
- @property UISearchBar *atFVe6iqs;
- @property UIActivity *aPKZTOd;
- @property UIBarButtonItem *ac8m2d;
- @property UIRegion *aVqTsUk7KwW;
- @property UIUserInterfaceIdiom *awqt6Cxa;
- @end
|