Re: Cocoa-dev Digest, Vol 7, Issue 585
Re: Cocoa-dev Digest, Vol 7, Issue 585
- Subject: Re: Cocoa-dev Digest, Vol 7, Issue 585
- From: Matthew Weinstein <email@hidden>
- Date: Wed, 26 May 2010 12:28:21 -0700
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, email@hidden 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 (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