码迷,mamicode.com
首页 >  
搜索关键字:event    ( 11031个结果
ToastDemo
效果图:工程图:注意:需要加入的第三方Toast.RootViewController.m//点击任何处,弹出提示-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self.view makeToast:@"Th...
分类:其他好文   时间:2014-10-27 17:05:16    阅读次数:248
SVProgressHUDDemo
效果图:工程图:注意:要加入第三方库SVProgressHUD代码:RootViewController.m//点击任何处,弹出提示框-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [SVProgressHUD ...
分类:其他好文   时间:2014-10-27 17:00:29    阅读次数:251
JQurey入门——事件机制之事件中的冒泡现象示例解释
*参考资料:博客园http://www.jb51.net/article/33839.htmhttp://www.jb51.net/article/32792.htm注:修改$("body,div,#btnShow").click(function(event)为$("#btnShow").click(function(event);注释掉.show("slow").html("您好,欢迎来到JQuery世界!")观察结果。
分类:其他好文   时间:2014-10-27 15:48:38    阅读次数:140
<Android>greenrobot-EventBus,guava-Event Bus的异步实现
刚开始是从otto入手,但是otto不支持异步执行,所以后来才开始研究了Event Bus。关于Event Bus,先前搜索的时候,看到网上的实例,很碎,而且很多都是一样的内容,代码看下来基本上是分2套写法,这就带来了疑问,后来再仔细浏览原先的帖子发现了Event Bus有2套源码,一个是greenrobot的Event Bus,一个是google的guava Event Bus。今天谈论的并不是...
分类:移动开发   时间:2014-10-27 15:39:06    阅读次数:422
YXSpritesLoadingViewDemo
效果图:工程图:要加入第三方库文件YXSpritesLoadingView。RootViewController.m//点击任何处,弹出提示-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [YXSpritesL...
分类:其他好文   时间:2014-10-27 15:35:38    阅读次数:177
MTLableAlertDemo
效果图:工程目录:此代码需要加第三方库,MLTableAlert.RootViewController.m//点击任何处,出现提示框-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self showTableA...
分类:其他好文   时间:2014-10-27 14:14:54    阅读次数:152
DXAlertViewDemo
效果图:工程图:此工程要引入第三方库DXAlertViewRootViewController.m//点击任何处,出现提示框-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self twoBtnClicked]...
分类:其他好文   时间:2014-10-27 12:30:42    阅读次数:223
URBAlerViewDemo
效果图:工程图:注意:此文件要加入第三主库URBAlertView.RootViewController.m//点击任何处,出现提示框-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ URBAlertVie...
分类:其他好文   时间:2014-10-27 12:25:20    阅读次数:122
STAlertViewDemo
效果图:工程图:注意,此工程需要导入第三方库STAlertViewRootViewController.m//点击任何处,弹出按钮-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self showTextFie...
分类:其他好文   时间:2014-10-27 12:15:46    阅读次数:193
AMSmoothAlertDemo
效果图:工程图:此工程需要导入第三方,AMSmoothAlertRootViewController.m//点击任何处,出现提示框-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ alert = [[AMSmoot...
分类:其他好文   时间:2014-10-27 10:45:46    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!