Difference between revisions of "XIB"
Jump to navigation
Jump to search
m (→See Also) |
m |
||
Line 8: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueCoding/Articles/Overview.html Apple on KVC] - Encoded objects must be KVC complient | + | *[http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueCoding/Articles/Overview.html Apple on KVC] - Encoded objects must be KVC complient |
− | [http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html#//apple_ref/doc/uid/10000177i Apple on KVO] -KVO explains how to decode KVC objects. | + | *[http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html#//apple_ref/doc/uid/10000177i Apple on KVO] -KVO explains how to decode KVC objects. |
+ | *[http://www.monobjc.net/index.php?page=xib-file-format XIB File Format Definition as understod by MonoObjc] |
Revision as of 08:41, 27 December 2012
As of MacOS 10.3 Apple moved away from the binary encoded nib files, and towards the xml encoded XIB files, for their interface definitions.
The xib file format is actually quite easy to understand, it is the responsability of the object encodeing and decoding, it to insure that it's attributes are read correctly.
Here is a commented example of a XIB file. For easy reading open it in a syntax highliting editor using XML highlighting.
To provide cross platform compatability, review the "XIB fields" section of the gnustep wiki article on the interface you intend to provide a codec for. Also be sure to read the apple article on KVC.
See Also
- Apple on KVC - Encoded objects must be KVC complient
- Apple on KVO -KVO explains how to decode KVC objects.
- XIB File Format Definition as understod by MonoObjc