🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trouble creating 3.0 applications

#149
From: Moises Oliveira
Date: Thu, 05 Nov 1992 00:01
31 lines
1580 bytes
In article <1992Nov4.182700.18323@cs.ucla.edu> esky@marathon.cs.ucla.edu writes:
>Hi,
>
>This is what I did in a desperate attempt to create an app that would run  
>(NOTE: the following worked under 2.1 buit failed under 3.0):

[Long series of items in which the key to the problem is missing.


>	a) Added method - appDidInit:sender to "MyApplication.h"

[appDidInit: is never called.]

appDidInit: should be implemented as a delegate method, but can also be 
implemeneted as a subclassed method.

The reason it is never being called is because NXApp is an application
object and not a MyApplication object.   Look at the project_main.m file
and you will see what I mean.

Don't edit the main.m file though, change it in ProjectBuilder (attributes
pane)


>
>Please help me figure out this problem and why I did not have the same 
>problems under 2.1 (e-mail preferred).
>

You didn't have the problem previosuly, because the main.m file used to be
maintained by IB.
Technical Details
Message-ID: <1992Nov5.000104.17816@nevada.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!crcnis1.unl.edu!news.unomaha.edu!nevada.edu!oliverm
References: <1992Nov4.182700.18323@cs.ucla.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!crcnis1.unl.edu!news.unomaha.edu!nevada.edu!oliverm
From: oliverm@nevada.edu (Moises Oliveira)
Subject: Re: Trouble creating 3.0 applications
Message-ID: <1992Nov5.000104.17816@nevada.edu>
Keywords: trouble, application, 3.0, ib, pb, interface, interfacebuilder
Sender: news@nevada.edu (USENET News System)
Nntp-Posting-Host: helios.nevada.edu
Organization: University of Nevada System Computing Services
References: <1992Nov4.182700.18323@cs.ucla.edu>
Date: Thu, 5 Nov 1992 00:01:04 GMT
Lines: 33