I'm trying to create an app that dynamically refreshes the information for tabs on the player page from a server in the exact same manner that the Youtube app does it for IOS. I'm unsure of where to begin since I'm really new to IOS programming. I've read some documentation but there seems to be alot of different ways to approach this. Any suggestions?
Related
I am creating an RSS Reader ios app for work and I have everything that I need except that when the article is loaded it just loads the mobile view just as it would load when viewing on safari. They want it to look more "native" to the app, meaning just the title, photo and then then the articles text in plain underneath.
This is my first attempt at an app and I am using a project that was open free source code. This project uses MWFeedParser integrated into it which, from what i've read, can accomplish what I need to (I think). Can anyone who has done this before or knows how to do it be kind enough to take me through it? I've asked a similar question before but the answers were vague and still left me stuck.
If it helps, I have uploaded the full project on github here:
https://github.com/cpoti24/RSSReader
Please download it if you wish and run it yourself on xcode if that will help out. If you're able to do it and help me learn how, even better.
Thanks!
I'm creating a app where i'm scraping news and then showing them it an app. However i've experience some issues with news containing tables or other complex structure which is not possible to show in a ios application. There for i'm starting to think that it might be better just to create the news in html5 and then show them in a UIWebView. However how viable is this? or is there any better solutions for such?
Create the news in html5 and then show them in a WebView: is good way .. but you have to strong in html & javascript to handle scroll & contain display issue/ ready to compromise with image quality / know to handle java script call in native / can able to work on safari->develop-> debug .
Easy way : If you try in iOS you will find solution for complex structure display .
Alright — this sort of question shows my naïveté but I am asking it nonetheless so I don't venture down the wrong rabbit hole while trying out this app.
I'm making what amounts to a news app. Imagine taking a Wordpress blog and fitting it to iOS. Now, here's my question — what sort of feed / architecture should I be using to push information from my Wordpress server to my app? I would assume RSS using AFNetworking, but that seems to cause some rough edges, and all tutorials that I see end up pushing to a web view instead of a scrollview with nice, rendered text. Plus, none of the same tutorials seem to have anything further than the initial feed (loading more than the initial 10 stories given, for example).
I've already committed a few hours to trying the RSS / AFNetworking approach, but is there a significantly better alternative that I just haven't come across. (Note that I do have access to the back-end of my Wordpress site, i.e. it isn't somebody else's)
If you are building an iOS app that connects to WordPress, I suggest you to access the website data by an API instead of feed, then you can hit the API from your app and manipulate the data as you want.
If you have access to the WordPress backend, check the Thermal API which is a plugin that will probably solve your problem.
Cheers,
I would suggest that you look at https://wordpress.org/plugins/json-rest-api/ this is to be added to the core of wordpress so it would seem that is the way to go I think.
By the way I am working on the same type of thing as you.
I think the most popular Wordpress API is the one that comes with Jetpack. You can find its documentation here: https://developer.wordpress.com/docs/api/
If you just want read access, then i think the easiest way to do so is by using: https://github.com/evermeer/AlamofireJsonToObjects/blob/master/AlamofireJsonToObjectsTests/WordpressTest.swift
If you also want write access, then you have to implement Oauth2. For that you can select a library from: https://cocoapods.org/?q=oauth
I have already watched Apples's WWDC 2010 video of Building a Server-driven User Experience.
It is really a great concept but i need a simple example or tutorial to start with.
I have searched hours in Google for iOS Dynamic UI generation from XML or JSON based web services but didn't find anything useful so far.
More Information:
I am developing an iPhone application where i present user a Input Form like questionnaire with different types of question with different UI Controls to answer like Text Field, switches, image, audio, video etc.
Now I have different questionnaire for different user, I want to generate them dynamically and also store completed form in Core Data.
Any help or guidance to solve this problem will be greatly appreciated.
Thanx
have you seen heroku's Core Data Buildpack video?
http://mobile.heroku.com/
Does anyone have any ideas how I could package an external interactive slide that could be dynamically loaded by an iOS app? Is it at all possible?
e.g. Imagine having a presentation app on an iPad. There is a set of interactive slides held on the web somewhere, let's say they contain draggable elements.
Can I load one of these slide objects into the app and interact with it? If so, what format would the slide object be?
Thanks,
Mark
Technically it's possible to dynamically load bundles (NSBundle) components in an app. These bundles could even contain executable code, though AppStore guidelines prohibit use of dynamically loaded NSBundles in this way for security reasons.
Additionally you could just use a UIWebView to display some 'slides' on a webpage, though it will be very hard to make the app behave as if it's the same as the native slides - perhaps even impossible (due to how rendering of webpages work compared to native controls, for example).
Ok so lets say you have these "external interactive slides" on a web server somehow. Since you are not saying they are of a certain type (like powerpoint or such) I will just assume that these slides are of some rare format that is probably not supported by any existing apps or the Safari browser.
Then the answer to your question would be: Write your own iOS-app that can read, present and edit these slides. What format are they? Well it doesn't matter. Write an app that can download the slide data from the data and parse it, and present it on the phone.
Then let the user interact with it, and perhaps make the app upload the changes to the server.
You can do anything you like in your app, there are no limits. You just have to write the code for it. If there was some kind of standardised format, lets say you wanted your app to show powerpoint presentations, then you would have 3 choices. Use someone else´s app, or write your own app with a parser for the powerpoint files or make your own app that use some code that someone else wrote to do it (a third part library that you include in your app)
In your specific case, I can not tell if there are any third part librarys to interact with your slides, but my guess is that you will need to do most of it on your own. You could start with looking at how the web services that interact with the slides online works, and if you can interact with them from an iOS-app that you make yourself.
There is nothing stopping you from creating an app, read the slide data into the app, present it in any way you like, let the user change it, save it in your app, or upload the changes to a server. It's all up to you =)
Good luck!