On 31 Jul 2014, at 00:28, Graham Cox <graham....@bigpond.com> wrote:
> > On 31 Jul 2014, at 6:57 am, Dave <d...@looktowindward.com> wrote: > >> (void) drawRect:(CGRect) theRect >> { > > >> myRect = CGRectInset(theRect,0,0); > > > <theRect> is the DIRTY rect of the view, not its bounds, so myRect is derived > from it. Framing and filling that isn't doing what you think it is - it's > probably empty at first for example. You need to use self.bounds instead of > <theRect>. As I said, drawRect isn’t being called, so it does’t execute that code, so it can’t be that. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com