GitXplorerGitXplorer
h

Diskcached

public
7 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
dcc5f42cf5cf0002c3eea4a19bcedcfcaaa47d95

Fixing to be not possible to interpret `@import`

hhirohisa committed 10 years ago
Unverified
f9012830ae7a30bb7712af8bbf07397c9f8d28e2

update podspec

hhirohisa committed 10 years ago
Unverified
8a1925f39fd3ae41aad02cb6b54a0cc7c3f609af

update podspec

hhirohisa committed 11 years ago
Unverified
636729cac4abec841e8bf287599f70f2d285645a

update logic

hhirohisa committed 11 years ago
Unverified
1cfc30f78b7de96b14e74cb04fbbdcebe8eca096

bugfix crash when have many tasks

hhirohisa committed 11 years ago
Unverified
3f0492ec82759302401dc67ac5524c699253c949

remove to call exceptions

hhirohisa committed 11 years ago

README

The README file for this repository.

Diskcached Build Status

Diskcached is simple disk cache for iOS.

  • Simple methods
  • Writing asynchronously to disk
  • Controlling to clean disk when it called dealloc

Installation

There are two ways to use this in your project:

  • Copy the Diskcached class files into your project

  • Install with CocoaPods to write Podfile

platform :ios
pod 'Diskcached', '~> 0.0.1'

Example

Diskcached *cached = [[Diskcached alloc] init];
[cached setObject:object forKey:@"key"];

id result = [cached objectForKey:@"key"];

Unsupport

  • Dont implement hash function in Diskcached. If need, generate the key with hash function.

Hash Function

License

Diskcached is available under the MIT license.