Is there a way to show all the App Store products from a company? - app-store

I tried SKStoreProductViewController but it seems it can only show one known products.I looked through the document of Search API and can't find a way to do this either.
Of course, I can do this by establishing my own database and put it in my server. But it would be better if I can do it in Apple's own way.Or is there a way to get the RSS feed for this?
Does anybody have any suggestions? Thanks

The Search API can help you do this - you just need to know the "artitstId" for the company.
Try this:
Lookup the "artistId" for a specific developer, I pulled it by looking up a single product by that artist.
http://itunes.apple.com/us/lookup?id=533451786
Now use the lookup API for that specific "artistId" and make sure to ask for the entity you want returned.
http://itunes.apple.com/us/lookup?id=298910979&entity=software,iPadSoftware,macSoftware
You can do the same for a Music artist as well. Suppose you want all albums by Adele.
http://itunes.apple.com/us/lookup?id=262836961&entity=album

Related

Flutter cross-platform application, load user specific functions

I am creating my first Flutter-application. I was wondering if there is a way for me to let the user choose what function he/she wants. Let me give an eksample.
User1 would like to get information about the weather, while another user (user2) would like to se information about the latest news.
My problem is that i would like to load these pages from an ekstern source.
I was thinking about using a WebView and retrieve a html-file from my server, but is there a smarter way of doing this. Maybe a more native way?
I have a hard time explaining this one, but i hope someone have a clever idea.
The proper way would be to create some API endpoints (read "links that return some info") like myserver.dmn/myapp/weather , myserver.dmn/myapp/news , return data in JSON format, and use this data to build native views. I advise to read something about solutions like Firebase or Parse-server to get familiar with what are you trying to achieve. For a simplest api to play with i advise "express"

Externalizing a datasource for creating content to be used on ios app

I hope that my title is descriptive enough. I am planning on creating a directory application for my town however I would like to to be a fully offline experience.
The idea would be to offer businesses a yearly subscription for listing their business in the directory.
My concept would be to create a web interface where they can pay for their subs and then enter all of the information into a their profile listing that would then be saved into a sql db.
I am wondering if it is then possible to take this sql database and then use it in the application by saving it into the application directory some how.
Basically my question is how could I do something like this? what is the best way to get them to enter their own information then me somehow build that database into the application?
Its not certain that I will even end up doing this but I am just really intrested in how to generate my own content for application like this that I can then use strictly offline.
Any help would be greatly appreciated
In my opinion , need to create some web application that provide information each specific client and client need to sync some update information with server and do caching.
If there is no need to update , use your cache . and If there are something to update . try to decide what is need to update and show them.
hope it helps you

Sending Data to Website From iPhone

I'm creating an iPhone Game where I want the user to get a unique numeric code when they first launch the app, that way when a friend of that user opens it, he/she can input that code and both users can get rewarded. I haven't encountered any issues regarding that, however what I want to do is make it to where the app registers the code given to every user and saves it to a website of some sort. That way when the other user enters the code, it will load the data from that website and check if it's registered. How would I manage to save the data onto a website? and also What free website could I use for this without having a character limit on the body page?
-Thanks in advance
Your thinking is correct, in that you need to save your data somewhere online, but you don't really "save data onto a website" in the way that you're describing. "Free Website" services usually serve a different purpose entirely - that of serving up public html pages. Sure, they can take the form of a CMS (like wordpress.com or tumblr accounts), but using that as an interface for storing your application's data is not something they're typically designed to do.
For something like this, where you have a public iPhone app that requires secure access to custom strings, you really want to have control over your own web server (different than a domain name, btw), and interface with a database on that server. This will come at a cost, and will involve more code than you're likely to find someone to write for you on here. Sorry to say it, but hey if someone wants to prove me wrong I'd love to see it.
Because all you need to store & retrieve are random strings (basically referral codes... if I'm understanding correctly), your database needs are pretty simple. If you're not familiar with things like PHP / MySQL, and you don't want to learn, it might be worth reaching out to some server-side developers for help. Unless there's more to it than you describe, you can probably find someone to help you for relatively cheap.
Good luck - and I'm sorry there isn't a simpler answer for ya.
You can send data using NSURLConnection. Just create an NSMutableURLRequest and call its -setHTTPMethod: method with “POST” as the HTTP method. Then, set its body and header fields appropriately, and you can use NSURLConnection to send the data.

Most efficient/recommended way to access a catalog?

I want to create an iPad application that is pretty much just a catalog of products(say for example, cars) I will have around 500 products total, and each product is pretty much an image that will load up when the user requests it.
example:
Product_ID: 124
Name: 'myImage.png'
User types a product id, the image will show up on a UIImage.
I was wondering what would be the smartest approach to this problem? I was thinking about SQLite or NSArray. Where the id would be the product id, and the value would just be the location or name of the image to load. Creating a cache document folder? Any suggestions from people that have already experimented and created similar apps?
I'd add the meta information like ID and the name of the image to a sqlite DB and manage it via CoreData, which has some very powerful ways to access the information.
The images themselves should be stored outside the database as I assume that they are not just thumbnails.
Best way would probably be Core Data. It has built in caching, so you won't have to worry about that. Here's a get started documentation: Introduction to Core Data Programming Guide. There are also a lot of tutorials online, but Apple has really good start up samples.

iPhone SDK & MySQL Remote Database

I've tried looking around but honestly not finding much help. I am mostly seeking for advice as to how I should approach to develop what I am thinking.
I want to accomplish something like this.
Imagine a website, with a backend database. This database contains information fed by users themselves. The website is fully functional, now I want users to be able to have the same functionality on their iPhones. I don't use a local database because I want all users to be able to have access to the same database, and this changes constantly.
What would be the best approach to:
Allow users to access all the information currently available on the website (database perspective).
Able to edit & add new entries to the database
I don't know if me creating an array to hold all this data would be wise to do. Specially with large amounts of data. I dont know how well it can scale.
Should I create a duplicate SQL lite database on the phone itself duplicating that of that website? What do you guys feel would be a good approach to this?
Comments, links, references would be greatly appreciated.
Thanks!
Sounds like the perfect time to create an API for your website. If the size of you application is not very big, you can use the same database, but would be good to run the API separated from the web server.
Essentially, such an API should allow you to make requests to certain URLs for retrieving, updating and deleting information from the database.
Depending on what server-side platform you are currently using, there are many options.
Client-side, your iPhone app can use http://restkit.org/ or http://allseeing-i.com/ASIHTTPRequest/ if you feel confident.