Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Since i'm quite new to XCode programming (2 days in, lol) and i can't really find a way to formulate my problem in the searches, i would like to ask if you have some tips to my idea.
I've made a website in ASP, which contains some buttons, so say that if you click a button, it puts some random text in a form. Now i'm building an XCode iPhone app which contains a button that after it has been clicked, runs the same code as the button on the ASP site does, followed by collecting the resulting output from the form into a new form on the iPhone.
In a language like Powershell i would just open the site, getElementByID and Click() the button, capturing the form output into a new variable and displaying that. However, i noticed Objective C is a little different than that :D
Any suggestions/tips/pieces of code i can fiddle with? I did find some sites that i think described this, (SOAP/JSON) but i'm getting lots of side-code of stuff i don't want in my app, i just need to test this for starters.
dljefferyPosts: 1,311iPhone Dev SDK Supporter, Registered Users
Xcode is just an IDE, so, no, it doesn't interface with ASP, nor should it.
However, if you are trying to interface with some website from an iOS app, then you can certainly do that.
Although from your post I'm not sure if you are trying to interface with a website or just trying to accomplish the same things outside of the website? If you are trying to interface with the website, I'd suggest looking into ASIHTTPRequest. If you are trying to interface with the contents after loading them, look at the UIWebView docs, especially the stringByEvaluatingJavaScriptFromString method.
Recall It!Tag your notes. Tag your photos. Tag your thoughts. Tag your life.
Thanks a lot dljeffery, i was looking for something like ASIHTTPRequest, googling that gave me some more information on what's required to build this. I'm trying to interface with the website, since it gives some output data from the local machine on which the script was ran through the ASP page. Thanks again for your reply, i'm going to puzzle on.
Replies
However, if you are trying to interface with some website from an iOS app, then you can certainly do that.
Although from your post I'm not sure if you are trying to interface with a website or just trying to accomplish the same things outside of the website? If you are trying to interface with the website, I'd suggest looking into ASIHTTPRequest. If you are trying to interface with the contents after loading them, look at the UIWebView docs, especially the stringByEvaluatingJavaScriptFromString method.
Recall It! for iPad
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome