![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS 开发
文章平均质量分 78
Nina_03
我是个快乐的小开发
展开
-
自定义collectionView,最后一行的居中
collectionView 都是从第一位开始的,想要达到居中的效果就要自定义一个瀑布流.一个小 demo, 和大家分享一下. 在 viewcontroller 里面 #import "ViewController.h" #import "CustomFlowLayout.h" #define ScreenWidth [UIScreen mainScreen].bounds原创 2015-12-27 11:12:07 · 3479 阅读 · 1 评论 -
textview 占位字
但是可以采用一个假的方法来实现这个效果.还有计数功能哟!原创 2016-02-03 15:07:53 · 371 阅读 · 0 评论 -
可变字符串改变颜色大小
自己封装一个类 @interface NSStringModify : NSObject + (NSMutableAttributedString *)changeFontString:(NSString *)string Font1:(CGFloat)font1 Font2:(CGFloat)font2; @end @implementatio原创 2016-03-14 17:37:15 · 379 阅读 · 0 评论