Updating UITableView Information Externally (iOS) - iphone

I checked out an app the other day (Rutter's) and it had a tab in it's tab bar controller called "Deals." They update the deals once or twice a week and they show up in the app for people to use. It's in a table view.
How do you update information for an app after the app has been created and uploaded (particularly a table view)? I've tried to Google it but have no idea what to even search for. Where does the app get it's external information from? I don't need a full explanation if it's really complicated, just an idea of what to search for and read up on. Thanks!
P.S. I'm assuming this is also the way an online magazine or journal works with their iPhone app (in the way that they when they put a new article up on their site it immediately populates on the app).

as far as my knowledge whenever they are opening the app,then it is connecting to the server and get the information .Once getting the information you can display in any format.

They probably just send an http request, then format the results into a table view. Some apps even use a cached webkit view instead of fancy native UI.

Related

iOS 7 CRUD Application - Interface to input data

guys!
I've been studying iOS development for a few days, and I wanted to create a CRUD application to make sure I am understanding the concepts.
Well, I wanted to create a interface to input data similar to the Phone app, where user can insert a new contact. In my understanding, it seems to be a table view. However, every tutorial I find about table views are related to displaying data and not inputing it. Am I right?
I'm not expecting any code sample or anything like that, I just want to know how can I provide a good experience similar to the one in Phone App.
The Contacts app on the iPhone is built on UITableViews. Apple does not provide any guideline for your question. Use them or don't, it's up to you.
It might be quicker though to use a UITableView in your case, as you may need to present/edit much information and the scrolling would already be handled by the system.

Making web browser without features in iOS 5

I'm very new to iOS web programming so I need help.
I want make an app which shows a map with stores (I actually made it with MapKit) on 1 tab of Tab Bar Controller. On 2-4 I want provide some info (sales, news, new arrivals, etc). I think I could make 3 web browsers without any features, such as: search, url, back and forward buttons. I'll load prepared URLs and show info without downloading it.
My question is: can you make a web browser in such way? If so, tell me please how or give a link.
UIWebView is what you are looking for. You can create viewControllers with webViews and add them to the tabBarController to get what you want.

Website Forms to iphone app

I've been researching for ages and still cannot find an easy solution that perfectly. So i stopped and figured i was going about this project the wrong way. All i need is an easy solution.
My project requires me to make a website that has forms (fields include images, text, urls, colors). When the user submits this form, somehow (THIS IS THE KEY QUESTION), gets sent to Xcode so that it can be used in and iPhone app.
My questions: What is an easy to use program to make a website that can do what i said? How does my website connect to Xcode (supply it with the data)? Is it possible for my app to check for newly submitted info?
Keep in mind that i don't have much coding knowledge as far as websites and i only a little about making iPhone apps (Yes, i have made some but not as advanced as this)
Thank you in advance!
It sounds like you want to build an IOS app that can retrieve user submitted data from the server.
Your form will have to post the data to the server where it is stored in your database. Images will have to be uploaded to the server as well.
You can then build a server-side api that returns data to the IOS device upon request. You can have your IOS app regularly request data from the server, receive the response and store what you need on the device.
There is a lot more to it of course, but from what I can gather from your post, this is what you're looking to do.
The workflow you describe doesn't make any sense.
It starts out easily enough: you have a website that has a form with a submit button. No problem there. Hitting submit likely does a POST to a server somewhere. Again, no problem.
Then you say the form data has to ultimately end up in Xcode. This is where things are really muddled. Xcode is a programming IDE for Mac OS X. I'm not sure how or what it has to do with handling data from a Web form. The two things are, for all intents and purposes, completely independent technologies.
Please describe in much more detail exactly why you think you need to "send data to Xcode". Otherwise, your question, as written, is unanswerable.

Opening one app from another app without closing the app

In the home page of my iphone app, there is a button added. When that button is clicked some other iphone app needs to be opened in a new viewcontroller (with out closing the parent app).There will be a back button on this view controller. When the back button is clicked, the new viewcontroller which is showing the another app needs to be closed and our parent app's home page needs to be shown.
Please give me some ideas on how to do this. I googled for this i didnt get any solutions.
Thanks,
Raja.
-- the following applies to iOS versions previous than 4.0 :)
Actually, there can be only one iPhone application running at once (with exceptions of Safari, Phone and some other system applications). The iPhone Human Interface Guidelines say so:
Only one iPhone application can run at a time, and third-party applications never run in the background. This means that when users switch to another application, answer the phone, or check their email, the application they were using quits.
However, if you only need to e.g. show a webpage, you can do it using UIWebView
Also, if you need to open another application, you should use URLs as pointed by Steve Harrison. This will, however, close your application. The recommended behavior in this case is to remember your application state and restore it when the application is run again, as Nithin writes.
According to apples documentation, they are not allowing any applications to be run in the background, except system generated ones. So you will be unable to do the thing you are going to implement. However, there is one thing that can make the same result.
You told that you are calling other application to run on a button click. Before initiating that application, save the current state of your application, may be using sqlite3 or core-data, and then open the other one. While returning back, load the pre-saved data from the database or wherever you have stored it. Every time you start the application, you check for the persisted data, if exists, load it or otherwise load your basic view
I don't think that you can run other iPhone apps within your own one. It doesn't make sense. You can open another iPhone app via a URL (see here and here), but this will close your app.
Like it has been stated: running two apps is not allowed by apple. You can however implement this apps features into you're app and have both get and save data to the same server...
Or like Nithin said: this functionality is available on JB iphones. Look into "backgrounder" for implementing one solution for normal users and one for thouse that has jailbroken.

retrieval of AppStore charts via API?

i'm looking to query the itunes appstore charts to determine what position a given app holds.
this would need to go as deep as possible with a view to tracking an apps movement from launch to appearing in the top 100 and further.
any ideas?
You can get the top 200 apps, podcasts, etc. from the iTunes RSS feeds:
http://itunes.apple.com/rss
edit: The iTunes RSS feeds now limit you to the top 200. Up until a week ago it would return the top 400
There are plenty of sites out there that do this, but they all operate via some flavor of screen scraping. Apple has no API for this, and I doubt they ever will.
The app store data is in XML format. You can use any number of parsers — click on the search field in the top-right corner of the Stack Overflow page and type "iphone xml parse", for example, for questions about how to parse XML on an iPhone.
Apple will likely reject your application if you use it to scrape the Apple sites directly as it violates their Terms and User Agreement. If you want to do an app like this, I suggest setting up your own service that scrapes Apple, then use the iPhone app to connect to your own servers.
As mentioned below there are plenty of good ways to grab the data. See here and here
If you're interested in checking whether an app is being featured on the App Store homepage a category homepage, in What's new, What's hot or Staff picks, you might wanna have a look at a script I wrote:
http://www.futuretap.com/blog/scraping-app-store-featured-entries/
This will give you the top fifty songs:
https://itunes.apple.com/us/rss/topsongs/limit=50/json