• 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
T0 make Application run without using NSApplicationMain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

T0 make Application run without using NSApplicationMain


  • Subject: T0 make Application run without using NSApplicationMain
  • From: "prashant sharma" <email@hidden>
  • Date: 22 Aug 2005 10:00:40 -0000

 
 
Hi,

I am using Xcode 2.1. I hv one cocoa application and i am using NSApplicationMain method in main.m file. Two files Controller and ApplicationHandler hv awakeFromNib method and are integerated with nib file.

What i want to do is to run the application without using NSApplicationMain function. So i created the objects of Controller and ApplicationHandler and called the awakeFromNib method.
There was no error duing building process, but the application doesn't run in the same way as it was running initially.

Is replacing NSApplicationMain function with the calles to respective nib files is enough. I am not creating any GUI with nib. So nib is not being used except that it makes a call to awakefromNib functions of controller and applicationHandler.

Regards,
Prashant

Regards
Prashant sharma
IIT kanpur

"You can't increase the length of ur life.. but u can increase its breadth and depth"

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: T0 make Application run without using NSApplicationMain
      • From: j o a r <email@hidden>
  • Prev by Date: Re: svn: Can't open '/svnrep/db/current.tmp': Permission denied
  • Next by Date: Re: T0 make Application run without using NSApplicationMain
  • Previous by thread: Re: making a framework...
  • Next by thread: Re: T0 make Application run without using NSApplicationMain
  • Index(es):
    • Date
    • Thread