Re: initializing a pdfview
Re: initializing a pdfview
- Subject: Re: initializing a pdfview
- From: John Calhoun <email@hidden>
- Date: Wed, 26 May 2010 11:53:27 -0700
On May 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.
John Calhoun—_______________________________________________
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