nicklockwood/iPrompt — pull request #1 by simonmaddox (2013-01-28 21:02:18+00:00)
Title: Allow iPrompt.plist to be updated remotely

I was writing this same feature tonight when I came across this project. The only thing missing for me was to be able to change the prompts once the app has shipped (for example, to notify users of an important update).

This pull request copies the iPrompt.plist file from the app bundle directory to the Cache directory (where it can be overwritten later). When you call:

```objc
[iPrompt checkForUpdatesWithRequest:request];
```

It'll fire off an NSURLConnection, download the latest iPrompt.plist and overwrite it on disk. It'll then be read in on the next launch.

In an ideal world, there might be some logic to say "only allow updates every x days", but I didn't need that feature.