Does TinyXML (or something similar) work on the iPhone?

Member
Posts: 249
Joined: 2008.10
Post: #1
Hi friends!

My game is in C++ and I want to avoid using Cocoa/Apple libraries (just portability questions). How can I parse/read and XML file? Do you think TinyXML library works without problems on the iPhone? (or any other similar library)

Thanks a lot.
Quote this message in a reply
Member
Posts: 65
Joined: 2009.03
Post: #2
I've used KissXML on the iPhone for a game project that needed XML capabilities. It worked fine and seemed fast as well.

MikeD

iPhone Game Development Blog - 71Squared
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #3
MikeD Wrote:I've used KissXML on the iPhone for a game project that needed XML capabilities. It worked fine and seemed fast as well.

MikeD

Thanks for reply. Can I use that library on windows (vs) and/or linux (gcc)?
It seems it has been created usign Obj-C, am I right?

Thanks.
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #4
No reason why tinyxml should not work.

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Member
Posts: 177
Joined: 2002.08
Post: #5
We use TinyXML extensively and there are no problems with it.
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #6
Mark Levin Wrote:We use TinyXML extensively and there are no problems with it.

Thanks a lot. BTW, are you using std::string or char* version?
Quote this message in a reply
Member
Posts: 177
Joined: 2002.08
Post: #7
char * primarily (it's a cocoa project), but the std::string paths definitely work.
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #8
Mark Levin Wrote:char * primarily (it's a cocoa project), but the std::string paths definitely work.

Last question, I promise you.

Did you include all code in your program or did you create a static library (.a file)?

Thanks.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  The ps2 Kinetica or a similar game to this would be awesome!. HighRowBeatz 0 970 May 12, 2014 05:22 PM
Last Post: HighRowBeatz
  Why bluetooth games do not work on iPhone 2G? riruilo 13 8,922 Mar 31, 2010 07:53 AM
Last Post: alibaba123
  OpenAl + mp3 (or similar) majin 4 4,747 Oct 4, 2009 12:03 PM
Last Post: AnotherJake
  Online high scores and similar Madrayken 12 6,414 Aug 6, 2009 01:54 PM
Last Post: morten795