🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Dynamically loaded object modules?

#489
From: Andrew Loewenstern
Date: Thu, 06 Aug 1992 19:09
29 lines
1656 bytes
In article <1992Aug5.010218.9632@leland.Stanford.EDU> cooldude@elaine43.stanford.edu writes:
>You don't have to wait for 3.0.  Just create an object file which contains a  
>NIB section.  e.g,
>
>------
>cc -g -o file.o -c file.m 
>
>echo "linking " $1 "with its nib file"
>
>ld -o complexfile.o  -r  file.o -sectcreate __NIB file.nib file.nib
>-------
>This will take a class "file" and its corresponding nib file "file.nib" and  
>compile 'em into file "complexfile.o".  To load the class and the nib section,
>just use objc_loadModules().  Look in Digital Librarian for more info.
>Once again, you only have to load the file "complexfile.o".

Once again, 3.0 will be out very shortly, and NXBundles will be the
preferred way to do this.  NXBundles are localized, can contain many
classes, and have nice API for resource management in both the bundle
and the application.  With 3.0 so close, just wait; NeXT has done all
of the work for you.


andrew
-- 
andrew@cubetech.com     | "We shall not cease from exploration
Andrew Loewenstern      |  And the end of our exploring
Cube Technologies, Inc. |  Will be to arrive where we started
                        |  And know the place for the first time."
Technical Details
Message-ID: <1992Aug6.190946.26681@cubetech.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!cubetech.com!imladris!andrew
References: <1992Aug2.212228.4166@cubetech.com> <1992Aug5.010218.9632@leland.Stanford.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!cubetech.com!imladris!andrew
From: andrew@cubetech.com (Andrew Loewenstern)
Subject: Re: Dynamically loaded object modules?
Message-ID: <1992Aug6.190946.26681@cubetech.com>
Organization: Cube Technologies, Inc.
References: <1992Aug2.212228.4166@cubetech.com> <1992Aug5.010218.9632@leland.Stanford.EDU>
Date: Thu, 6 Aug 1992 19:09:46 GMT
Lines: 29