Subscribe ( )

iPhone Programming Tutorials


 

Forum

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

e^i -1 =0

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

e^i -1 =0

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

Search 

About the iCodeBlog forum

Most Users Ever Online:

44


Currently Online:

2 Guests

Forum Stats:

Groups: 2

Forums: 6

Topics: 419

Posts: 893

Membership:

There are 934 Members

There has been 1 Guest

There are 2 Admins

There is 1 Moderator

Top Posters:

bobcubsfan – 54

crazyiez – 30

Uhu – 17

AdeC – 17

Nick – 15

jitesh61 – 12

Administrators: Brandon (88 Posts), Collin (0 Posts)

Moderators: VertigoSol (26 Posts)



©   

  • Posted by on 6 Aug 2008 in Uncategorized
  •   |  
  •   |  
  •   |  
  • Comments Off

Comments are closed.