
ios开发
zhuyouleixuexi
这个作者很懒,什么都没留下…
展开
-
demo for iphone苹果官方例子ios开发
http://developer.apple.com/iphone/library/samplecode/Reachability/Reachability.zip http://developer.apple.com/iphone/library/samplecode/avTouch/avTouch.zip http://developer.apple.com/iphone/library/转载 2013-06-20 16:06:26 · 1881 阅读 · 0 评论 -
NSArray与NSMutableArray的区别
在iOS 开发过程中, NSArray,NSMutableArray、NSDictionary、 NSMutableDictionary 经常被用到。这里先来介绍NSArray 与 NSMutableArray。 NSArray 和 NSMutableArray 二者有时可任意选用,有时又必区分开来。 首先,NSArray只能存储Objective-C 对象,而不能存储C转载 2013-06-24 11:10:38 · 602 阅读 · 0 评论 -
ios页面自带的头部、底部bar的使用
//setToolbarHidden:YES隐藏底部bar,NO显示底部bar //setNavigationBarHidden:YES 隐藏头部bar,NO显示头部bar [self.navigationController setToolbarHidden:YES animated:YES];原创 2013-07-02 19:18:32 · 1583 阅读 · 0 评论 -
UIButton定义和设置圆角
//login button // .h 中定义 UIButton *_loginBtn; @property (strong,nonatomic)UIButton *loginBtn; // .m 中实现设置按钮 @synthesize loginBt转载 2013-07-02 16:34:58 · 2642 阅读 · 0 评论 -
IOS 添加自定义 字体
1,添加文件到项目中 2,增加到xxx-info.plist里面 3,运用 HELVETICA_LT_35_THIN self.nameLabel.font = [UIFont fontWithName:@"HELVETICA_LT_35_THIN" size:30];//设置字体的大小 有时你会发现 怎么都没有用。这可怎么办呢? 加入下面这段代码,将所有的字原创 2013-07-29 12:01:35 · 1056 阅读 · 0 评论 -
UIBarButtonItem 自定义
[self.navigationController setNavigationBarHidden:YES animated:NO];//去掉头部bar [self.navigationController setToolbarHidden:NO animated:NO]; //显示底部bar UIButton *delBtn = [UIButton buttonWithType原创 2013-07-23 16:56:47 · 1436 阅读 · 0 评论 -
ios 横竖屏的使用
1,在info.plist 文件中添加 2,ViewController.m中-----------最上层的Controller @implementation UINavigationController (autorotation) - (BOOL)shouldAutorotate { return NO;//禁止旋转 } - (NSUInteger)suppo原创 2013-08-10 20:29:10 · 860 阅读 · 0 评论 -
IOS变量的property属性设置和意义总结
最近有机会对IOS的property属性进行了一个全面的了解和总结: IOS 的@property和@synthesize帮我们轻易的生成对象的getter和setter方法来完成对对象的赋值和访问。但是如果我们如果要动态设置对象的getter和setter方法可以使用@property和@dynamic组合。对象访问方法property的属性设置非常多,诸如:atomic和nonatomic,转载 2014-02-10 14:42:02 · 609 阅读 · 0 评论