🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2350

Re: IB question

#2350
From: Michael J. Hopkins
Date: Tue, 26 Jan 1993 15:27
48 lines
2305 bytes
In article <C1DrH3.FC6@ms.uky.edu> kevins@slow.inslab.uky.edu  writes:
>Michael J. Hopkins writes

< stuff deleted about the problem:
	Place an image in an app.
	Remove the image, and replace it with a new one with the same name
		(say you wanted to make some modifications)
	IB still shows the old image, and will not let you
		replace it with the new one.
>

>-> I guess my question is:  How can I delete an image from a .nib file?
>-> -----------------------------------


>
>Yes, this appears to be a big pain in the ass. The only thing I've found  to do  
>is remove the image from ProjectBuilder and it should be removed from IB. Then  
>simply add it again. This seems to suck.
>
>Anyone else have any ideas?
>
> 
>--
>_______________________________________________________________________________
>                        I'll cross my heart and hope to die
>                        but the needle's already in my eye.
>_______________________________________________________________________________
>	
>	Kevin Solie

This doesn't seem to work.  Even if you remove the image with PB,
Interface Builder will not let you add another image with the same name.
Adding the image in Project Builder only places the .tiff file in the
project directory.  The copy in the .nib file remains unchanged.

I suppose one could edit the .nib file by hand...

One last thing.  Ed (support@gateway.vvi.com) (sorry Ed, you didn't
send me your last name, and I can't seem to 'finger' you right now)
pointed out that if you replace the file, and go ahead and build the app
then the correct image will be placed in the application.  Only IB will
display the old one.
-- 
-----------------------------------
Mike Hopkins
mjh@math.mit.edu
-----------------------------------
Technical Details
Message-ID: <1993Jan26.152709.19260@galois.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!paperboy.osf.org!enterpoop.mit.edu!galois!kronecker!mjh
References: <1993Jan23.230307.8056@galois.mit.edu> <C1DrH3.FC6@ms.uky.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!paperboy.osf.org!enterpoop.mit.edu!galois!kronecker!mjh
From: mjh@kronecker.mit.edu (Michael J. Hopkins)
Subject: Re: IB question
Message-ID: <1993Jan26.152709.19260@galois.mit.edu>
Sender: news@galois.mit.edu
Nntp-Posting-Host: kronecker
Organization: MIT Department of Mathematics, Cambridge, MA
References: <1993Jan23.230307.8056@galois.mit.edu> <C1DrH3.FC6@ms.uky.edu>
Date: Tue, 26 Jan 93 15:27:09 GMT
Lines: 48