摘要: (转)关于Persistent Stack对象和外部数据存储,这两者之间的媒介,被整体叫做persistence stack。其中,managed object context位于栈顶,persistent object store位于栈底,中间的是persistent store coordina... 阅读全文
posted @ 2015-09-08 17:47 大胖子2015 阅读(174) 评论(0) 推荐(1) 编辑
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 @property(strong,nonatomic)UIDatePicker * datepicker; 5 -(void)UpdataTime; 6 @end 7 ... 阅读全文
posted @ 2015-08-31 12:37 大胖子2015 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @property(strong, nonatomic) UIPickerView * pickerView; 6 @property(strong,... 阅读全文
posted @ 2015-08-27 20:56 大胖子2015 阅读(272) 评论(0) 推荐(0) 编辑
摘要: (转)一、键盘风格UIKit框架支持8种风格键盘。typedef enum {UIKeyboardTypeDefault, // 默认键盘:支持所有字符 UIKeyboardTypeASCIICapable, // 支持ASCII的默认键盘 ... 阅读全文
posted @ 2015-08-27 10:30 大胖子2015 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 @property(strong,nonatomic)UIScrollView * ScrollView; 5 @property(strong,nonato... 阅读全文
posted @ 2015-08-26 14:06 大胖子2015 阅读(222) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"@interface ViewController ()@property (strong, nonatomic) IBOutlet UIImageView *imageview;- (IBAction)imageTransform:(UIButt... 阅读全文
posted @ 2015-08-24 19:06 大胖子2015 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1、常用属性self.view;self.navigationController;//自动赋值self.navigationItem;//手动赋值self.tabBarController;//自动赋值self.tabBarItem;//手动赋值 1,可视化属性 UIView * v1; UI... 阅读全文
posted @ 2015-08-24 19:03 大胖子2015 阅读(95) 评论(0) 推荐(0) 编辑
摘要: AVCaptureDevice.h,主要用来获取iphone一些关于相机设备的属性。AVCaptureDevice.h,必须要引入AVFoundation.framework包。​1. 前置和后置摄像头​enum { AVCaptureDevicePositionBack = 1,AVCapture... 阅读全文
posted @ 2015-08-23 19:31 大胖子2015 阅读(357) 评论(0) 推荐(0) 编辑
摘要: #importintmain(intargc,constchar* argv[]){//可变字典NSMutableDictionary* set = [[NSMutableDictionary alloc]init];[setsetValue:@"shdf"forKeyPath:@"1"];[set... 阅读全文
posted @ 2015-08-23 19:30 大胖子2015 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #import"ViewController.h"@interfaceViewController()AVAudioPlayerDelegate>@property(nonatomic,strong)UIProgressView* progressView;@property(nonatomic,s... 阅读全文
posted @ 2015-08-23 19:28 大胖子2015 阅读(129) 评论(0) 推荐(0) 编辑