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
How can a browser's cell determine which matrix it is in?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
How can a browser's cell determine which matrix it is in?
Subject
:
How can a browser's cell determine which matrix it is in?
From: Graham <
email@hidden
>
Date: Sun, 4 Jun 2006 15:09:58 -0400
I have some NSBrowserCell subclasses that I am using in my NSBrowser.
The display data for the cells is loaded asynchronously when the cell needs to display (delegate method).
When the data has loaded (in a separate thread) the cell needs to draw itself and the only method that seems to work is to drawCellAt in the matrix, but this requires me to pass a ref to the matrix to the cell which feels wrong.
Is there a way that a cell can find out which matrix it is in? I tried walking up the superview chain, but this does not work since the cell's NSControl is not in the view hierarchy at the point the delegate's willDisplayCell is called.
_______________________________________________
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
Follow-Ups
:
Re: How can a browser's cell determine which matrix it is in?
From:
Moray Taylor <email@hidden>
Prev by Date:
Re: Saving an NSImage to an image file
Next by Date:
Re: How can a browser's cell determine which matrix it is in?
Previous by thread:
Re: Saving an NSImage to an image file
Next by thread:
Re: How can a browser's cell determine which matrix it is in?
Index(es):
Date
Thread