2012年5月8日
摘要: http://stackoverflow.com/questions/6434911/ttbutton-not-shown This code snippet looks fine. Where are you declaring the "forwardActionButton" style? It's not a three20 existing TTStyle as far as I k... 阅读全文
posted @ 2012-05-08 19:45 easonoutlook 阅读(149) 评论(0) 推荐(0) 编辑
摘要: TTButton* button =[TTButton buttonWithStyle:@"forwardActionButton:" title:@"Login"];[button setFrame:CGRectMake(245,160,65,33)];[self.view addSubview:button];不要忘记了 @"forwardActionButton:" 里面的冒号 阅读全文
posted @ 2012-05-08 19:10 easonoutlook 阅读(161) 评论(0) 推荐(0) 编辑
  2012年5月7日
摘要: 在断点处 鼠标右键->edit breakpoint 选中,删除所有断点就可以,而且我发现此问题引起的原因是在连续几个句子中设完断点后,而我们又将这段代码删除引起的, 对应的位置进行处理,不然有些断点设置了,删除了原有的代码,后面就会有问题,死活找不到原因 阅读全文
posted @ 2012-05-07 16:38 easonoutlook 阅读(364) 评论(0) 推荐(0) 编辑
  2012年5月4日
摘要: UIImageView上面不能加载button 否则button的 action无法响应 阅读全文
posted @ 2012-05-04 12:01 easonoutlook 阅读(133) 评论(0) 推荐(0) 编辑
  2012年5月3日
摘要: NSString *imageB64 = [NSString stringWithFormat:@"%@",[uneImage imageB64]];NSData *dataImageB64 = [NSData dataFromBase64String:imageB64];UIImage *imagePNG = [UIImage imageWithData:dataImageB64];NSStri... 阅读全文
posted @ 2012-05-03 23:04 easonoutlook 阅读(401) 评论(0) 推荐(0) 编辑
  2012年5月2日
摘要: TTThumbCell 里面要改, TTThumbDataSource里面也要改 阅读全文
posted @ 2012-05-02 09:46 easonoutlook 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 今天尝试在Xcode中添加Three20框架,过程如下: 1、打开Xcode,创建一个新工程,工程文件夹要和下载下来的three20文件夹放在同一个路径下 2、应用程序--实用工具--终端 3、因为我的工程文件夹和three20文件夹都放在桌面,所以要先在终端输入“cd Desktop/”,回车 4、输入“python three20/src/scripts/ttmodule.py -p Thre... 阅读全文
posted @ 2012-05-02 09:13 easonoutlook 阅读(180) 评论(0) 推荐(0) 编辑
  2012年5月1日
摘要: TTThumbsViewController 编写相册的时候非常方便,但是有时需要修改为3张图片的展示方式 TTThumbsViewController 的cell TTThumbsTableViewCell //static const CGFloat kSpacing = 4; static const CGFloat kSpacing = 5; static const CGFlo... 阅读全文
posted @ 2012-05-01 20:45 easonoutlook 阅读(139) 评论(0) 推荐(0) 编辑
  2012年4月28日
摘要: 开始第一阶段:“打通”耳朵,完全听清 要领: 第一, 选择1盘(再次强调是1盘而非一套)适合自身英语水平的磁带;(磁带我选用的是李阳的疯狂英语,电驴有很多资源的,也可用新东方的或者BBC) 第二, 每天集中精力把A面和B面连续听两遍 第三, 要坚持天天听,但每隔6天要休息一天 第四, 直到听清磁带中的所有内容 2 完成第二阶段:听读并举,掌握语法 要领: 第一, 把已经能完全听清的磁带中的第1盘磁... 阅读全文
posted @ 2012-04-28 12:19 easonoutlook 阅读(371) 评论(0) 推荐(0) 编辑
  2012年4月27日
摘要: 分享解决方案:方法:菜单-->Product--->EditScheme, 关闭 Guard Malloc http://www.cocoachina.com/bbs/read.php?tid=95769 阅读全文
posted @ 2012-04-27 12:46 easonoutlook 阅读(119) 评论(0) 推荐(0) 编辑