Re: IBPalettes
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