摘要:
Last login: Thu Oct 15 08:56:20 on consolechihaitaodeMac-mini-19:~ laouhn$ cd /Users/laouhn/Desktop/静态库lipo -create /Users/laouhn/Desktop/静态库/Release-... 阅读全文
摘要:
(NSString *)name; //通知的名称(id)object ;通知发布者(NSDictionary *)userInfo; 一些额外信息+ (instancetype)notificatinWithName:(NSString *)aName object:(id)anObject ;+... 阅读全文
摘要:
//campact和Regular继承自anyw:Compact h:Compact 继承 (w:Any h:Compact , w:Compact h:Any , w:Any h:Any)w:Regular h:Compact 继承 (w:Any h:Compact , w:Regular h:A... 阅读全文
摘要:
button.contentEdgeInsetsbutton.titleEdgeInsetsbutton.imageEdgeInsets 阅读全文
摘要:
一::UIScrollView的常见属性1.contentOffset 表示UIScrollView滚动的位置2.contentSize; 表示UIScrollView内容尺寸,滚动范围3.contentInset; 表示在UIScrollView的4周增加额外的公洞区域二:单例的两种写法+(Ser... 阅读全文
摘要:
开发者账号分为两种1.个人账号 99&可以上传2.公司账号1.99&可以上传2.299&禁止 公司内部使用,不需要审核3.证书最常见的三种1.测试证书 (developenment)2.发布证书 (distribution)3.推送证书(APNs)CSR文件记录本机信息p12文件AppID ; Ap... 阅读全文
摘要:
拿到Window的三种方法self.view.windowself.view.superView[UIApplication shareApplication].keyWindon 阅读全文
摘要:
PCH文件 — Prefix.pch#define MJLog(…)NSLog(__VA_ARGS__)NSPersistentstorecoordinator#ifdef __OBJC__ //里面的所有内容只能用到.m文件中#import #import #endif#ifdef DEBUG /... 阅读全文
摘要:
一.UIPickerView1.UIPickerView的常见属性//数据源(用来告诉UIPickerView有多少列多少行)@property(nonatomic,assign)id dataSource;//代理(用来告诉UIPickerView每1列的每1行显示什么内容,监听UIPickerV... 阅读全文
摘要:
@interfaceUIView : UIResponder/***通过一个frame来初始化一个UI控件*/- (id)initWithFrame:(CGRect)frame;// YES:能够跟用户进行交互@property(nonatomic,getter=isUserInteractionE... 阅读全文
摘要:
使用推送得流程1.创建APP ID,选择推送服务2.为APP ID创建推送证书 (包括测试盒生产,证书类型为APNs)3.极光推送为例:4.注册账号5.创建应用 (支付宝多一步,签约商家)6.下载demo工程,修改plist内的APP key,进行真机测试.主:真机测试步骤请查看上面的真机测试流程.... 阅读全文
摘要:
viewControl的生命周期 阅读全文
摘要:
三数据存储:1.plist 属性列表1>适用对象:仅仅是Foundation 框架中的自带的一些类,比如NSString \ NSArray \ NSDIcionary\NSSet\NSNumber\NSData2.适用对象WriteToFile...方法写入文件3>调用对象...WithConte... 阅读全文
摘要:
//tableView的三种刷新方式//1.删除模型数据 2. 刷新表格 3.归档[self.tableView reload]; //所有cell全部刷新[self.tableView reloadRowsAtIndexPahts: withRowAnimation:] //刷新某一行 行数不变[... 阅读全文
摘要:
$(SRCROOT)LessonSwiftFinal/OCSwiftBridge.h 阅读全文
摘要:
xcoe7数据显示NSAllowsArbitraryLoadsNSAppTransportSecurity//自己设置主窗口 阅读全文
摘要:
+ (NSString *)replaceUnicode:(NSString *)unicodeStr { NSString *tempStr1 = [unicodeStr stringByReplacingOccurrencesOfString:@"\\u"withString:@"... 阅读全文