• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dynamically update drawRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamically update drawRect


  • Subject: Re: Dynamically update drawRect
  • From: Andrew Farmer <email@hidden>
  • Date: Sun, 27 Dec 2009 01:37:15 -0800

On 27 Dec 2009, at 01:18, proger proger wrote:
> I'm still don't know how to do it. As solution i see programmically create
> MyView class and call drawRect function as i needed.

There is rarely any good reason to call drawRect yourself. It should only be called by the AppKit drawing internals.

> Because now MyView(NSView) is created by nib. And i can't call MyView class instance methods.

Why not? This is the basis of most (non-KVO) view programming._______________________________________________

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

  • Follow-Ups:
    • Re: Dynamically update drawRect
      • From: proger proger <email@hidden>
References: 
 >Dynamically update drawRect (From: proger proger <email@hidden>)
 >Re: Dynamically update drawRect (From: Gideon King <email@hidden>)
 >Re: Dynamically update drawRect (From: Quincey Morris <email@hidden>)
 >Re: Dynamically update drawRect (From: proger proger <email@hidden>)

  • Prev by Date: Re: Dynamically update drawRect
  • Next by Date: Re: Dynamically update drawRect
  • Previous by thread: Re: Dynamically update drawRect
  • Next by thread: Re: Dynamically update drawRect
  • Index(es):
    • Date
    • Thread