PINRemoteImage
PINRemoteImage copied to clipboard
Allow setting a new instance to [PINRemoteImage sharedManager]
For example, when logout and login again in the app. We need to initiate the new session for PinRemoteImageManager
but we have no way of setting this new session configuration to sharedImageManager
when it is already instantiate.
Because of this we will lose all the categories support for UIImage
and UIButton
since those depends on [PinRemoteImageManager sharedManager]
since the only thing we can do is create a new PinRemoteImageManager
instance and cannot assign to sharedImageManager
Do I miss something or this is the design decision?
Thanks.
+1 this is somewhat a pain in the butt in many situations, it would be ideal to be able to configure multiple instances of PINRemoteImageManager
that did not share a global state.
I would love to see this as well and would happily review [RFC]s on how to do it!