简单的本地缓存 使用很简单 PersonCache *person = [[PersonCache alloc] init]; person.dog.age = 1; person.dog.dogType = @"拉布拉多"; person.dog.name = @"陈逗比"; person.book.bookName = @"我的童年"; person.book.price = 11.2; [person writeToFile]; PersonCache *cachePerson = [PersonCache createObjectFromFile]; NSLog(@"%@ %@ %@", cachePerson.dog.name, cachePerson.dog.dogType, cachePerson.book.bookName);
-
Notifications
You must be signed in to change notification settings - Fork 0
简单的本地缓存
License
SouHanaQiao/LocalCache
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
简单的本地缓存
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published