Kreuzberg Kreuzberg - 1 year ago 93
iOS Question

Free and easy way to dynamically update/send text to released app via internet?

I would like to be able to send text to/update a Label in my App that is already released whenever I want to via Internet. It really just needs to be a little text, like one or two sentances.

I was doing a lot of research on how to achieve this.

Twitter - use a Twitter Account to post the text and get the post from inside the app ? - Just found solutions to read the user Account that is currently using the app (but should be my own account where i can post, and that post should be shown in the app to everybody) and need to be locked in Twitter in System preferences. If you want to read "foreign" account you need to integrate fabric - sign there... very complicated... !?

Podcast ?

Just get text from anywhere via NSURLSession - I have no Website to put the text on... !?

Use Restful Service ? Is there any free web service I can just write two sentences and they could get loaded into my app?

So I am not asking about how to implement NSURLSession or so, I just wonder what would be the easiest and free way to provide text somewhere in some format from where my app could download the text and update a label? I don t really want to pay for a service or a website just to write two sentances from time to time, from where I could download it into my app...

Thanks for ideas

Answer Source

One option would be to put a text file in a Github repo. Github provides a link to the raw file, so your app could pull from that URL.

If you want to do this through the web interface, you can follow these steps:

  1. Create an account on, and log in.
  2. Click the plus (+) in the upper right to add a new repository.
  3. Pick any name for "Repository name".
  4. Check "Initialize this repository with a README". You need this to make it easy to edit online.
  5. Click the green "Create repository" button.
  6. Click "Create new file".
  7. Fill in the file name.
  8. Enter whatever text you want for your app in the body of the file.
  9. Click the green "Commit" button at the bottom.

Whenever you want to edit the file, you can click on the file name and then click the pencil to edit it.

You can get the link to the file by clicking the "Raw" button (when viewing the file) and copying the URL from your URL bar. It should be something like<username>/<repo>/blob/master/<filename>.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download