Re: Newbie: Strange problem with NSTableView, check boxes and Core Data
Re: Newbie: Strange problem with NSTableView, check boxes and Core Data
- Subject: Re: Newbie: Strange problem with NSTableView, check boxes and Core Data
- From: Jonathan Oddie <email@hidden>
- Date: Thu, 2 Oct 2008 12:30:08 -0600
On Oct 2, 2008, at 11:55 AM, Corbin Dunn wrote:
Thanks for the advice Corbin. Below is a long backtrace, but I am
not sure it sheds much light on the problem. I will keep working at
it but since I am moving house this week I may not get much done
for a while...
Jonathan
This is an interesting backtrace. What image do you have set on the
NSButtonCell in the tableView? Is it one of the predefined apple
ones? If so, which one?
It is possible this is a bug in the framework.
Hi Corbin,
The button cell is just the predefined check box cell from Interface
Builder, which I dragged into the table column to replace the default
text field cell -- I don't think I've even changed any attributes of it.
Is this a strange design, to have a column of check boxes adjacent to
a column of text fields? It seemed like the simplest way to make it
work with bindings (binding the "value" of the check box column to the
boolean attribute arrangedObjects.Enabled of the array controller).
Jonathan
corbin
#0 0x90187e17 in objc_exception_throw
#1 0x9433434a in -[NSObject doesNotRecognizeSelector:]
#2 0x9433294c in ___forwarding___
#3 0x94332a12 in __forwarding_prep_0___
#4 0x95bdfa8c in -[CISampler _initWithImage:optionsList:]
#5 0x95bdf888 in -[CISampler initWithImage:options:]
#6 0x95bdf811 in -[CISampler initWithImage:]
#7 0x95bdf727 in +[CISampler samplerWithImage:]
#8 0x95c9f638 in -[CIFullButton outputImage]
#9 0x91663e3a in -[NSObject(NSKeyValueCoding) valueForKey:]
#10 0x95bdd530 in -[CIFilter valueForKey:]
#11 0x95d984c1 in -[CIUIBundle1 buttonResultForResolutionData:]
#12 0x95d962f1 in -[CIUIBundleBase
renderResolutionData:toBitmap:width:height:bytesPerRow:]
#13 0x95d92f83 in -[CIUIBundleBase dataForResolutionData:]
#14 0x95d93a5e in -[CIUIBundleBase dataForPPI:]
#15 0x95d8f516 in QSICreateElement
#16 0x90c0b6b4 in CUIElement::Load
#17 0x90bf53e3 in CUIRenderer::Draw1Piece
#18 0x90bf7851 in CUIRenderer::Draw
#19 0x94da43d2 in -[NSCoreUIImageRep draw]
#20 0x94da430b in -[NSCoreUIImageRep
_drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext
:]
#21 0x94d9fd43 in -[NSImage drawInRect:fromRect:operation:fraction:]
#22 0x951e50de in -[NSImage
_drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip
:]
#23 0x94da2fc7 in -[NSButtonCell drawImage:withFrame:inView:]
#24 0x95112d97 in -[NSButtonCell
_configureAndDrawImageWithRect:cellFrame:controlView:]
#25 0x94d96c20 in -[NSButtonCell drawInteriorWithFrame:inView:]
#26 0x94ddff19 in -[NSTableView
_drawContentsAtRow:column:withCellFrame:]
#27 0x94ddf37a in -[NSTableView drawRow:clipRect:]
#28 0x94d847f4 in -[NSTableView drawRowIndexes:clipRect:]
#29 0x94d832d8 in -[NSTableView drawRect:]
#30 0x94e13864 in -[NSView _drawRect:clip:]
#31 0x94e1235b in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#32 0x94e126f2 in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#33 0x94e10cb1 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#34 0x94e11b0b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#35 0x94e11b0b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#36 0x94e11b0b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#37 0x94e11b0b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#38 0x94e11b0b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#39 0x94e105f3 in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#40 0x94e0d117 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#41 0x94d4db77 in -[NSView displayIfNeeded]
#42 0x94d4d725 in -[NSWindow displayIfNeeded]
#43 0x94d4d548 in _handleWindowNeedsDisplay
#44 0x942b19c2 in __CFRunLoopDoObservers
#45 0x942b2d1c in CFRunLoopRunSpecific
#46 0x942b3cf8 in CFRunLoopRunInMode
#47 0x911fb480 in RunCurrentEventLoopInMode
#48 0x911fb1d2 in ReceiveNextEventCommon
#49 0x911fb10d in BlockUntilNextEventMatchingListInMode
#50 0x94d4b3ed in _DPSNextEvent
#51 0x94d4aca0 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#52 0x94d43cdb in -[NSApplication run]
#53 0x94d10f14 in NSApplicationMain
#54 0x00004123 in main at main.m:13
_______________________________________________
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
_______________________________________________
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