Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Halfdan

macrumors newbie
Original poster
Dec 4, 2011
9
0
Hello guys!

Is it possible for an iPhone app to collect different ''quotes'' etc. from a fx. blogspot?

I'm creating an app that should give me a sentence everytime i hit a button on the app.
Instead of creating thousands of windows in storyboard i was thinking that there maybe was i code that would help me alot.
I'm thinking if i write 1000 sentences etc. on a website, blogspot etc. are there then a code that could bring up a random sentence from that site?
 
1000's of windows?
You don't have alot of experience with MVC etc do you.
the thing is, you can have 1 label, and each time you press a button repopulate it with new text that you have in a dictionary, or whatever, and just pick a random entry..
 
Ha

Ha, no i don't!
Thank god, i think you just saved me for alot of work and computer-stress.

Can you write more specific how you do that? ...would be a great help!
 
Hello.

Hello.

I didn't ''educate myself'' - i'm just having some fun wandering around the apple-developer-world and see if i can produce something.... working ;-)
 
I think you should take a step back, and just check into some basics, ofcourse you will get something working slurring some code together, but it won't be.. anything near good, or apple store matter. even for your own phone, since it will crash all the time.
You need to know basic OOP stuff like, what are objects, what are properties, what are arrays, what can be done with for loops.
Just some examples ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.