Comments (3)
The history behind it not being in the PINCaching protocol is there was no clean way to keep the existing API. All the other methods matched one to one in disk and memory cache but the enumeration blocks for disk and memory are different. When we added the protocol we wanted to keep the existing API.
As far as adding a enumerateObjectsWithBlock method on PINCache, I don't see a particular problem with creating one (pull requests welcome!). It would likely require a new method on PINDiskCache which just enumerated _metadata and provided its keys.
from pincache.
Sorry, didn't mean to close, will keep open as an enhancement request.
from pincache.
Cool. I may give that a go myself!
from pincache.
Related Issues (20)
- PINDiskCache permission error HOT 4
- PINCache - (void)trimToDate:(NSDate *)date There is something wrong with the logic of this method. HOT 3
- Discrepancy between Header Comment and Implementation
- Any plans of stable release?
- PINCache's Carthage seems does not support watchOS HOT 4
- Swift Package Manager compatibility HOT 4
- PINCache doesn't build in Xcode 12 Beta 4 HOT 22
- Error in xcode12 compilation HOT 9
- `make carthage` Fails On Xcode 12 HOT 2
- Module 'PINOperation' not found ERROR in objc! HOT 10
- PINDiskCache: +[moveItemAtURLToTrash:] races with +[emptyTrash]
- Uses +[NSKeyedUnarchiver unarchiveObjectWithData:] which is deprecated when targeting iOS12 HOT 3
- Using MemCache as TTL but not disk cache HOT 2
- +[PINDiskCache moveItemAtURLToTrash:] (PINDiskCache.m:451) Crashed at -[NSURL fileSystemRepresentation] HOT 5
- pincache framework problem with Xcode12.3 version HOT 7
- Carthage vs SPM differences
- Secure code by using NSSecureCoding instead of NSCoding
- there is a difference
- Privacy manifest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pincache.