- 博客(3)
- 收藏
- 关注
原创 可变字符串改变颜色大小
自己封装一个类 @interface NSStringModify : NSObject + (NSMutableAttributedString *)changeFontString:(NSString *)string Font1:(CGFloat)font1 Font2:(CGFloat)font2; @end @implementatio
2016-03-14 17:37:15
379
原创 自定义collectionView,最后一行的居中
collectionView 都是从第一位开始的,想要达到居中的效果就要自定义一个瀑布流.一个小 demo, 和大家分享一下. 在 viewcontroller 里面 #import "ViewController.h" #import "CustomFlowLayout.h" #define ScreenWidth [UIScreen mainScreen].bounds
2015-12-27 11:12:07
3479
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人