On 12/9/2016 10:21 PM, Sergey Bylokhov wrote:
Interesting. Does it mean that if I register some custom resource bundle
it will not affect any UI values because all the values is already
cached in some UIDefaults map, is that what you mean?
The cache will be cleared when you register a new bundle.
And if bundle remove the cache is not cleared?
If bundle is removed from the list of bundles then the cache will be
cleared as well.
Nice. Why the remove method is not modified in the fix?
Why it should be modified? It does not expose an internal resource
bundles and allow the user to modify the list of bundles in the
UIDefaults.
Then why addResourceBundle() is modified to ***not***
> allow the user to modify the list of bundles in the UIDefaults.
?