Alex Rivera | Logout

Any XML binding frameworks for Objective-C?

Asked 2010-02-14T19:28:06.013
13

Is there any XML binding framework for Objective-C?

I've tried a few searches on google and didn't find anything yet.

I'm looking for something that reads from a XSD/DTD/XML and generate:

  • the Model classes to store values
  • the actual parser that reads from the XML and populate the model classes
Edit
Report

1 Answer

0

If the format is not important for you, you can use plist format ! This is a XML with DTD some different !

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">

However you can read directly this plist with NSDictionary (read NSDictionary documentation). It's so powerful and quick! No additional framework.

answered 2011-04-27T10:30:48.227

Your Answer