- 博客(37)
- 收藏
- 关注
原创 字典或者数组与JSON串之间的转换
// 将字典或者数组转化为JSON串+ (NSData *)toJSONData:(id)theData{ NSError *error = nil; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:theData options:NSJSONWritingPrettyPrinted error:ni
2017-04-12 16:00:15 382
原创 银联支付 支付代码
_rowSelect = 2 银联支付 下方是所有的支付代码#pragma mark 第三支付- (void)postUpload{ NSString *channel; switch (_rowSelect) { case 0: channel = @"wx"; self.chann
2017-04-12 16:00:08 2092
原创 iOS使用Charles(青花瓷)抓包并篡改返回数据图文详解
青花瓷获取接口详解:转自网址: http://www.codes51.com/article/detail_147595.html
2017-04-12 16:00:00 495
原创 非技术类 收藏网址
1、全国企业信用信息公开系统(河南)http://222.143.24.157/search.jspx?ad_check=1#2、全国组织机构代码管理中心http://www.nacao.org.cn/http://www.qichacha.com/3. 逼格PPThttp://www.tretars.com/110-ppt.html
2017-04-12 15:59:53 332
原创 新浪OAuth授权
1.获取未授权的 Request Token2.获取 用户 授权的 Request Token3. 用 授权过的 Request Token 换取 Access Token
2017-04-12 15:59:42 305
原创 📝 百思不得姐 video
1. 百思不得姐: tabBar 的 中间自定义 tabBar的 ➕ btn 。(From 百思不得姐 第一天视频-0722-05自定义tabBar) self.tabBar = [[ZHTabBar alloc] init]; //此句是报错的! self.tabBar 的tabBar属性明明有,为什么还报错呢?Why?because self.tabBar 是只读的。
2017-04-12 15:59:29 567
原创 【支付信息】支付宝 微信支付 —— A2 iOS
一、支付宝支付1.准备工作1> 向支付宝”签约" 成为支付宝的”商户”, 签约完成后, 支付宝会提供一些必要的数据给我们(商户ID-partner,帐号ID-支付宝帐号)注意:签约成为支付宝商户,需要提供公司营业执照http://act.life.alipay.com/shopping/before/help/index.html2> 获取支付相关的 '私钥' 和 '密钥'https://doc.
2017-04-12 15:59:21 1268
原创 学UI网 收集干货
1.设计师在线神器——求字体网http://www.qiuziti.com/http://www.xueui.cn/design/20356.html
2017-04-12 15:59:11 642
原创 xcode 软件˙∆集~
1.office for mac下载到电脑时 保存到了百度云 好多http://www.pc6.com/mac/110796.html
2017-04-12 15:59:04 211
原创 苹果电脑提示打不开 因为它来自身份不明的开发者 不能安装下载的苹果软件解决方法
摘自:http://www.3lian.com/edu/2015/07-22/231789.html
2017-04-12 15:58:32 3507
原创 出现( linker command failed with exit code 1)错误总结
摘自:http://blog.csdn.net/hengshujiyi/article/details/21182813
2017-04-12 15:58:27 398
原创 技术博客 iOS
1.标哥的技术博客http://www.henishuo.com/category/ios-interview-dictionary/ 2. 容芳志博客http://www.cnblogs.com/stoic/ 3. Kitten's 时间锦囊http://kittenyang.com/3dfliptransition/
2017-04-12 15:58:21 282
原创 Xcode 7中http通信出现如下错误:Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. T
Xcode 7中http通信出现如下错误:Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
2017-04-12 15:58:18 290
原创 注册 页面常用的判断知识
//// RegistViewController.m// O2O//// Created by Apple on 15/9/9.// Copyright (c) 2015年 apple. All rights reserved.//#import "RegistViewController.h"#import "UserInfo.h"#import
2017-04-12 15:58:14 401
原创 IOS开发之小实例--UIImagePickerController
摘自:http://www.cnblogs.com/goodboy-heyang/p/5403947.html前言:本篇博文是本人阅读国外的IOS Programming Tutorial的一篇入门文章的学习过程总结,难度不大,因为是入门。主要是入门UIImagePickerController这个控制器,那么这个 控制器是干嘛的呢?就是调用设备摄像机功能用的。到后面可能需要您在真机上测试,因
2017-04-12 15:58:08 267
原创 多任务处理之Background Fetch
iOS 7学习:多任务处理之Background Fetchhttp://www.2cto.com/kf/201402/278130.html 摘自:http://www.2cto.com/kf/201402/278130.html
2017-04-12 15:57:58 287
原创 ios 导航栏 说明
http://blog.csdn.net/enuola/article/details/7913711 本文是使用纯代码实现一个导航栏的效果。单击按钮并且产生事件。基本思路是:1.创建一个导航栏(UINavigationBar对象)2.创建一个导航栏集合(UINavigationItem对象)3.创建一个左边按钮、一个右边按钮(UIBarButtonItem对象),并实现对应的
2017-04-12 15:57:50 184
原创 点击 获取验证码 后,btn上显示 60秒 倒计时
-(void)daojishi{ __weak typeof(self) weakSelf = self; __block int timeout=60; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_sourc
2017-04-12 15:57:44 547
原创 iphone开发中NSMutableAttributedString/NSAttributedString 富文本设置
一、设置UILabel的属性attributedText(NSMutableAttributedString)NSString *testStr = @"测试";UILabel *testLab = ...(实例对象)NSMutableParagraphStyle *ps = [[NSMutableParagraphStyle alloc] init];
2017-04-12 15:57:39 279
原创 tableHeaderView和headerView的区别。
调用代理方法的返回的是每个section的headerView,而tableview 的tableHeaderView是tableview的顶部。就是说tableHeaderView只有一个,而headerView可以有多个~
2017-04-12 15:57:33 896
原创 xcode 修改项目名(重新命名)方法
点击项目名,修改后 敲 回车键后 跳出 如下图,点击 Rename:后点击 Enable:后 如下图所示点击 Manage Schemes... :后 如下图所示 修改名字:修改后,点击OK即可。
2017-04-12 15:56:24 13967
原创 reason: '-[UITableViewController loadView] loaded the "GWHomeViewController" nib but didn't get a UITableView.
uncaught exception 'NSInternalInconsistencyException, reason:[UITableViewController loadView] loaded the "Controller" nib but didn't get a UITableView - 暴走路人甲时间 2013-09-23 17:42:00 博客园精华区 原文
2017-04-12 15:55:55 727
原创 总结
1.IBAction:1> 能保证方法可以连线2> 相当于void2.IBOutlet:1> 能保证属性可以连线3.常见错误setValue:forUndefinedKey:]: this class is not key value coding错误原因是:连线出问题了4.Xcode5开始的一些建议把用于连线的一些方法和属性声明在.m文件的类扩展中5.frame\center\bounds1>
2017-04-12 15:55:49 216
原创 button形式的四四方方的cell(有分割线)
NO1:From: 项目:Dongdaemun ➡️ ViewController 文件夹 ➡️ 主界面 ➡️ YSHomeViewController.m 中UIView *btnBgView = [[UIView alloc] initWithFrame:CGRectMake(edge, topView.bottom + kNormalSectionInset, topView.wid
2017-04-12 15:55:43 314
原创 一个控件用肉眼看不见,有哪些可能
/* 1.程序启动会自动加载叫做Default的图片 1> 3.5inch 非retain屏幕:Default.png 2> 3.5inch retina屏幕:Default@2x.png 3> 4.0inch retain屏幕: Default-568h@2x.png 2.只有程序启动时自动去加载的图片, 才会自动在4inch retina时查找-568h@2x.png *//* 一个控件用肉
2017-04-12 15:55:38 252
原创 Xcode编程问题集锦
Q1:自定义tabbar,随机色显示不出来[微博]R1:因为.pch文件中自定义的// RGB颜色#define GWColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]// 随机色#define GWRandomColor GWColor(arc4random_un
2017-04-12 15:55:26 459
原创 Xcode快捷键
其实都是设置里的,整理成文件版,方便搜索可能有些新手刚用mac,不知与windows键对应,现在说明一下,command相当于ms键盘的win键,option相当于alt,键值一样,系统偏好设置里面可以更改。xcode相关:关于xcode 可设偏好设置 command+,清空缓存 可设隐藏xcode command+h隐藏其它 command+option+h显示全部 可设退出xco
2017-04-12 15:55:19 302
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人