Open cerupcat opened 10 years ago
I hope you're not planing to reload those images on released app, are you?
I was thinking about adding similar feature to support rapid prototyping with PS+Slicy+UISS combo. Is that what you're looking for?
Our use case is not very common. We have an internal enterprise app (doesn't require AppStore approval) and would like to be able to 'update' the apps style/images (and possibly layout) at any time without requiring everyone to install a new version of the app. We'd probably want the image to cache (based on name or size, etc) so that they don't need to download every time.
I might add this to 2.1, but 2.x will be iOS7 only.
The easiest way to add this feature is to add your custom preprocessor that looks for URLs, downloads assets to its internal cache and replaces URLs with local paths.
Warning: live reload uses private API, but since you're not going through the App Store you should be fine. Take a look at the code that depends on UISS_DEBUG.
Is it possible to set a background image (or other image) from an external URL so that it's possible to update/change images on the fly as well without having to have them already be packaged in the app? If not, would there be a recommended way to do something like this - for example, download a new bundle from an external location and then use the bundle to set the image?