• 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: NSCell with Embedded NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCell with Embedded NSView


  • Subject: Re: NSCell with Embedded NSView
  • From: Erik Buck <email@hidden>
  • Date: Thu, 6 Apr 2006 11:56:15 -0700 (PDT)

You are not going to be able to use a single view to do what you want during a single redraw.  Views have a lot of state and exist in a view hierarchy.  Moving/repositioning a view within its parent view while the parent view is redrawing is not supported by the frameworks.

  There are other approaches.
  http://www.stepwise.com/Articles/Technical/NSCell.html

  Cells can use sub-cells.  When it comes to drawing, cells can do almost anything views can do.

  Here is an implementation that does use views for comparison:
  http://www.stepwise.com/Articles/Technical/2003-12-20.01.html

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Engeneering a Cocoa Application
  • Next by Date: cross development behaviour : dock disappears
  • Previous by thread: Re: NSCell with Embedded NSView
  • Next by thread: 'valueForUndefinedKey' when the 'key' accessor already exists (part deux)
  • Index(es):
    • Date
    • Thread