Basic KVO question

2009-07-01 Thread Tim Schmidt
Hi everyone, first of all, thanks for reading this. I have a basic KVO question. In one of my NIBs I have an NSArrayController and a NSSegmentedControl with add/remove segments for the array of said controller. Now I want to enable the remove-segment according to the controllers canRemove

Crashes while reordering columns in a NSTableView

2009-07-20 Thread Tim Schmidt
ew uses CG. Xcode also occasionally dumps the following to console if gdb manages to break: Xcode could not locate source file: cpu_capabilities.h (line: 246) Is there any way to work around this, as Column reordering is a pretty important feature for this tool Very best regards, T

Re: Crashes while reordering columns in a NSTableView

2009-07-21 Thread Tim Schmidt
On Jul 20, 2009, at 11:18 PM, Alexander Spohr wrote: Am 21.07.2009 um 00:38 schrieb Tim Schmidt: Is there any way to work around this Yes: find your memory bug. EXC_BAD_ACCESS almost always is a memory bug in your code. atze Obviously CG's bitblock transfers access unallo

Re: Crashes while reordering columns in a NSTableView

2009-07-21 Thread Tim Schmidt
leading me to believe that quite a bit of CG's pixmaps get corrupted (while none of the underlying model changes in any way) On Jul 21, 2009, at 9:40 AM, I. Savant wrote: On Jul 21, 2009, at 12:32 PM, Tim Schmidt wrote: Obviously CG's bitblock transfers access unallocated memory