OTGApps / rubymotion-inspect2014

Official App for the RubyMotion #Inspect 2014 conference in San Francisco - May 28-29, 2014
https://itunes.apple.com/us/app/rubymotion-inspect-2014/id863959924?mt=8
MIT License
34 stars 6 forks source link

Image cache invalidation #46

Closed markrickert closed 10 years ago

markrickert commented 10 years ago

This branch pulls a version number from the plist and if the version doesn't match the currently stored version, it invalidates all the cached images.

GantMan commented 10 years ago

I'm able to cause a crash in this branch only:

  1. Selecting a speaker cell and letting the speaker page load
  2. Clicking back
  3. Selecting any other speaker cell
  4. :boom:

This has been tested and confirmed after a simulator reset and rake clean:all

markrickert commented 10 years ago

Did you update the network.rb api constant to point to this branch before building?

GantMan commented 10 years ago

yup, it's pointed at RAW_PATH = 'https://raw.githubusercontent.com/MohawkApps/rubymotion-inspect2014/image-caching/resources/'

Still no dice. Are you not getting this error?

markrickert commented 10 years ago

Should be fixed now.

GantMan commented 10 years ago

looks good to me.