• 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
Re: Problem with multiple instances of a nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with multiple instances of a nib


  • Subject: Re: Problem with multiple instances of a nib
  • From: Graham Cox <email@hidden>
  • Date: Mon, 23 Nov 2009 09:26:46 +1100

On 23/11/2009, at 9:06 AM, PCWiz wrote:

> @interface ImagePanelController : NSObject {


I don't know what the problem is with your code, but why not make ImagePanelController a subclass of NSWindowController? That way you get a) a cleaner, simpler API for loading the nib, and b) an already debugged class that will do what you want with less work. The path to an easier life with Cocoa usually consists of doing things the conventional way.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problem with multiple instances of a nib (From: PCWiz <email@hidden>)

  • Prev by Date: Problem with multiple instances of a nib
  • Next by Date: Re: Problem with multiple instances of a nib
  • Previous by thread: Problem with multiple instances of a nib
  • Next by thread: Re: Problem with multiple instances of a nib
  • Index(es):
    • Date
    • Thread