自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(34)
  • 资源 (22)
  • 收藏
  • 关注

原创 【Foundation-62-1】#import <Foundation/NSRange.h>范围

// NSRange 的结构体typedef struct _NSRange {   NSUInteger location;   NSUInteger length;} NSRange; NSRange theRange = NSMakeRange(2, 4); NSUInteger loc = theRange.location; // 起始位

2015-09-30 19:32:34 295

原创 【Foundation-37-2】#import <Foundation/NSIndexSet.h>可变索引集合

@interface NSMutableIndexSet :NSIndexSet {    @protected   void *_reserved;}- (void)addIndexes:(NSIndexSet *)indexSet;// 添加集合- (void)removeIndexes:(NSIndexSet *)indexSet;// 移

2015-09-29 23:58:52 308

原创 【Foundation-37-1】#import <Foundation/NSIndexSet.h>不可索引集合

NSIndexSet 用来让你从某个 data structure 里面提取一部分东西出来成为一个新的东西。比如你有一个 NSArray, 里面是(one, two, three, four, five)然后你造了个 indexSet 的内容是 0,1,2,4然后你把它套到那个 array 上,就是 (one, two,three,five)@interface

2015-09-29 23:51:20 320

原创 【Foundation-36-1】#import <Foundation/NSIndexPath.h>树结构

NSIndexPath 让你精确指定一个树结构 data structure 里面的某个节点的数据比如你有一个 NSArray, 里面很多节点,每个节点又是一个 NSArray,每个节点的这个里面又是一个NSArray,然后下面又是一个  NSArray这样简单说起来,你有一个四层的 NSarray ,每层下面都有好多个 NSArray。然后你造一个  NSIndexPath 1.3.

2015-09-29 22:23:55 320

原创 【UIKit-110-9】#import <UIKit/UITableView.h>数据源

@protocol UITableViewDataSourceNSObject>@required// section 中有多少行- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;// cell- (UITabl

2015-09-29 21:36:04 273

原创 【UUIKit-110-8】#import <UIKit/UITableView.h>代理方法

@protocol UITableViewDelegateNSObject,UIScrollViewDelegate>@optional【cell view 展示与隐藏】- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell

2015-09-29 21:29:36 353

原创 【UIKit-110-7】#import <UIKit/UITableView.h>提前注册

@interface UITableView :UIScrollView NSCoding>【注册cell】- (void)registerNib:(UINib *)nib forCellReuseIdentifier:(NSString *)identifierNS_AVAILABLE_IOS(5_0);- (void)registerClass:(Class

2015-09-28 23:53:54 249

原创 【UIKit-110-6】#import <UIKit/UITableView.h>外观

@interface UITableView :UIScrollView NSCoding>【索引外观】具体使用见dataSource@property (nonatomic)NSInteger sectionIndexMinimumDisplayRowCount;                                               

2015-09-28 23:45:15 388

原创 【UIKit-110-5】#import <UIKit/UITableView.h>选中行

【选中行】@interface UITableView :UIScrollView NSCoding>- (NSIndexPath *)indexPathForSelectedRow;        // 选中的行- (NSArray *)indexPathsForSelectedRowsNS_AVAILABLE_IOS(5_0);//

2015-09-28 22:59:07 294

原创 【UIKit-110-4】#import <UIKit/UITableView.h>编辑模式

【编辑状态】@interface UITableView :UIScrollView NSCoding>@property (nonatomic,getter=isEditing) BOOL editing;                   // default is NO. - (void)setEditing:(BOOL)editing animat

2015-09-27 16:37:15 339

原创 【UIKit-110-3】#import <UIKit/UITableView.h>增删改移

【增删改移】@interface UITableView : UIScrollView - (void)beginUpdates;   // 在插入,删除,编辑动画开始- (void)endUpdates;     // 与上一个同步使用//必须确保数据源与下面的方法改变一致。//针对section- (void)insertSect

2015-09-27 16:10:42 308

原创 【UIKit-110-2】#import <UIKit/UITableView.h>获取数据与滚动

【获取数据】@interface UITableView : UIScrollView - (void)reloadData;                 // 更新表内容- (void)reloadSectionIndexTitlesNS_AVAILABLE_IOS(3_0);  // 插入或者删除,更新部分表,而不是全部。

2015-09-27 13:20:48 340

原创 【UIKit-110-1】#import <UIKit/UITableView.h> 基础创建

@interface UITableView :UIScrollView NSCoding>【基础创建】- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style;               @property (nonatomic,readonly) UITableViewS

2015-09-27 12:13:13 358

原创 【UIKit-93-2】#import <UIKit/UIScrollView.h>

#import @protocol UIScrollViewDelegateNSObject>@optional【滚动】- (void)scrollViewDidScroll:(UIScrollView *)scrollView;- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollVie

2015-09-27 01:07:33 357

原创 【UIKit-93-1】#import <UIKit/UIScrollView.h>

UIKIT_EXTERNconst CGFloat UIScrollViewDecelerationRateNormalNS_AVAILABLE_IOS(3_0);UIKIT_EXTERNconst CGFloat UIScrollViewDecelerationRateFastNS_AVAILABLE_IOS(3_0);@class UIEvent,U

2015-09-26 22:37:06 347

原创 【UIKit-125-9】#import <UIKit/UIViewController.h>

【自动布局Guide】@interface UIViewController (UILayoutSupport)//自动布局的时候,以考虑 bar 的高度。 把下面两个看成bar 的view@property(nonatomic,readonly,retain)idUILayoutSupport> topLayoutGuide

2015-09-26 19:46:00 462

原创 【UIKit-125-8】#import <UIKit/UIViewController.h>

【VC转场代理】@protocol UIViewControllerTransitioningDelegate;@interface UIViewController(UIViewControllerTransitioning)//待研究 UIViewControllerTransitioningDelegate@prop

2015-09-26 19:31:46 348

原创 【UIKit-125-7】#import <UIKit/UIViewController.h>

【更新约束,VC版】@interface UIViewController (UIConstraintBasedLayoutCoreMethods)//更新约束,调用所有子视图的updateConstraints//VC中在 viewWillAppear之后,在 viewWillLayoutSubviews之前

2015-09-26 19:21:28 358

原创 【UIKit-125-6】#import <UIKit/UIViewController.h>

【子视图控制器的lifeCycle】@interface UIViewController (UIContainerViewControllerCallbacks)- (BOOL)shouldAutomaticallyForwardAppearanceMethodsNS_AVAILABLE_IOS(6_0);//该方法返回NO则childVi

2015-09-26 19:10:31 515

原创 【UIKit-125-4】#import <UIKit/UIViewController.h>

UIKIT_EXTERNNSString *const UIViewControllerHierarchyInconsistencyExceptionNS_AVAILABLE_IOS(5_0);@interface UIViewController (UIContainerViewControllerProtectedMethods)

2015-09-25 23:41:02 341

原创 【UIKit-125-3】#import <UIKit/UIViewController.h>

【edit/done 切换的button item】@interface UIViewController (UIViewControllerEditing)@property(nonatomic,getter=isEditing)BOOL editing;- (void)setEditing:(BOOL)editing animated:(BOOL)anima

2015-09-25 22:08:56 316

原创 【UIKit-125-2】#import <UIKit/UIViewController.h>

【屏幕旋转】@interface UIViewController (UIViewControllerRotation)带研究。+ (void)attemptRotationToDeviceOrientationNS_AVAILABLE_IOS(5_0); [UIViewController attemptRotationToDevic

2015-09-25 19:53:32 353

原创 【UIKit-125-1】#import <UIKit/UIViewController.h>

UIKIT_EXTERN NSString *const UIViewControllerShowDetailTargetDidChangeNotificationNS_AVAILABLE_IOS(8_0);interface UIViewController : UIResponder 【视图生命周期】- (void)loadView; 1

2015-09-25 19:07:00 371

原创 【UIKit-124-11】#import <UIKit/UIView.h>

【配合自动布局】@interface UIView (UIConstraintBasedCompatibility) 【自动布局必须是NO】- (BOOL)translatesAutoresizingMaskIntoConstraintsNS_AVAILABLE_IOS(6_0);// Default YES- (void)setTranslatesAuto

2015-09-24 20:35:25 262

原创 【UIKit-124-10】#import <UIKit/UIView.h>

【更新约束】基本不需要写。待研究。0.0@interface UIView (UIConstraintBasedLayoutCoreMethods) - (void)updateConstraintsIfNeeded NS_AVAILABLE_IOS(6_0); - (void)updateConstraints NS_AVAILABLE_IOS(6_0); 

2015-09-24 00:20:39 288

原创 【UIKit-124-9】#import <UIKit/UIView.h>

【布局限制】@interface UIView (UIConstraintBasedLayoutInstallingConstraints)- (NSArray *)constraintsNS_AVAILABLE_IOS(6_0);父视图添加约束,对子视图做约束。view1的参数 对比(可以等于,大于等于...) view2的参数 *

2015-09-23 22:45:34 328

原创 【UIKit-124-8】#import <UIKit/UIView.h>

【移动视图偏移】@interface UIView (UIViewMotionEffects)具体看 UIMotionEffect 部分- (void)addMotionEffect:(UIMotionEffect *)effectNS_AVAILABLE_IOS(7_0);- (void)removeMotionEffect:(UIMotionEffect *

2015-09-23 22:23:39 557

原创 【UIKit-124-7】#import <UIKit/UIView.h>

【手势】@interface UIView (UIViewGestureRecognizers)@property(nonatomic,copy)NSArray *gestureRecognizers;// 控件上的所以手势- (void)addGestureRecognizer:(UIGestureRecognizer*)gestureRe

2015-09-23 22:14:45 335

原创 【UIKit-124-6】#import <UIKit/UIView.h>

【关键帧动画】@interface UIView (UIViewKeyframeAnimations)//大框架,关键帧动画+ (void)animateKeyframesWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay options:(UIViewKeyframeAnimation

2015-09-23 21:56:01 416

原创 【UIKit-124-5】#import <UIKit/UIView.h>

【动画-BLOCK】@interface UIView(UIViewAnimationWithBlocks)一般用第二个就差不多了。1、一般动画+ (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations; [UIView animateWith

2015-09-23 21:06:38 308

原创 【UIKit-124-4】#import <UIKit/UIView.h>

【动画一般属性】@interface UIView(UIViewAnimation)+ (void)beginAnimations:(NSString *)animationID context:(void *)context; + (void)commitAnimations;

2015-09-23 20:13:28 419

原创 【UIKit-124-3】#import <UIKit/UIView.h>

【视图渲染】@interface UIView(UIViewRendering)- (void)drawRect:(CGRect)rect;// 重绘- (void)setNeedsDisplay;// 标记需要展示- (void)setNeedsDisplayInRect:(CGRect)rect;// 展示【裁剪】

2015-09-23 00:32:51 414

原创 【UIKit-124-2】#import <UIKit/UIView.h>

【层级关系】@interface UIView(UIViewHierarchy)@property(nonatomic,readonly) UIView       *superview;@property(nonatomic,readonly,copy) NSArray *subviews;//遍历控件用@prop

2015-09-22 00:40:38 473

原创 【UIKit-124-1】#import <UIKit/UIView.h>

【UIView -基本属性与方法】@interface UIView :UIResponder NSCoding,UIAppearance,UIAppearanceContainer,UIDynamicItem,UITraitEnvironment,UICoordinateSpace> + (Class)

2015-09-21 23:49:12 672

GJB1032电子产品环境应力筛选方法.pdf

GJB1032电子产品环境应力筛选方法.pdf

2021-06-29

项目管理知识体系指南【PMBOK第六版】(中文)

项目管理知识体系指南【PMBOK第六版】(中文) 第一部分 项目管理知识体系指南(PMBOK 指南) 1 引论 11 指南概述和目的 12 基本要素 2 项目运行环境 21 概述 22 事业环境因素 23 组织过程资产 24 组织系统 3 项目经理的角色 31 概述 32 项目经理的定义 33 项目经理的影响力范围 34 项目经理的能力 35 执行整合 。。。 整本全

2018-07-12

「React Native入门与实战」

React Native入门与实战 王利华 & 魏晓军 & 冯诚祺 人民邮电出版社 2016年1月第1版

2018-06-06

Gprint 条码机 TSPL 中文编程手册(蓝牙打印机可编程手册).pdf

『Gprint 条码机中文编程手册(蓝牙打印机可编程手册).pdf』 Gprinter 专用文档,TSPL 指令集通用参考文档

2018-05-04

《大学计算机:计算思维导论》(高清)

系列【网易云课堂 - 大学计算机专业】 课程【计算机专业导论】 本资料【大学计算机:计算思维导论 战德臣 聂兰顺 2013】

2018-04-09

计算机网络(谢希仁第五版)

计算机网络(谢希仁第五版)

2017-03-24

C程序设计语言(第2版*新版)(美)Brian W.Kernighan 、Dennis M.Ritchie

C程序设计语言(第2版*新版)(美)Brian W.Kernighan 、Dennis M.Ritchie。高清!

2016-08-15

shell 脚本学习指南

shell脚本学习指南

2015-10-20

SPUD简介-ihower

你有聽過 HTTP 嗎? 沒有的⼈人可以離開了。 Web Usability • 0.1 秒 - 感覺是⾺馬上 根據知名學者 Jakob Nielsen 研究 • • • 1.0 秒 - 思緒開始飄移 10 秒 - 這東⻄西壞了吧?

2015-10-20

Objective-C编程之道

1、设计模式 2、对象创建 3、接口适配 4、对象去耦 5、抽象集合 6、欣慰扩展 7、算法封装 8、性能与对象访问 9、对象状态

2015-10-16

空空如也

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

TA关注的人

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