How to text data from website [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hi Im currently developing an app where I have some text which informs the user about something. This information is also on my website and what i want to do is when i change the information on my website I also want the text in my app to change. I know that you can create a backend tableview with for example parse but that's not what Im looking for. I've done som research and think what i need do to is use JSON in some way to display the text from my website in my app. Pleas comment If you don't understand what It s that Im trying to accomplish. If you could either link a tutorial or explain how/if this is possible I would appreciate It very much!

you can make a json call from your app to a url and have a script or file in your website that returns the information you want, this will make it easy to change it in future. then use the same script as the basis ( again using a json call) to get the text for the specific webpage.
It's difficult to answer more specifically since you've mentioned no technology base for your website.

Related

ASP.net wepage using spotify [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am very new to ASP.net. I am trying to build a webform that searches an artist and displays their top 5 songs from spotify. My biggest problem as of now is figuring out where to put the code and what code to use so that I can receive this data from spotify. I have already made a spotify developer account with an app. I have the client ID and Client Secret. I think I need to figure out a way to authenticate. Any help or websites that could point me in the right direction would be greatly appreciated.
Why not read the actual Spotify API docs, it will have everything you need.
Just looking at https://developer.spotify.com/ the entire top of the page is trying to push you to the docs and I'm even seeing they provide web console to test out code and ideas.

JIRA Rest API - getting the list of all Projects and all issues within each project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
what is the correct https link to get JSON data for all the projects at once?
the current link to our dashboard is like this:
https://company.atlassian.net/secure/Dashboard.jspa
Would like to get all of the projects then use another https call to get all the issues for all the projects. Then after that of course look at assignees etc etc. Looking to collect this data to put into an iOS app for R&D purposes.
I am coming at this blind but I have no idea if I also need someone to set up permissions to do this or something. Never used this API before so just doing some discovery here.
You have to speak with the API :)
https://docs.atlassian.com/jira/REST/latest/
Let me know if you need further help.

iOS best way to store images [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
So, i just want to know what the best way to display image from URL.
I have to display few post from the server into my iOS app using UITableView with title and image in it.
I had already created the WebServer for my app and fetching is done through TBXML and using Core Data to store the title and description from the server.
and i saw some library available to cache the image like https://github.com/path/FastImageCache
Now my question is that how can i display image from the URL ?
And what is the best method to do it.
Thanks
The best way is to write your own code. Using a library will work but it will be generic and by definition slower than what you can write for your specific use case.
You are far, far better off learning the few lines of code it takes to download an image and display it. Learn how to use a NSURLSession. Learn how to consume NSData and turn it into a UIImage. Learn how to use a NSNotification or a block to propagate the loaded image to your user interface.
Your code will be stronger and you will become a better developer.

How can you automatically translate a page on load? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Google Translate. Bing Translate. You can add a widget. You can select "Spanish" and the page will translate to Spanish.
I do not want to user to have to select "Spanish". I want the page to load in Spanish automatically. Never mind why I want these things. They are necessary parameters.
You could start by looking at navigator.UserLanguage in javascript. It's not entirely foolproof, but it's a good starting point, and provided the users aren't messing with what the navigator object actually pulls (fairly easy to fake) it should give you a reasonably good start.....you don't really have what language(s) you're using on your page tagged, so it's sorta hard to provide specific help.
Reading the documentation might help http://msdn.microsoft.com/en-us/library/dn341982.aspx#feedback

Writing formatted text to a file iphone [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am looking to export data that a user creates in my app in a formatted style. What I mean by this is I would like it to have capabilities like a word document with centered headers, larger font in certain places, etc... In the end the user will be emailing the document, which is why I would like it to look nicer than a standard plain text document. There has to be a way to do this right?
If you could point me in the right direction to get this functionality that would help me a lot..
Create an HTML document with inline styling. You can then use that directly in the body of the email message as an HTML email (I know they can sometimes be frowned upon).
But to be honest, that'll be the quickest way to achieve what you are after.
maybe can you give a look at:
http://www.cocoanetics.com/parts/dtrichtexteditor/
https://github.com/enormego/EGOTextView
https://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUI/iPad/Examples/TextEditor/
and this apple documentation:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/AttributedStrings/Tasks/RTFAndAttrStrings.html

Resources