If you mean how to programmically build nib files I know you can. If you look into nib files they are just XML, and you should be able to find info on that somewhere.
Nib = next interface builder