Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

from an absolute beginner

User Post

3:50 am
October 5, 2008


mobbarley

Noob

posts 2

1

I have wanted to develop an iphone application for quite some time and have finally found some motivation to start the learning process - a university programming project. In the hunt for tutorials I found this site very useful because of its simple tutorials (which I am slowly working through), but most of all the examples are built in the latest version of the SDK!! Other tutorials on the net aren't and the older templates they reference dont exist - a headache for someone with no objective-c ability.


I want to build an application that receives and XML file from a web service, then builds a list with objects that have controls (either on/off, or a slider) depending upon data from the XML, and then when these controls are toggled have it perform a http post or similar to update the web service.


I havent seen a tutorial from you on XML yet, but it is alluded to in the “Populating UITableView” tutorial. Can you offer any tips on where I can find information about parsing XML and generating controls like the on/off switch dynamically from code?

1:49 pm
October 7, 2008


VertigoSol

Moderator

posts 26

2

I have done this feat in Java before but not in objective-c

1:52 pm
October 7, 2008


VertigoSol

Moderator

posts 26

3

I have done this feat in Java before but not in objective-c.  My Guess on how you would accomplish this is retreive the XML from the net then with the parser handle all the different widget elements like UITableView , UIPicker, UISlider … etc . I know that cocoa-touch has some support for dynamic widget creation beacause they do it for their NSUserPreference windows.  Too bad there is no easy widget bean creation like there is in java . Ill poke around and get back to you. For XML Parsing look at NSXMLParser it is a simple non-DOM parser that was very easy to setup and use

5:08 am
October 14, 2008


mobbarley

Noob

posts 2

4

Thanks for the tips. I'm doing the research for this one now.. wish me luck Yell


About the iCodeBlog forum

Currently Online:

1 Guest

Maximum Online: 44

Forums:

Groups: 2

Forums: 6

Topics: 328

Posts: 771

Members:

There are 730 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 54

crazyiez - 30

VertigoSol - 26

AdeC - 17

Uhu - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)