i have app queries web service, , need parse xml response. got , working nsxmldocument, until installed device , find out iphone os doesnt have nsxmldocument @ all. boo. since more or less screenscraping html, nsxmlparser's event based parsing model seem huge pain in butt.
read people we're having luck touchxml, documentation leaves bit desired.
http://code.google.com/p/touchcode/wiki/touchxmlhowto
can't figure out how use @ all. a
code:
#import "cxmldocument.h"
and 254 build errors. have added source project, , finding files, cant seem find huge amounts of constants , files "libxml/tree.h"
says import "touchxml.h" there no such file in source. says "add following lines project configuration"
code:
other_ldflags = -lxml2 header_search_paths = /usr/include/libxml2
but i'm not sure in xcode? i'm sure simple thing, can't quite figure out. help.
[edit:] ok, figured out how declare config variables using search field of project info > build screen. sadly, still seems libxml cant found.
i can't touchxml in same boat , found following thread supremely helpful!
http://forums.macrumors.com/showthread.php?t=499671
references nsxmlparse , 1 (only?) part of nsxml* made on iphone... it's simple once hang of it. consider myself 'just above entry level' cocoa programmer , took in flash.
sure had rework program wasn't bad...
dave
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment