自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(75)
  • 收藏
  • 关注

转载 iOS让界面更加流畅的几个技巧

http://www.cnblogs.com/dbwdt/archive/2016/03/15/5279286.html

2017-05-31 09:27:40 407

原创 IOS中自定义返回按钮点击事件响应视图过大解决办法

#import @interface UINavigationBar (Event)-(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event;@end#import "UINavigationBar+Event.h"@implementation UINa

2017-05-17 09:18:02 889

原创 真机调试证书问题

The certificate used to sign "***" has either expired or has been revoked. An updated certificate is1.删除钥匙串里的所有证书2.添加开发账号,会自动生成真机调试证书

2017-03-02 12:25:05 325

原创 移除本地所有通知

NSArray *localNotifications = [[UIApplication sharedApplication] scheduledLocalNotifications];    if (localNotifications) {        [[UIApplication sharedApplication] cancelAllLocalNotification

2016-09-18 14:07:19 531

转载 win系统安装mac os

http://tieba.baidu.com/p/2243395168

2016-06-22 17:25:06 455

原创 主流的iphone机型屏幕快照尺寸

主流的iphone机型屏幕快照尺寸。1、iphone4/iphone4S:640*960(3.5inch)2、iphone5/iphone5S:640*1136(4.0inch)3、iphone6:750*1334(4.7inch)4、iphone6p:1242*2208(5.5inch)

2016-05-26 16:55:46 883

转载 iOS获取设备唯一标识的各种方法?IDFA、IDFV、UDID分别是什么含义?

http://cache.baiducontent.com/c?m=9d78d513d99817fb0bfa940f564083220d13c03d338d96533dc3923b8e791e040271e3cc7c644a578ec67c6616af3e0db6ed672f6b4577ebdddf883cd7bf98222d8a2423706bdc074d8d&p=882a9645d79e12a

2016-05-26 10:40:38 2029

转载 iOS 数据缓存

http://www.2cto.com/kf/201506/406733.html

2016-04-20 09:32:44 279

转载 ios常用三方资源

http://www.cocoachina.com/ios/20160121/14988.html

2016-04-20 09:18:24 251

转载 动态计算UITableViewCell高度详解

http://www.shaoqun.com/a/93172.aspx

2016-04-19 09:41:23 227

转载 解决tableview滑动时键盘隐藏回弹问题

http://www.th7.cn/Program/IOS/2011/11/23/47677.shtml

2016-04-12 10:23:14 403

转载 xcode配置包路径

http://blog.csdn.net/yangbenben8866/article/details/50977365

2016-04-05 10:47:10 609

转载 swift ?和!

http://joeyio.com/ios/2014/06/04/swift---/

2016-03-31 09:02:10 248

转载 三方库

http://blog.csdn.net/guojin08/article/details/42222637

2016-03-23 11:37:01 289

转载 OmniDiskSweeper

http://newping.cn/322

2016-03-18 10:44:25 439

转载 xcode模拟器的使用

http://www.crifan.com/intro_ios_simulator_in_xcode_and_usage_summary/

2016-03-15 14:48:45 360

转载 iOS tabbar 图片尺寸

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html

2016-01-08 16:37:17 2570

原创 swift第一课

swift第一课数字转字符串var age = 10var hand = 2var str = "I have " + string(hand) + "hands,\(age) years old"string(hand),\(age)var(变量)let(常量)命名规则:任意字符数据类型:Int,Float,Double,Bool,Character,String

2015-12-29 22:44:13 495

转载 swift学习网站

http://www.ioswift.org

2015-11-24 15:08:53 382

转载 cocoapods使用

http://www.jianshu.com/p/6e5c0f78200a

2015-11-10 10:27:17 329

转载 GVUserDefaults 使用

http://www.cnblogs.com/YouXianMing/p/4266895.html

2015-10-23 08:47:09 1968

转载 ios9 新特征

http://blog.csdn.net/hero82748274/article/details/48629461

2015-10-19 09:54:23 316

转载 常用sqlite错误编码及获取文件路径方法

各种sqlite错误编码http://blog.csdn.net/chinaofmelon/article/details/45419729获取文件路径方法http://blog.csdn.net/enuola/article/details/8076221

2015-10-12 10:29:38 500

原创 wex5

http://wex5.com/cn/wex5-development-guide/http://wex5.com/cn/downloads/

2015-10-09 14:19:32 435

转载 动效设计整理

http://www.cocoachina.com/ios/20150915/13371.html

2015-09-29 10:30:19 641

转载 iOS 9适配技巧(更新版

http://www.cocoachina.com/ios/20150929/13598.html

2015-09-29 10:11:07 325

转载 iOS:Button.titleLabel.text

改变上面的字的时候不能用  m_addButton.titleLabel.text = @"Add Stuff";而是要通过   [m_addButton setTitle:@"Add Stuff" forState: UIControlStateNormal]

2015-09-11 09:46:41 381

原创 自定义返回按钮

代码方appdelegate.m中,可以共用//自定义返回按钮#pragma mark - return button- (void)returnButton{    [[UIBarButtonItemappearance] setBackButtonBackgroundImage:[UIImageimageNamed:@"IQButtonBarAr

2015-08-26 16:18:52 587

原创 navigationBar right点击方法

UIBarButtonItem *rightItem = [[UIBarButtonItemalloc] initWithImage:[UIImageimageNamed:@"closed-lock"]style:UIBarButtonItemStyleDonetarget:selfaction:@selector(askSheet)];

2015-08-26 16:16:59 332

原创 代理使用一(cell页面的跳转)

一、cell页面.h@protocol askSheetDelegate NSObject>-(void)askSheetWithDelegate:(UIButton *)button;//下方按钮传值方法@end@property (strong,nonatomic)idaskSheetDelegate>mDelegate;//点击下方

2015-08-26 16:13:55 706

原创 改变个别字体颜色的富文本

//改变个别字体颜色的富文本+(NSMutableAttributedString *)SyhAttributedStringWithOne:(NSString *)str TextColor:(UIColor *)mColor{   NSInteger count=str.length;    NSMutableAttributedString * string=[[

2015-08-26 16:08:57 1133

原创 检测版本更新

@interfaceViewController ()UIAlertViewDelegate>{   NSString *updateURL;}@end@implementation ViewController- (void)viewDidLoad{    [superviewDidLoad];     

2015-08-26 16:00:16 522

原创 block 页面传值

Block 传值 .h   typedef void(^CountBlock)(NSIntegerfigure);-(void)CountWithFigureBlock:(CountBlock)figureBlock;                         .m     CountBlock cBlock;  #pragma mark - 块传值调用的方法

2015-08-03 17:40:18 340

原创 CATransition type/subtype

1.subtype     kCATransitionFade   交叉淡化过渡      kCATransitionMoveIn 新视图移到旧视图上面      kCATransitionPush   新视图把旧视图推出去      kCATransitionReveal 将旧视图移开,显示下面的新视图   kCATransitionFromRight   k

2015-06-02 21:30:10 622

转载 核心动画详解

http://www.tuicool.com/articles/ZZ7v22

2015-06-02 21:25:31 325

原创 iOS 通知notification

ios通知Notification(单例类)是一对多的实现,观察者模式参考如下链接:http://www.th7.cn/Program/IOS/201406/212434.shtml举例:三个页面的跳转://页面一#import "ViewController.h"@interface ViewController

2015-05-04 19:46:28 399

原创 ios二维绘图之颜色渐变

ios二维绘图之颜色渐变颜色空间cmyk印刷行业RGB渐变颜色:线性渐变,环状渐变线性渐变:渐变的区域是当前context,垂直于startPoint endPoint线段,并且于这条线段相交的直线环状渐变:corefoundation(c) -- foundation(oc)转换强制转换:__bridge id(类型)/****/自动

2015-05-04 19:38:41 775

原创 解归档

当我们需要的数据不再是系统所提供的对象类型时,系统不会为们自动生成自定义类型的writeToFile方法,这是我们需要使用代理,并且实现代理中的:- (void)encodeWithCoder://归档方法- (id)initWithCoder://解档方法

2015-04-22 21:24:17 406

原创 json与文本信息的区分

json:javascript object notation(javascript对象符号),是一种轻量级数据交换格式。有两种结构:名称/值,值的有序列表。文本信息以文字建立的文件,只有文字信息,没有其它信息。

2015-04-21 21:40:10 1521

原创 OC中多线程操作

OC中多线程操作同步操作:依次有顺序的执行程序中的代码异步操作:同时进行操作主线程:与界面相关的操作,应该在主线程中执行[self performSelectorOnMainThread:]子线程:消耗时间较多的操作,应该放在子线程中执行[self performSelectorInBackground:]

2015-04-20 21:34:59 496

空空如也

空空如也

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

TA关注的人

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