Re: programmaticaly modify .nib files
Re: programmaticaly modify .nib files
- Subject: Re: programmaticaly modify .nib files
- From: Ondra Cada <email@hidden>
- Date: Fri, 6 May 2005 04:10:43 +0200
Pierre,
On 6.5.2005, at 5:03, Pierre Chatel wrote:
On 5 mai 05, at 22:41, Ondra Cada wrote:
To change an attributes of an object loaded from a NIB you use its
documented API -- if it is a window, use NSWindow messages, and so
forth.
To change a NIB file there is no public API far as I know, short
of launching nibtool with appropriate arguments. What do you need
this for? Perhaps there's a better way.
yes, this is what i'm looking for. Change the NIB file. But from my
cocoa code.
I fear the options are pretty limited:
- nibtool: if its options are sufficient;
- controlling InterfaceBuilder externally: ugly and error-prone;
- cracking the NIB format: more error-prone.
Sorry, don't have a better answer. Again, what's the goal? Perhaps it
can be done in an easier way than changing NIBs? For example, if you
want to parametrize other applications, you have great options in
Cocoa: you can force your bundle to be loaded into a foreign app,
doing there whatever you want to...
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden