摘要: 从StroyBoard得到一个ViewUIViewController *viewController = [[UIStoryboard storyboardWithName:@"MainStoryboard" bundle:NULL] instantiateViewControllerWithIdentifier:@"ResultsController"];[self presentModalViewController:viewController animated:NO];从NIB中得到一个ViewResultsController *rc = [ 阅读全文
posted @ 2013-08-02 12:33 ejllen 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 在使用Storyboard管理的iOS应用中,它的组成部分为AppDelegate和ViewController这两个类以及MainStoryboard.storyboard文件组成。Storyboard编辑器和Interface Builder很像(我觉得,他们其实就是一样的)。Storyboard管理不是一个视图控制器,而是所有的视图控制器。建立在storyboard上的应用程序,在它启动时,使用 键UIMainStoryboardFile去指定必须被加载的storyboard的名字。可以看到该类继承自UIResponder,这是使用storybaord的要求,而以前使用使用nib时,应用 阅读全文
posted @ 2013-08-02 11:53 ejllen 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 详细讲解见 http://blog.csdn.net/li396864285/article/details/9310983以下是我改修的代码:{ width:90, items:[{ width:75, xtype:"button", iconCls:"btn-list", text:"查询", handler:function(){ store.load({ params: {start:0, limit: 15} }); store.on('load',setTdCls); } }]},function setT 阅读全文
posted @ 2013-08-02 11:40 ejllen 阅读(601) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ 苹果开发中文网站http://blog.csdn.net/totogo2010 容芳志的IOS专栏http://code4app.com/ios的特效开源代码http://v.youku.com/v_show/id_XMzg2NjYzNjIw.html 奥迪A6全新营销概念 用于苹果IPAD 阅读全文
posted @ 2013-08-01 09:57 ejllen 阅读(147) 评论(0) 推荐(0) 编辑
摘要: a.Get请求是通过URL请求来提交表单数据的;Post是通过HTTP中的POST机制将表单中的数据提交到Action所定制的程序,如果有附件需要用Post方式。b.Get适用于传输数据量小于1K数据,执行效率高;Post传输数据量较大,但也有限量。get请求 test.html?a=bpost请求... 阅读全文
posted @ 2013-08-01 09:52 ejllen 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1、alert对话框效果图:function a1(){ Ext.MessageBox.alert('title','text'); } 2、confirm案例,确定不确定2个按钮对话框效果图:代码:Ext.MessageBox.confirm('title','warn test',showres);function showres(btn){ //传入btn,这里指的是YES,NOalert(btn);}3、prompt案例,带有输入框的对话框效果图:代码:function p1(){Ext.MessageBox.prompt 阅读全文
posted @ 2013-07-31 19:27 ejllen 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 要格式化代码的时候,右键-source-format能够起效,但ctrl+shift+f不好使了。原来是和“简繁体快捷键”冲突了。输入法中的这个快捷键我们一般不用,小勾勾去掉就成了。eclipse中功能成功恢复,省时省力! 阅读全文
posted @ 2013-07-31 17:44 ejllen 阅读(250) 评论(0) 推荐(0) 编辑
摘要: "> gridPanel 阅读全文
posted @ 2013-07-31 17:38 ejllen 阅读(450) 评论(0) 推荐(0) 编辑
摘要: //获取日期todaysDate=[NSDate date];//显示日期和时间dateFormat = [[NSDateFormatter alloc] init];//NSDate没有自己的输出,需要借助NSDateFormatter以相应格式输出。[dateFormat setDateFormat:@”MMMM d,yyyy hh:mm:ssa”];//设置格式todaysDateString = [dateFormat stringFromDate:todaysDate];//转化成字符串//计算日期相差多少天NSTimeInterval difference;difference = 阅读全文
posted @ 2013-07-31 16:31 ejllen 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-07-31 16:09 ejllen 阅读(166) 评论(0) 推荐(0) 编辑