2015年12月16日

摘要: Prefix Header 中填入绝对路径//PCH 里面加入这个写代码#ifndef TARGET_OS_IOS#pragma mark ---------- for AFNetwork start --------#ifndef TARGET_OS_IOS#define TARGET_OS_I... 阅读全文
posted @ 2015-12-16 10:51 摩羯小伟 阅读(268) 评论(0) 推荐(0) 编辑
摘要: #import typedef void (^MyBlock)(NSString*);@interface SecondViewController : UIViewController@property (retain,nonatomic)UITextField* myTextField;@pro... 阅读全文
posted @ 2015-12-16 10:33 摩羯小伟 阅读(195) 评论(0) 推荐(0) 编辑
摘要: //进度条#import "ViewController.h"@interface ViewController (){ UIImageView* _animaImageV;}@end@implementation ViewController- (void)viewDidLoad { ... 阅读全文
posted @ 2015-12-16 10:27 摩羯小伟 阅读(410) 评论(0) 推荐(0) 编辑
摘要: #import @interface Student : NSObject ;@property(nonatomic,strong)NSString* name;@property(nonatomic,assign)int age;@property(nonatomic,copy)NSString*... 阅读全文
posted @ 2015-12-16 10:23 摩羯小伟 阅读(155) 评论(0) 推荐(0) 编辑
摘要: #import #import @interface DBConnect : NSObject@property(nonatomic,copy)NSString* title;+(sqlite3*)openDataBase:(NSString*)title;+(void)closeDataBase;... 阅读全文
posted @ 2015-12-16 10:18 摩羯小伟 阅读(168) 评论(0) 推荐(0) 编辑

导航