2017年6月23日
摘要: #import <Foundation/Foundation.h> @interface Person : NSObject +(instancetype)sharePerson; @end #import "Person.h" @implementation Person static Perso 阅读全文
posted @ 2017-06-23 22:34 1018475062 阅读(147) 评论(0) 推荐(0)
摘要: @interface NSObject (Objc) // @property (nonatomic, strong) NSString *name; // 在分类中 给系统的类添加属性, 一搬系统的类不能添加额外的属性 @end #import "NSObject+Objc.h" #import 阅读全文
posted @ 2017-06-23 21:45 1018475062 阅读(142) 评论(0) 推荐(0)
摘要: CoreData是iOS5后,苹果提供的原生的用于对象化管理数据并且持久化的框架(ORM)。 CoreData本质上是将底层数据库封装成对象进行管理。但数据库实际上只是CoreData的一个功能,并不是全部功能。 在iOS开发中,除了可以使用CoreData进行数据管理,还可以使用SQLite进行内 阅读全文
posted @ 2017-06-23 11:43 1018475062 阅读(113) 评论(0) 推荐(0)
摘要: Dogs are friends I love dogs. Jam, an English teacher(同位语), works very hard. 主语从句 都是有连词衔接的 句子 What(连接词) we need(?) is more time.// we need is more tim 阅读全文
posted @ 2017-06-23 09:38 1018475062 阅读(286) 评论(0) 推荐(0)
摘要: // 固定搭配 The place which i often pay a visit was built in the 17th century. Last night I had a dream in which i became a Nobel Prize winner. The fright 阅读全文
posted @ 2017-06-23 09:28 1018475062 阅读(549) 评论(0) 推荐(0)