偏好设置:
plist文件详解:
#import "ViewController.h"
#import "Contact.h"
@interface ViewController ()
@property (nonatomic,copy) NSString *plistPath;
@end
@implementation ViewControll...
分类:
其他好文 时间:
2016-05-06 12:28:10
阅读次数:
141
@interface ViewController () <MKMapViewDelegate> { //地图对象 MKMapView *_mapView; UILabel *_userLocationLabel; //用户坐标 } @end @implementation ViewControll ...
分类:
其他好文 时间:
2016-05-06 09:26:05
阅读次数:
403
@interface ViewController () <CLLocationManagerDelegate> { //定位器管理者 CLLocationManager *_locationManager; } @end @implementation ViewController - (void ...
分类:
其他好文 时间:
2016-05-06 09:20:40
阅读次数:
166
#import "RootViewController.h" //加入头文件#import "Reachability.h" @interface RootViewController () @end @implementation RootViewController - (id)initWith ...
分类:
其他好文 时间:
2016-05-04 17:12:35
阅读次数:
137
OC面向对象—封装 一、面向对象和封装 面向对象的三大特性:封装(成员变量)、继承和多态 在OC语言中,使用@interface和@implementation来处理类。 @interface就好像暴露在外面的时钟表面,像外界提供展示以及接口。@implementation就好像隐藏在时钟内部的构造 ...
分类:
其他好文 时间:
2016-05-03 20:08:23
阅读次数:
172
#import "LZJContactVC-2.h" @interface LZJContactVC_2 ()<UIActionSheetDelegate,UIAlertViewDelegate> @end @implementation LZJContactVC_2 - (void)viewDid ...
分类:
其他好文 时间:
2016-05-03 14:39:37
阅读次数:
176
#import "ViewController.h" @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; [self handleNSFileManage]; } // 文件管理 - (void)hand ...
分类:
移动开发 时间:
2016-04-29 23:33:35
阅读次数:
421
jdk:1.7.0_75
package java.util;
/**
* Doubly-linked list implementation of the {@code List} and {@code Deque}
* interfaces. Implements all optional list operations, and permits all
* elements (i...
分类:
其他好文 时间:
2016-04-29 16:40:05
阅读次数:
212
苹果官方文档:OpenGL ES for iOS苹果官方文档:OpenGL for OS X OpenGL是源自SGI IRIS GL library,并不是SUN开发的。SGI提供了一个OPENGL的Sample implementation,主要是提供给硬件制造商来实现OPENGL的驱动。如果有 ...
分类:
其他好文 时间:
2016-04-29 14:20:57
阅读次数:
145
例如给UILabel添加一个UUTag属性 #import "UILabel+util.h" #import "objc/runtime.h" static const void *UUTagKey = &UUTagKey; @implementation UILabel (util) -(NSSt ...
分类:
其他好文 时间:
2016-04-28 16:53:27
阅读次数:
129