SkillAgentSearch skills...

Diskcached

Diskcached is simple disk cache for iOS.

Install / Use

/learn @hirohisa/Diskcached
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks2

Languages

Objective-C

Security Score

70/100

Audited on Aug 13, 2024

No findings