• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: programmaticaly modify .nib files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: programmaticaly modify .nib files
      • From: "Frank D. Engel, Jr." <email@hidden>
References: 
 >programmaticaly modify .nib files (From: Pierre Chatel <email@hidden>)
 >Re: programmaticaly modify .nib files (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: programmaticaly modify .nib files
  • Next by Date: Re: NSTextView - text wrapping
  • Previous by thread: Re: programmaticaly modify .nib files
  • Next by thread: Re: programmaticaly modify .nib files
  • Index(es):
    • Date
    • Thread