Aparently not. I did implement initWithCoder; it doesn't get called. Other 
suggestions?
PS. I am using a nib.
On May 26, 2010, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote:

> ay 26, 2010, at 11:38 AM, Matthew Weinstein wrote:
>> I think I'm on the verge of success with my attempt to create a selection 
>> rectangle (that doesn't select text) for pdfview, but I'm unclear what init 
>> routines I should use in my pdfview subclass. - 
>> (id)initWithFrame:(NSRect)frameRect doesn't seem to get called--as it does 
>> in nsview. 
> 
> Are you loading the PDFView subclass from a NIB or creating it 
> programmatically? From the NIB I believe -(id) initWithCoder: (NSCoder *) 
> coder is called.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to