上一页 1 ··· 6 7 8 9 10 11 12 下一页
自定义UILabel可以更改长度,但是需要加在UIView上,将UIView作为组脚视图,才能达到想要的效果 Read More
posted @ 2016-02-16 16:51 偶阵雨ss33 Views(104) Comments(0) Diggs(0)
摘自: http://www.cnblogs.com/zuibunan/p/3843241.html http://blog.jobbole.com/78960/ (1)克隆一下master上的代码,(不要master分支上的代码也没关系) git clone git@123.57.142.166: Read More
posted @ 2016-02-16 10:07 偶阵雨ss33 Views(302) Comments(0) Diggs(0)
/** * 模糊查询 */ NSString *filterString = textField.text; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF contains [c] %@", filterString Read More
posted @ 2016-02-03 10:43 偶阵雨ss33 Views(232) Comments(0) Diggs(0)
1.searchResultsUpdater:设置显示搜索结果的控制器 ? 1 _mySearchController.searchResultsUpdater = self; 2.dimsBackgroundDuringPresentation:设置开始搜索时背景显示与否 ? 1 _mySearc Read More
posted @ 2016-02-02 15:23 偶阵雨ss33 Views(190) Comments(0) Diggs(0)
#import "Search_ViewController.h" @interface Search_ViewController ()<UITableViewDataSource,UITableViewDelegate,UISearchDisplayDelegate,UISearchBarDel Read More
posted @ 2016-02-02 14:56 偶阵雨ss33 Views(246) Comments(0) Diggs(0)
总结 关于属性的这些选项的学习,做一下总结: 所有的属性,都尽可能使用nonatomic,以提高效率,除非真的有必要考虑线程安全。 NSString:通常都使用copy,以得到新的内存分配,而不只是原来的引用。 strong:对于继承于NSObject类型的对象,若要声明为强使用,使用strong, Read More
posted @ 2016-02-02 10:14 偶阵雨ss33 Views(357) Comments(0) Diggs(0)
- (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor]; /** QQ聊天 气泡的实现 */ self.QQBubble = [UIButton buttonWithTyp Read More
posted @ 2016-02-01 17:48 偶阵雨ss33 Views(1315) Comments(0) Diggs(0)
摘自: http://blog.csdn.net/ipromiseu/article/details/7436521 http://www.cnblogs.com/dabaopku/archive/2012/06/11/2545482.html 设置 UIPickerView 的数据源数量为很大的规 Read More
posted @ 2016-02-01 11:05 偶阵雨ss33 Views(1062) Comments(0) Diggs(0)
因为网上没有查到相关方法,故而采用一种假象的方法来实现,选项循环滚动 - (void)viewDidLoad { [super viewDidLoad]; /** UIPickerView 选择器 */ CGFloat Y = [UIScreen mainScreen].bounds.size.he Read More
posted @ 2016-02-01 09:46 偶阵雨ss33 Views(1427) Comments(0) Diggs(1)
我用storyboard做了一个tabbar连接3个界面1,2,3 。程序运行默认选中加载最左边的界面1,怎么能让他默认为界面2或者3呢?菜鸟求大神知道 // 默认的selectedIndex为0,可以设置这个值来初始选中的tabBarItem!! // tbc.selectedIndex = 1; Read More
posted @ 2016-01-29 13:42 偶阵雨ss33 Views(1767) Comments(0) Diggs(0)
上一页 1 ··· 6 7 8 9 10 11 12 下一页