• 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
Cocoa Application without any NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa Application without any NIB


  • Subject: Cocoa Application without any NIB
  • From: Andrew Kazmierski <email@hidden>
  • Date: Wed, 22 Oct 2003 20:45:02 -0400

Hi there,

I'm working on an application in Cocoa that creates all of the UI elements programmatically, and find no use for the NIB file. My principal class is my controller, a subclass of NSApplication. The problem is, if I delete MainMenu.nib or delete the key for a main nib file in info.plist, the application crashes with an error due to trying to load a nib file or the lack of a nib file. Is there any way to override a method or something to not need any NIB files?

Thanks in advance,

Andrew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Cocoa Application without any NIB
      • From: Chris Scharver <email@hidden>
    • Re: Cocoa Application without any NIB
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: The cocoaBB has launched!!!
  • Next by Date: Cocoa IRC channel?
  • Previous by thread: Re: CGGetLastMouseDelta - Undocumented Behavior?
  • Next by thread: Re: Cocoa Application without any NIB
  • Index(es):
    • Date
    • Thread