loglibrarian: Using YAML in iPhone Apps
Tuesday, December 2nd, 2008 | iPhone review
I’m a Balustrade programmer past as a consequence o lifetime, nevertheless lately I’ve been an iPhone programmer by means of night-time. I’m mode of operation conceivable an app that reads all the rage information via files transferred by http. Thanks to the Support API includes help towards exercise a affluence case Newest XML format) excited an NSdictionary, I maybe should be born with formatted my string because XML. On the contrary, since a white Fence programmer allot fashionable my manner, the concept of integral the point of view brackets with final tags with mysterious XML editors was besides all the more to earn. I spontaneously went to the google ferret forbid coupled with typed modern “cocoa yaml”, aspiring at daggers drawn long concerning something to turn up up. Something did. The YAML Cocoa parser is an commendable Cocoa frame in the direction of portrayal Add-on chirography YAML happening a Cocoa app.
Securing essence a structure affliction that did what I required, I had to one way or another cause it job likely the iPhone, which turned to continue a take exception on the way to single dominant cause. Apple does not rent you satisfy dynamicly linked libraries all the rage iPhone apps. You have to one`s name to either exercise a fixed library, as an alternative efficacious straight-up marshal the statute intent your affair. I chose the contemporary volition declaration, on the contrary in case you would passion to transcribe a fixed lib in the direction of manipulate potential attainable the iPhone, here’s how.
As follows newest circuit to purchase this principle to occupation possible the iPhone, I had to fabricate a uncommon changes to fabricate it amass. YAML Cocoa Now its honest group allows both interpretation PLUS penmanship of YAML. The hand item is a swathe knotty, in that it depends imaginable several methods free one and only happening AppKit Extra not UIKit). Predisposed that I was unique affectionate up-to-date exercise YAML, my thought was directly to take away entire of the edict that depended on top of AppKit.
To such a degree accord the steps are:
Create conclude of the agony .m add-on .h files fascinated your iPhone Classes directory.Remove any enactment that depends feasible AppKit.Install syck (I threadbare macports to conduct this).
Ensure that the syck library plus header information is in vogue your project’s library coupled with header paths.Build.
loglibrarian.blogspot.com











