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 (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