上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: http://blog.csdn.net/lan410812571/article/details/9063161http://stackoverflow.com/questions/13270425/control-which-directions-the-viewpager-can-be-scrolled-dynamically-with-ui-feed 阅读全文
posted @ 2013-11-29 17:31 时光独白 阅读(539) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/9961626/why-am-i-getting-an-integer-to-pointer-conversion-error-in-objective-c用[NSNumber numberWithInteger:id]转化下 阅读全文
posted @ 2013-11-22 15:42 时光独白 阅读(4267) 评论(0) 推荐(0) 编辑
摘要: ACE绘制的图形,坐标轴上的刻度值,要么显示为数字,要么显示为时间:那么能不能在坐标轴上显示自己的内容,比如文字呢?这需要使用XYMultipleSeriesRenderer的addTextLabel(int,String)方法。该方法接收一个int参数,用于指定要显示文字的X轴坐标,比如在X轴坐标1的位置显示“昆明”,则addTextLabel(1,”昆明”);当然,原来tick数字1仍然会显示,这样数字“1” 和文字标签“昆明”会重叠再一起,因此,我们还需要用setXLabels(0)把数字标签屏蔽掉。具体代码如下面所示://设置系列rendererpublicXYMultipleSeri 阅读全文
posted @ 2013-11-07 15:20 时光独白 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 检查- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;返回结果 阅读全文
posted @ 2013-10-28 10:05 时光独白 阅读(191) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/2156015/remove-all-subviews 阅读全文
posted @ 2013-10-24 12:40 时光独白 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/xiaotanyu13/article/details/7711954iOS上面对键盘的处理很不人性化,所以这些功能都需要自己来实现,首先是点击return和屏幕隐藏键盘这个首先引用双子座的博客http://my.oschina.net/plumsoft/blog/42545,他的文章写的很好,对大家的理解很有好处。在 iOS 程序中当想要在文本框中输入数据,轻触文本框会打开键盘。对于 iPad 程序,其键盘有一个按钮可以用来关闭键盘,但是 iPhone 程序中的键盘却没有这样的按钮,不过我们可以采取一些方法关闭它。例如,我们可以实现按下 R 阅读全文
posted @ 2013-10-22 17:38 时光独白 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 方法一:http://blog.csdn.net/xiaotanyu13/article/details/7711954因为屏幕太小的缘故,一个键盘跳出来总是把输入框挡住,所以需要移动屏幕来匹配键盘#pragma mark -#pragma mark解决虚拟键盘挡住UITextField的方法- (void)keyboardWillShow:(NSNotification*)noti{ //键盘输入的界面调整 //键盘的高度 floatheight = 216.0; CGRectframe =self.view.frame; frame.size=CGSize... 阅读全文
posted @ 2013-10-22 17:35 时光独白 阅读(471) 评论(0) 推荐(0) 编辑
摘要: http://site.douban.com/129642/widget/notes/5513129/note/187701199/压入:[menuController popViewController:controller animated:YES];弹出:[self.navigationController popToRootViewControllerAnimated:YES]; 阅读全文
posted @ 2013-10-22 17:00 时光独白 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 从服务器获取的json数据,通过调用dictionary中的objectForKey方法,返回的是一个id类型数据,需要比较这个数据是否为0,所以需要转化成NSInteger方法:NSInteger questionId = [[newQuestion objectForKey:@"question_id"] integerValue];http://stackoverflow.com/questions/6474679/objective-c-convert-id-to-nsinteger 阅读全文
posted @ 2013-10-22 16:43 时光独白 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 1. [password setSecureTextEntry:YES];2. 在XIB中拖入一个 TextField ,在Attributes Inspecter 中把 Secure 那个chekbox给勾上 阅读全文
posted @ 2013-10-22 16:36 时光独白 阅读(301) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页