自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (10)
  • 收藏
  • 关注

转载 ARC MRC

1,选择项目中的Targets,选中你所要操作的Target,  2,选Build Phases,在其中Complie Sources中选择需要ARC的文件双击,       并在输入框中输入:-fobjc-arc,如果不要ARC则输入:-fno-objc-arc

2014-03-27 17:10:53 485

原创 处理键盘弹出事件

#pragma mark - 处理键盘弹出事件- (void)viewWillAppear:(BOOL)animated{    [super viewWillAppear:animated];        [[NSNotificationCenter defaultCenter] addObserver:self                             

2014-03-27 12:08:25 504

转载 Your build settings specify a provisioning profile with the UUID, no provisioning profile was

在Archive项目时,出现了“Your build settings specify a provisioning profile with the UUID “”, however, no such provisioning profile was found”的出错。一直提示指定UUID的provisioning profile找不到,感觉很奇怪。明明自己的provisioning prof

2014-03-27 12:01:19 441

转载 C++、Objective-c混编陷阱之–错误的头文件引用

用C++/OC混编的时候,如果不是很熟练,经常会碰到类似如下的错误:Parse Issue Expected unqualified-idSemantic Issue Unknown type name ‘NSString’; did you mean ‘CCString’?而且这些错误通常是来自OC提供的库文件,比如说NSObjcRuntime.h,这就让人很头大,尤其是像我这样刚学

2014-03-25 11:11:28 7727 1

转载 uitextField 设置边框颜色

yourTextField.layer.borderColor = [[UIColor greyColor] CGColor];yourTextField.layer.borderWidth = 1.0; 记得include 就行

2014-03-19 19:19:16 1397

转载 IOS开发keyboardType

1.UIKeyboardTypeAlphabet2.UIKeyboardTypeASCIICapable3.UIKeyboardTypeDecimalPad  4.UIKeyboardTypeDefault5.UIKeyboardTypeEmailAddress6.UIKeyboardTypeNamePhonePad7.U

2014-03-19 18:52:18 586

转载 presenting view controller Vs presented view controller

1、presenting view controller Vs presented view controller  当我们在view controller A中模态显示view controller B的时候,A就充当presenting view controller(弹出VC),而B就是presented view controller(被弹出VC)。官方文档建议这两者之间通过delega

2014-03-18 22:37:08 481

原创 unsuppot device.. or gcc

select the project than clicked --- editor --- vilidate settings

2014-03-18 10:41:39 567

转载 更改工程名

对,好;错,改正。 ------ 前言系统 10.7 狮子开发平台 xcode 4.5.2旧工程名 MyProject-iPad修改之后 新工程名 FjSk-iPad点击项目,进入可以看到右侧Identity,修改Project Name为:FjSk-iPad,点击enter键,出现点击Rename,出现对话框,提示你是否创建副本。Disable和Enabl

2014-03-14 15:00:17 517

转载 Choose a destination with a supported architecture in order to run on this device.

============================================================博文原创,转载请声明出处蓝岩--移动互联网老兵============================================================最近在开发中遇到常见问题: [cpp]  Choose a destination w

2014-03-14 14:53:53 654

转载 iOS屏幕旋转

http://blog.sina.com.cn/s/blog_859ab3360101377j.html在iOS6之前的版本中,通常使用 shouldAutorotateToInterfaceOrientation 来单独控制某个UIViewController的方向,需要哪个viewController支持旋转,只需要重写shouldAutorotateToInterface

2014-03-14 09:16:29 485

转载 pickerView设置字体颜色

- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row          forComponent:(NSInteger)component reusingView:(UIView *)view{    UILabel *mycom1 = view ? (UILabel *) view :

2014-03-13 11:20:38 3426

转载 agi18n

Localization in iOS apps made simpleAngel G. Olloqui17 March, 2013Localizing iOS apps with the standard tools is tedious, especially when you use Interface Builder files. To resolve that, I have

2014-03-11 10:34:26 137

转载 AFNetwork

AFNetwork是一个轻量级的网络请求api类库。是以NSURLConnection, NSOperation和其他方法为基础的。    下面这个例子是用来处理json请求的:  NSURL *url = [NSURL URLWithString:@"https://alpha-api.app.net/stream/0/posts/stream/global"];  NSURLRequest *

2014-03-10 21:20:13 646

转载 viewWillAppear:等无法调用的总结

今天也遇到了这样的问题。产生原因是用了UINavigationController. 将UINavigationController的view作为subview添加到了其他viewController的view中。或者把UINavigationController添加到UITabbarController中了。此时,NavigationController的stack里面的

2014-03-10 13:46:01 660

转载 UItableview编辑模式

UITableView除了常规的选择模式(selection mode)外还有一个编辑模式(editing mode),在编辑模式中可实现删除,插入,多选,重排序等。一.进入编辑模式通过直接设置UITableView的editing属性或向其发送setEditing:animated:消息,可将其置于编辑模式。 self.tableview.editing = YES; [self.t

2014-03-04 12:11:44 624

转载 iOS6的旋屏控制 不同以前版本

在iOS5.1 和 之前的版本中,我们通常利用 shouldAutorotateToInterfaceOrientation: 来单独控制某个UIViewController的旋屏方向支持,比如:  [cpp] viewplaincopyprint?- (BOOL)shouldAutorotateToInterfaceOrientation:

2014-03-03 18:35:32 429

转载 ios菜鸟之路:symbols for architecture i386 的错误

1、XX duplicate symbols for architecture i386:自己检查程序,找到重复的文件,并去掉。两个main入口会导致此类错误2、Undefined symbols for architecture i386:大多出现在合并代码后。由于是多人共同完成的项目,所以错误比较不容易找到。此错误说明缺少某种框架,或者类。根据提示进行添加某

2014-03-02 12:49:23 544

移动端支付宝demo

ios 安卓 支付宝 集成文档, demo

2014-08-26

svn_version

svn_versions 破解版, 适用于mac系统,方便好用的svn

2014-08-11

ios 官方Apn推送资料

苹果官方推送文档, 本地推送,远程推送,内有样例代码

2014-07-09

ios二维码扫描

zbar ios7 二维码扫描 使用简单

2014-07-09

TransitionGuide

apple 官方文档TransitionGuide ios7 开发应用

2014-07-07

itools工具下载

ios管理app工具, itools比iTunes更好用,更方便

2014-07-07

mac下抓包工具

mac操作系统下得抓包工具,用户mac ox开发,ios开发等抓包测试

2014-07-07

RGB颜色对照表

RGB颜色对照查询表,查询程序中所对应的颜色

2014-07-07

cfc编程手册

cfc编程手册

2011-11-30

USB数据采集卡数据采集系统

非常不错非常不错非常不错非常不错非常不错非常不错非常不错非常不错非常不错非常不错非常不错非常不错

2011-06-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除