Re: NSTableView - setting row heights
Re: NSTableView - setting row heights
- Subject: Re: NSTableView - setting row heights
- From: Corbin Dunn <email@hidden>
- Date: Mon, 01 Jun 2009 09:49:04 -0700
Yup -- that makes it tough to figure out with that bt, since the
problem doesn't appear to be in your code.
Can you post your objectValueXXX method implementation?
Can you also show the string in your array that you are setting as the
object value? (ie: print it in the debugger or NSLog(@"%@") on it.)
corbin
On Jun 1, 2009, at 9:40 AM, Peter Hudson wrote:
Hi Corbin,
Many thinks for the debug tip - it works a treat !
I'll just leave it there for the future.
Here is the stack trace when the exception is thrown.
I can't see where the problem is as the underlying code has clearly
used the attributed strings to draw the contents in the first place.
Is the mechanism of rendering different when I try to select a row ?
Peter
<StackTrace-NSAttributedStringProblem.tiff>
On 1 Jun 2009, at 16:37, Corbin Dunn wrote:
On Jun 1, 2009, at 2:50 AM, Peter Hudson wrote:
The problem appears when I try to select a row. Rows are not
selectable.
When I try to select a row I get the error message
NSConcreteMutableAttributedString addAttribute:value:range:: nil
value
Break on objc_exception_throw and look at the bt; that should help
you find the source of the exception being raised.
http://www.corbinstreehouse.com/blog/index.php/2008/08/your-most-important-breakpoint-in-cocoa/
corbin
_______________________________________________
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