自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

nil Object的专栏

本博客是笔者平时学习笔记,有哪里不对请各位多多指教

  • 博客(77)
  • 资源 (2)
  • 问答 (1)
  • 收藏
  • 关注

转载 开始iOS 7中自动布局教程(一)

文章转载自http://www.cocoachina.com/industry/20131203/7462.html开始iOS 7中自动布局教程(一)发布于:2013-12-03 13:53阅读数:124077到目前为止,如果你的设计相当的复杂,那么你必须编写大量的代码来适应这样的布局。你应该很高兴,现在这样的情况再也不存在了--iOS6为iPhone和iPad

2015-07-26 11:59:13 367

原创 20150702_UI之UIViewController的生命周期

//// SecondViewController.h// IOS150702_UI(03)_UIViewController生命周期//// Created by PengJunlong on 15/7/2.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Sec

2015-07-03 23:07:24 374

原创 20150702_UI之UITextField使用

ViewController遵守UITextFieldDelegate协议//// ViewController.h// IOS150702_UI(02)_UITextField//// Created by PengJunlong on 15/7/2.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//

2015-07-03 22:53:44 404

原创 20150702_UI之CALayer简单的两个属性

CALayer:The CALayer class manages image-based content and allows you to perform animations on that content. Layers are often used to provide the backing store for views but can also be used wi

2015-07-03 22:52:13 335

原创 20150702_UI之UIView中层的注意事项及MVC练习

代码实例://// ViewController.m// IOS150702_UI层的说明//// Created by PengJunlong on 15/7/2.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import "ViewController.h"@interface ViewC

2015-07-03 22:46:39 373

原创 20150701_UI之UIView自动布局

UIView的自动布局,改变父视图,子视图的大小也回随着变化//// ViewController.m// IOS150701_UI(02)_UIView自动布局//// Created by PengJunlong on 15/7/1.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import

2015-07-03 22:44:24 401

原创 20150701_UI之UIImageView使用

UIImageView使用代码实例:代码中的图片可以自己找,将图片添加到工程中即可,通过图片名就能找到它//// ViewController.m// IOS150701_UI(03)_UIImageView//// Created by PengJunlong on 15/7/1.// Copyright (c) 2015年 Peng Junlong. All righ

2015-07-03 22:41:30 328

原创 20150701_UI之UIView层操作

代码实例://// ViewController.m// IOS150701_UI(01)_UIVieew层操作//// Created by PengJunlong on 15/7/1.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import "ViewController.h"@inte

2015-07-03 22:39:30 326

转载 20150630_UI之计算器练习

//// ViewController.m// IOS150630_UI_Button计算器//// Created by PengJunlong on 15/6/30.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import "ViewController.h"@interface ViewC

2015-07-03 22:38:17 452

原创 20150630_UI之ViewCrontroller初步认识

代码实例://// ViewController.m// IOS150630_UI(02)_ViewController//// Created by PengJunlong on 15/6/30.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import "ViewController.h"@i

2015-07-03 22:33:53 435

原创 20150630_UI之按钮UIButton使用

UIButton的使用从下面的实例来说明,代码按顺序可以一步一步的添加,运行看效果.//// MyClass.m// IOS150630_UI(01)_UIButton//// Created by PengJunlong on 15/6/30.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#imp

2015-07-03 22:30:20 523

原创 20150629_UI之坐标系及UILabel的练习

UILabel练习,做出一个象棋棋盘://// AppDelegate.m// IOS150629_UI_label练习//// Created by PengJunlong on 15/6/29.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import "AppDelegate.h"

2015-07-03 22:24:29 380

原创 20150629_UI之坐标系及UILabel

在IOS中系统的坐标系如下图:坐标的操作://// AppDelegate.m// IOS150629_UI(01)_坐标系//// Created by PengJunlong on 15/6/29.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import "AppDelegate

2015-07-03 22:20:07 425

原创 20150629_UI之应用程序生命周期及UI开源学习网址

http://code4app.com学习UI网址创建第一个IOS应用程序的时候,我们一般创建一个IOS的single view application,程序的入口仍然是main函数,在main函数里调用了UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));这个方法会去调用我们的代理类,使代理

2015-07-03 22:14:07 569

原创 20150626_OC之Block块的简单使用

//// main.m// IOS150626_ObjectiveC_Block块//// Created by PengJunlong on 15/6/26.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import //函数指针int add(int a, int b) //add的类型

2015-07-03 22:03:39 281

原创 20150625_OC之XML格式解析

一下对XML格式的解析使用的是谷歌的第三方库XDataXML,在进行XML解析的是时候需要对Xcode进行配置,将第三方库导入使用例1://// main.m// IOS150625_ObjectiveC_XML文件解析//// Created by PengJunlong on 15/6/25.// Copyright (c) 2015年 Peng Junlon

2015-07-03 21:56:03 355

原创 20150624_OC之代理及反向代理的简单例子

以下例子从例1到例6由浅到深说明代理:例子1://// Dog.h// IOS150624_ObjectiveC_代理5//// Created by PengJunlong on 15/6/24.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Dog

2015-07-03 21:42:50 486

原创 20150624_OC之@class关键字

@Class关键字的使用及与#import的区别://// ClassA.h// IOS150624_ObjectiveC_@class关键字//// Created by PengJunlong on 15/6/24.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import //#impor

2015-07-03 21:39:11 285

原创 20150624_OC之协议与自定义类型的归档

协议例子1://// main.m// IOS150624_ObjectiveC_协议语句//// Created by PengJunlong on 15/6/24.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import #import "Programmer.h"//********

2015-07-03 21:36:32 343

原创 20150623_OC之文件归档NSKeyedArchiver

文件归档NSKeyedArchiver,可以实现对文件的归档,序列化,反归档NSKeyedUnarchiver//// main.m// IOS150623_objectiveC_归档//// Created by PengJunlong on 15/6/23.// Copyright (c) 2015年 Peng Junlong. All rights reserved.

2015-07-03 21:09:34 335

原创 20150623_OC之Json格式的文件及URl解析

//// main.m// IOS150623_ObjectiveC_Json文件解析//// Created by PengJunlong on 15/6/23.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import //json//javascript的子集//key:value 类似

2015-07-03 21:06:39 1591

原创 20150623_OC之属性列表文件plist

plist文件的结构及操作://// ParsePlist.h// IOS150623_ObjectiveC_Plist文件1//// Created by PengJunlong on 15/6/23.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface ParseP

2015-07-03 21:04:00 433

原创 20150623_OC之时间NSDate与NSDateFormatter

//// main.m// IOS150623_ObjectiveC_时间//// Created by PengJunlong on 15/6/23.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import int main(int argc, const char * argv[]) {

2015-07-03 21:02:28 331

转载 iOS内存管理之:引用计数、ARC、自动释放池autoreleasepool和便捷方法之间的关系

文章转自:http://www.2cto.com/kf/201404/296070.htmliOS内存管理之:引用计数、ARC、自动释放池autoreleasepool和便捷方法之间的关系2014-04-27      0 个评论    来源:iOS内存管理之:引用计数、ARC、自动释放池autoreleasepool和便捷方法之间的关系   收藏    我要投稿

2015-07-03 20:59:32 603

原创 20150619_OC之NSData及文件操作NSFileHandle

OC中NSData数据,将对象边为字节码//// main.m// IOS150619_ObjectiveC_NSData//// Created by qianfeng on 15/6/19.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import int main(int argc, c

2015-07-03 20:57:25 447

原创 20150619_OC之NSFileManager文件管理器

//// main.m// IOS150619_ObjectiveC_目录及文件的创建//// Created by qianfeng on 15/6/19.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import int main(int argc, const char * argv[])

2015-07-03 20:53:31 460

原创 20150619_OC之类方法的内存管理

//// Dog.h// IOS150619_ObjectiveC_(1)//// Created by qianfeng on 15/6/19.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Dog : NSObject+ (Dog *)dogCreate;

2015-07-03 09:13:24 214

原创 20150619_OC之copy与mutableCopy

//// main.m// IOS150619_ObjectiveC_CopyAndMutableCopy//// Created by qianfeng on 15/6/19.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import int main(int argc, const cha

2015-07-03 09:12:19 245

原创 20150619_OC之单例

//// MusicManager.h// IOS_ObjectiveC_单例//// Created by qianfeng on 15/6/19.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface MusicManager : NSObject//单例方法//

2015-07-03 09:10:41 254

原创 20150619_OC之ARC与MRC混合编程

//// main.m// IOS_ObjectiveC_ARC_MRC混合编程//// Created by Peng Junlong on 15/6/19.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import #import "Person.h"#import "Dog.h"//**

2015-07-03 09:07:03 407

原创 20150618_OC之内存管理

内存管理引用计数://// Dog.h// IOS150618_ObjectiveC_内存管理//// Created by Peng Junlong on 15/6/18.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Dog : NSObject{

2015-07-03 08:51:56 260

原创 20150617_OC之父类指针指向子类对象

//// Animal.h// IOS150617_ObjectiveC_父类指针指向子类对象//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Animal : NSObject{ N

2015-07-03 08:47:28 1581

原创 20150617_OC之继承

//// Person.h// IOS150617_ObjectiveC_继承//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Person : NSObject{ NSString

2015-07-03 08:45:32 246

原创 20150616_OC之类别

类别用来实现对现有类的扩展,只能扩展方法,不能扩展实例变量.在创建OC文件时可以选择category,可以实现多继承的功能//// NSString+Reverse.h// IOS150616_ObjectiveC_类别//// Created by qianfeng on 15/6/16.// Copyright (c) 2015年 Peng Junlong. All ri

2015-07-03 08:42:42 200

原创 20150616实例变量作用域

// Person.h// IOS150616_ObjectiveC_实例变量的作用域//// Created by qianfeng on 15/6/16.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Person : NSObject{ @prote

2015-07-03 08:40:46 279

原创 20150616选择器

//// Dog.h// IOS150616_ObjectiveC_选择器//// Created by qianfeng on 15/6/16.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Dog : NSObject@property (copy)NSSt

2015-07-03 08:37:59 261

原创 20150616点语法

//// Dog.h// IOS15090616_ObjectiveC_DotSyntax//// Created by Peng Junlong on 15/6/16.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Dog : NSObject//{//

2015-07-03 08:36:43 199

原创 20150616属性@property

//// Dog.h// IOS150616_ObjectiveCDotProperty//// Created by Peng Junlong on 15/6/16.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import @interface Dog : NSObject//属性关键字:

2015-07-03 08:33:38 183

原创 20150612_OC之字典NSDictionary及NSMutableDictionary

//NSDictionary//创建一个不可变字典对象//NSMutableDictionary//创建一个可变字典对象//字典中对象都是键值对:key-->value//字典中的键值对是没有顺序的//字典中的key是唯一的,但是value是不唯一的,一个value可以有多个key//// main.m// IOS15

2015-06-12 17:44:10 302

原创 20150612_OC之数组及复合类的练习

复合类的练习及数组的使用,其中使用到了两个比较方法://// Student.h// IOS150611_ObjectiveC_StudentClass练习//// Created by Peng Junlong on 15/6/12.// Copyright (c) 2015年 Peng Junlong. All rights reserved.//#import

2015-06-12 17:37:55 247

中科大软件工程834,876历年真题

科大软件工程历年真题,好不容易找到的,全面,看了才知道命题思路

2012-11-07

中科大2011年真题

中科大2011年软件工程834专业真题 祝各考科大的同学一举考上

2012-09-29

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

TA关注的人

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