- 博客(14)
- 资源 (3)
- 收藏
- 关注
原创 AFNetworking get请求与 post 请求操作
get 请求方式 NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@",kBYBaseURL]]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; AFJSONRequestOp
2014-04-23 12:13:43 2017
转载 iOS 常用整理笔记
- (NSString *)URLEncodedString:(NSString *)string{ NSString *result = (NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)string,NULL,CF
2014-04-22 10:42:21 1240
转载 IOS 纯DES加密 与 使用base64加密
http://blog.csdn.net/kylinbl/article/details/8641246 DES 程序案例地址
2014-04-21 17:49:18 8097 4
转载 Unsupported compiler 'com.apple.compilers.llvmgcc42' selected for architectu
报错为:Unsupported compiler 'com.apple.compilers.llvmgcc42' selected for architecture 'armv7'
2014-04-17 18:39:10 983
原创 iPhone 开发中 Duplicate interface definition for class'*'怎么处理那?
iPhone 开发中 Duplicate interface definition for class'*' 一般都怎么解决啊
2014-04-14 12:45:31 6766
原创 自定义UINavigationController 标题、左右边按钮 navigationbar 设置多个按钮
#import @interface ILNavigationController : UINavigationController@end
2014-04-11 17:08:09 8832
原创 IOS程序运行时崩溃日志setObjectForKey: object cannot be nil
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: 0)'
2014-04-11 11:10:34 8659
转载 ios 应用中直接跳转到指定app页面 或者 app 评价页面 的方法
1.跳转到app页面 找到应用程序的描述链接,比如:http://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8然后将 http:// 替换为 itms:// 或者 itms-apps://: itms://itunes.apple.com/gb/app/yi-dong-cai-bian/id391
2014-04-09 18:21:14 3400
转载 获取手机设备信息 总汇
NSString* userPhoneName = [[UIDevice currentDevice] name]; NSLog(@"手机别名: %@", userPhoneName); NSString* deviceName = [[UIDevice currentDevice] systemName]; NSLog(@"设备名称: %@",devi
2014-04-09 17:38:42 1138
原创 使用AFNetworking 报错提示
数据请求失败Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set.) UserI
2014-04-09 16:15:30 34515 1
原创 自定义Cell的线条
自定义Cell 先去除 系统的Cell tableView.separatorStyle = UITableViewCellSeparatorStyleNone;在继承uitableViewCell 在写自定义cell.h 文件@property (strong ,nonatomic) UIImageView * xuxian;.m 文件 self.xux
2014-04-02 17:58:47 1001
原创 重写setFrame方法,自己调整cell的frame
宏可以随意写 指定宽高 与头部 尾部 间距#pragma mark 重写setFrame方法,自己调整cell的frame - (void)setFrame:(CGRect)frame{ // 更改x、宽度 frame.origin.x = kTableBorderWidth; frame.size.width -= kTableBorderWidt
2014-04-02 17:07:24 8591
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人