摘要: //获取 字符串 1. NSDateFormatter *outputFormatter= [[NSDateFormatter alloc] init]; [outputFormatter setLocale:[NSLocale currentLocale]]; [outputFormatter s 阅读全文
posted @ 2019-01-14 15:18 whx060900 阅读(174) 评论(0) 推荐(0) 编辑
摘要: //改变关键字颜色 //调用在你的cell中 tableview代理 cellforrow //返回单元格内容 -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)in 阅读全文
posted @ 2018-09-28 14:36 whx060900 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 如何用git命令行上传本地代码到github 如何用git命令行上传本地代码到github 2016年09月19日 16:10:36 阅读数:9337 2016年09月19日 16:10:36 阅读数:9337 阅读数:9337 注意:安装的前提条件是配置好git的相关环境或者安装好git.exe, 阅读全文
posted @ 2018-07-23 11:48 whx060900 阅读(160) 评论(0) 推荐(0) 编辑
摘要: iOS面试题整理带答案 找工作,面试是避免不了的!而技术开发面试,问一些技术相关的问题是必须的,最新的技术可能人人都趋之若鹜,但有些原理和基础的也希望都有了解。这里整理了一些iOS相关的面试题,(可能都已经老掉牙)但是也想跟大家分享下!如果答案有出入或不准确的地方,也欢迎大家指正。1.简述OC中内存 阅读全文
posted @ 2018-05-16 17:04 whx060900 阅读(273) 评论(0) 推荐(0) 编辑
摘要: IOS 使用cocoapods后无法导入头文件问题 这时候如果你发现import的时候没有提示AFN e t wo r k i n g.h的文件,可以在target-Build Settings下修改“User Header Search Paths”项,新增${SRCROOT}并选择rcursiv 阅读全文
posted @ 2018-03-02 14:31 whx060900 阅读(361) 评论(0) 推荐(0) 编辑
摘要: #import "CJInformationViewController.h" #import <WebKit/WebKit.h> #import <JavaScriptCore/JavaScriptCore.h> #import "CJwebotherCell.h" #import "CJComm 阅读全文
posted @ 2018-01-15 11:42 whx060900 阅读(442) 评论(0) 推荐(0) 编辑
摘要: .h文件 #import <Foundation/Foundation.h> /** * 请求成功的 Block @param responseObject 请求成功返回的数据 */ typedef void (^CJResponseSuccess)(id responseObject); /** 阅读全文
posted @ 2017-12-28 15:53 whx060900 阅读(190) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-12-28 15:48 whx060900 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 目录 CocoaPods是什么? 如何下载和安装CocoaPods? 如何使用CocoaPods? 场景1:利用CocoaPods,在项目中导入AFNetworking类库 场景2:如何正确编译运行一个包含CocoPods类库的项目 场景1:利用CocoaPods,在项目中导入AFNetworkin 阅读全文
posted @ 2017-12-26 09:19 whx060900 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #import "CJGWCListModel.h" @implementation CJGWCListModel - (NSInteger)goods_number{ if (_goods_number == 0) { _goods_number = 1; } return _goods_numb 阅读全文
posted @ 2017-12-05 11:06 whx060900 阅读(163) 评论(0) 推荐(0) 编辑