网上关于AngularJs(https://angularjs.org/)的介绍与好处已经相当多了,大家可以自己去搜索看看,很多很多。
1.疯狂的原生的App开发
在这里我主要谈一下我自己为什么要使用AngularJs。2011年我开始接触IOS编程,发现苹果的App体验真的非常棒,自己也跟着教程做...
分类:
Web程序 时间:
2014-06-04 21:37:28
阅读次数:
348
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary
*)launchOptions说明:当应用程序启动时执行,应用程序启动入口。只在应用程序启动时执行一次。appli...
分类:
移动开发 时间:
2014-06-04 20:47:41
阅读次数:
205
//在程序的启动处,开启通知-
(BOOL)application:(UIApplication*)application
didFinishLaunchingWithOptions:(NSDictionary*)launchOptions{//.....//开启网络状况的监听[[NSNotific...
分类:
移动开发 时间:
2014-06-04 19:58:55
阅读次数:
281
head
代码。。Java代码#import@interfaceViewController:UIViewController{UIProgressView*progressview;UIProgressView*progressviewbar;NSTimer*timer;}@property(re...
分类:
移动开发 时间:
2014-06-04 19:55:32
阅读次数:
359
1、让web页面的输入框是数字键盘html 中 input 的 type = "tel"
分类:
移动开发 时间:
2014-06-04 19:22:29
阅读次数:
208
本文转载至http://sjh787291806.blog.163.com/blog/static/21396319620131015105856616/如果需要将UIView的4个角全部都为圆角,做法相当简单,只需设置其Layer的cornerRadius属性即可(项目需要使用QuartzCore...
分类:
移动开发 时间:
2014-06-04 19:06:15
阅读次数:
253
1.当导入第三方库出现不支持ARC模式,可以在项目-》Build
Phases中对第三方类文件添加Compiler Flags(-fno-objc-arc)2.获取UITableViewCell中所有子控件//
获取当前tableView中的所有cellNSArray *array = [self....
分类:
移动开发 时间:
2014-06-04 19:04:15
阅读次数:
239
用特殊字体来实现矢量ICONtips:其实每个icon都是一个unicode字符,所以,可以通过改变font-size实现icon的矢量放大;可以通过改变color实现多色系。
分类:
其他好文 时间:
2014-06-04 18:14:59
阅读次数:
213
这两天算是真郁闷,一个启动图片也要花一天的时间,虽然网上有介绍,也看了,可是就是不知道怎么处理,后来还是参考上一个程序的三张默认图片来设置的,320x480.png(Default.png),640x960.png(Default@2x.png),640x1136.png(Default-5...
分类:
移动开发 时间:
2014-06-03 12:36:22
阅读次数:
248
有时候我们会需要在界面上拖动view;uiview是继承于uiresponder的,所以可以响应触摸相关的事件。重点是以下一组方法:-
(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event-
(void)touchesMoved...
分类:
移动开发 时间:
2014-05-29 15:23:07
阅读次数:
247