Quentin,
just looking at the IconKit headers. A few notes/questions:
-> Why are you generating a hash from the bundle identifier?
Wouldn't the cache be more readable in the file system if you just
used the plain-text bundle identifier?
-> In _obtainBundlePathIfNeeded, you can't use
bundleWithIdentifier:. bundleWithIdentifier only works for objects
that have already been loaded into your app. At least that's what
Apple's docs say. You'll have to write your own code that keeps track
of bundle paths associated with particular identifiers and lets
clients look that up.
-> It should be "invalidateCache" and "invalidateAllCaches".
invalid is an adjective in English and people would expect it to
return a boolean whether the cache is valid or not.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de