会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
My BLOG》》》》》
博客园
首页
新随笔
联系
管理
上一页
1
···
4
5
6
7
8
2014年4月4日
ios 开发指南
摘要: 苹果Xcode帮助文档阅读指南iOS开发官方文档汇总 翻译"iPhoneSDK开发"之UIKit使用…iOS中arc的设置与使用
阅读全文
posted @ 2014-04-04 20:22 huluo666
阅读(110)
评论(0)
推荐(0)
2014年3月24日
KVC 与 KVO
摘要: http://magicalboy.com/kvc_and_kvo/KVC 与 KVO 是 Objective C 的关键概念,个人认为必须理解的东西,下面是实例讲解。Key-Value Coding (KVC)KVC,即是指NSKeyValueCoding,一个非正式的 Protocol,提供一种...
阅读全文
posted @ 2014-03-24 09:42 huluo666
阅读(202)
评论(0)
推荐(0)
2014年2月7日
iOS中如何呼出另一个应用
摘要: 我们经常会遇到在一个应用里面呼出另一个应用的需求,比如在文档里面点击地址,调用safari来打开网页;比如在文件浏览器里面点击某种文件,自动激活一个应用来打开文件。 iOS里面对于这样的需求使用URL来实现,把其他的应用看成一种资源,本质上就是调用系统资源。 我们有两个应用App...
阅读全文
posted @ 2014-02-07 17:48 huluo666
阅读(169)
评论(0)
推荐(0)
2014年1月22日
iOS 倒计时
摘要: //// RootViewController.m// MyTimerDemo// Created by huluo on 1/21/14.// Copyright (c) 2014 bluemobi.cn. All rights reserved.//#import "RootViewCo...
阅读全文
posted @ 2014-01-22 17:57 huluo666
阅读(193)
评论(0)
推荐(0)
2014年1月20日
imageNamed 与 imageWithContentsOfFile的区别
摘要: imageNamed 与 imageWithContentsOfFile的区别(来自http://www.cnblogs.com/pengyingh/articles/2355033.html)如题,是不是大家为了方便都这样加载图片啊myImage = [UIImage imageNamed:@"i...
阅读全文
posted @ 2014-01-20 13:49 huluo666
阅读(165)
评论(0)
推荐(0)
2014年1月17日
iOS6与iOS7屏幕适配技巧
摘要: iOS6与iOS7屏幕适配技巧(转)
阅读全文
posted @ 2014-01-17 16:33 huluo666
阅读(115)
评论(0)
推荐(0)
自定义UITextField(UITextField重写)
摘要: // CustomField.h#import @interface CustomField : UITextField@end// CustomField.m#import "CustomField.h"@implementation CustomField- (id)initWithFram...
阅读全文
posted @ 2014-01-17 16:01 huluo666
阅读(199)
评论(0)
推荐(0)
2014年1月15日
iOS 视图跳转
摘要: //跳转- ( void)present:( id )sender { NSLog ( @"the button,is clicked …" ); // 创建准备跳转的 UIViewController ModalViewController *modalViewControlle...
阅读全文
posted @ 2014-01-15 18:51 huluo666
阅读(132)
评论(0)
推荐(0)
UIView添加事件
摘要: UIView *loadView = [[UIControl alloc]initWithFrame:CGRectMake(0,0,320,480)]; loadView.backgroundColor = [UIColor clearColor]; [(UIControl *)loadV...
阅读全文
posted @ 2014-01-15 13:39 huluo666
阅读(100)
评论(0)
推荐(0)
2014年1月13日
iOS 数组里面取字典的值
摘要: NSArray *arrData = @[@"1",@"2",@"3",@"4"]; NSArray *arrKey = @[@"A",@"B",@"C",@"D"]; NSMutableDictionary *dic = [NSMutableDictionary diction...
阅读全文
posted @ 2014-01-13 23:17 huluo666
阅读(7369)
评论(0)
推荐(0)
iOS中的retainCount
摘要: 我们都知道iOS中采用引用计数的技术来管理内存,当一个对象没有任何一个地方引用的时候会自动释放,此时的retainCount为0,而且提供了一个-(NSInteger)retainCount的方法来获得对象当前的持有数。 这个概念清楚而明确,不过,让我们看两段代码: NSNumber *number = [NSNumber numberWithInt:1]; ...
阅读全文
posted @ 2014-01-13 22:21 huluo666
阅读(227)
评论(0)
推荐(0)
2014年1月10日
IOS6屏幕旋转详解(自动旋转、手动旋转、兼容IOS6之前系统)
摘要: 概述: 在iOS6之前的版本中,通常使用 shouldAutorotateToInterfaceOrientation 来单独控制某个UIViewController的方向,需要哪个viewController支持旋转,只需要重写shouldAutorotateToInterfaceOrientation方法。 但是iOS 6里屏幕旋转改变了很多,之前的 shouldAutorotate...
阅读全文
posted @ 2014-01-10 17:04 huluo666
阅读(219)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
公告