• 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: IBPalettes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBPalettes


  • Subject: Re: IBPalettes
  • From: Conor Dearden <email@hidden>
  • Date: Thu, 31 Aug 2006 21:49:34 +0200

SimpleView.m needs to be part of the test app project.  When the objects in
the nib are un-archived during the launch of the program, the SimpleView
class is not in the app or linked from a framework. Drag SimpleView.m and
SimpleView.h to your test project to include it there and not only in your
IB palette.

>I put initWithCoder: and encodeWithCoder: in SimpleView.m

This is not necessary to start as your view is a subclass of NSView and
NSView does this methods for you; you might want to use them later to
initialize any variables in a more complex example.

Conor
http://www.bruji.com/


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

This email sent to email@hidden

  • Prev by Date: Re: filtering NSTextField
  • Next by Date: Re: NSMenu and the view it is a menu of
  • Previous by thread: IBPalettes
  • Next by thread: NSMenu and the view it is a menu of
  • Index(es):
    • Date
    • Thread