Jack
Jack

Reputation: 9784

Generating a PLIST file - to be read by Objective-C - via PHP

The title sums it up. Would that be possible, as in, is the data structure of a PLIST file possible to generate efficiently via PHP for an Objective-C app to read? Or, would a different format like XML be better?

I'm more keen to go with PLIST as I hear it's easier to parse from Obj-C, and won't require any external libraries (this is for an iPhone app, not Mac - where I'd just use NSXMLParser or whatever it's called).

Upvotes: 0

Views: 3509

Answers (1)

kennytm
kennytm

Reputation: 523614

Of course it's possible. The plist format is well-documented. Further more, one of the representations is in XML format.

You may want to use this library: https://github.com/rodneyrehm/CFPropertyList

Upvotes: 5

Related Questions