Monday, March 2, 2009

Note

So found some stuff on how XML parser works in Cocoa. Apparently the parser is only designed to use a delegate for callbacks when it finds elements. This makes things a little interesting when creating stuff but it really should be a problem. Pretty much need to use a NSXMLParser along with NSData objects to parse / read in file. Also found that the developer documentation on the apple (http://developer.apple.com/documentation/Cocoa/index.html) is very good. Gonna start using that more often.

Additional Note: The delegate is just one object that could possibly implement all the callbacks. So you just assign it this object.

No comments:

Post a Comment