Re: How to implement a "Picture Frame" view
Re: How to implement a "Picture Frame" view
- Subject: Re: How to implement a "Picture Frame" view
- From: "I. Savant" <email@hidden>
- Date: Tue, 8 May 2007 15:21:03 -0400
On 5/8/07, Albert Andersen <email@hidden> wrote:
1) subclassed NSClipView, and changed drawRect to call [super
drawRect:] and then draw the picture frame. My custom drawRect method
was never called.
If I understand what you're trying to do, this is, I believe, the
way to go. That your subclass's -drawRect: method didn't get called
tells me your scroll view likely wasn't using your subclass, but
NSClipView itself. You'd need to replace the standard clip view with
your subclass.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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