• 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
NSTableView with Custom Views as Cells Redraw Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView with Custom Views as Cells Redraw Problem


  • Subject: NSTableView with Custom Views as Cells Redraw Problem
  • From: "Carmen Cerino Jr." <email@hidden>
  • Date: Mon, 3 Nov 2008 15:35:54 -0500

Basically I have an array of views for every item in my data source,
and my table uses a custom cell for its data cell. This cell has a
weak reference to one of the views in the array, and it is set every
time during the tableWillDisplayCell delegate method of the TableView.
When the cell goes to draw itself it will set its view's frame to
match the cell's frame, and it checks to see if its view's superview
matches the control view of that cell. If they do not match the view
is added to the control view. The issue I am having is when I go to
resize the window, it appears the views are drawing over themselves.
Here a link to a screen capture of the issue in action:
http://screencast.com/t/Fbc2WrZsG

Any help would be greatly appreciated! Please let me know if you would
like to see my code. I am following this tutorial on pulling of this
custom cell effect: http://www.joar.com/code/body.html

Cheers,
Carmen
_______________________________________________

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: NSTableView with Custom Views as Cells Redraw Problem
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Creating a Hyperlink in the UI
  • Next by Date: Re: Creating a Hyperlink in the UI
  • Previous by thread: Re: Creating a Hyperlink in the UI
  • Next by thread: Re: NSTableView with Custom Views as Cells Redraw Problem
  • Index(es):
    • Date
    • Thread