http://blog.csdn.net/qq_31810357/article/details/48968523
iOS 学习资料博客~~~~~
10-10
一。。 修改textfield 光标颜色
tintColor
方法1:
- [[UITextField appearance] setTintColor:[UIColor blackColor]];
这种方法将影响所有TextField。
方法2:
- textField.tintColor = [UIColor redColor];
如果在InterfaceBuilder中修改View的TintColor属性并不好用。
[str1 rangeOfString:str2].location != NSNotFound
10-12
ios 设置声音和震动,单独控制 http://www.tuicool.com/articles/QBbMniV
10-15
仿京东/微博上下拉刷新 力求代码简单与高扩展性
http://code.cocoachina.com/detail/326431/%E4%BB%BF%E4%BA%AC%E4%B8%9C/%E5%BE%AE%E5%8D%9A%E4%B8%8A%E4%B8%8B%E6%8B%89%E5%88%B7%E6%96%B0+%E5%8A%9B%E6%B1%82%E4%BB%A3%E7%A0%81%E7%AE%80%E5%8D%95%E4%B8%8E%E9%AB%98%E6%89%A9%E5%B1%95%E6%80%A7/
灌水动画
http://d.cocoachina.com/code/detail/316907
10-20
添加启动图片
http://blog.sina.com.cn/s/blog_6c97abf10102voui.html
10-23
设置label,button中间线条和下划线
http://blog.csdn.net/reylen/article/details/41208747
http://blog.csdn.net/chaoyuan899/article/details/38306141
1.中间线条
NSMutableAttributedString *attri = [[NSMutableAttributedString alloc] initWithString:oldPrice];
[attri addAttribute:NSStrikethroughStyleAttributeName value:@(NSUnderlinePatternSolid | NSUnderlineStyleSingle) range:NSMakeRange(0, length)];
[attri addAttribute:NSStrikethroughColorAttributeName value:[UIColor colorWithRed:217/255.0 green:217/255.0 blue:217/255.0 alpha:1.0] range:NSMakeRange(0, length)];
// ///原价格
[cell.originalPriceLabek setAttributedText:attri];
2. 下划线
NSMutableAttributedString *attri = [[NSMutableAttributedString alloc] initWithString:@"忘记密码?"];
[attri addAttribute:NSUnderlineStyleAttributeName value:[NSNumber numberWithInteger:NSUnderlineStyleSingle] range:NSMakeRange(0,5)];
[self.forgetPwdButton setAttributedTitle:attri forState:UIControlStateNormal];