> On 14 Jun 2016, at 12:26, Gerriet M. Denkmann wrote:
>
>
> But no problem, as long one keeps in mind (as you recommended) that
> awakeFromNib “can get called many times”.
>
You may be experiencing this, as described in docs for view based table views:
NSTableView -
> On 14 Jun 2016, at 16:03, Alastair Houghton
> wrote:
>
> On 14 Jun 2016, at 05:33, Gerriet M. Denkmann wrote:
>>
>> But I had:
>> - (void)awakeFromNib
>> {
>> self.someUniqueObject = [ [ UniqueObject alloc ] init ];
>> }
>>
>> The
On 14 Jun 2016, at 05:33, Gerriet M. Denkmann wrote:
>
> But I had:
> - (void)awakeFromNib
> {
> self.someUniqueObject = [ [ UniqueObject alloc ] init ];
> }
>
> The problem: awakeFromNib gets called twice: once before
> applicationDidFinishLaunching:, once after.
> On 13 Jun 2016, at 21:43, Alastair Houghton
> wrote:
>
> On 12 Jun 2016, at 10:10, Gerriet M. Denkmann wrote:
>>
>> OS X 10.11.5, Xcode Version 7.3.1 (7D1014).
>>
>> App with TableView (View based). Works fine.
>> But when I give the
On 12 Jun 2016, at 10:10, Gerriet M. Denkmann wrote:
>
> OS X 10.11.5, Xcode Version 7.3.1 (7D1014).
>
> App with TableView (View based). Works fine.
> But when I give the TableView a delegate (even without implementing any
> NSTableViewDelegate methods) it crashes (see
OS X 10.11.5, Xcode Version 7.3.1 (7D1014).
App with TableView (View based). Works fine.
But when I give the TableView a delegate (even without implementing any
NSTableViewDelegate methods) it crashes (see below).
How to debug this?
Tried a symbolic breakpoint in -[__NSArrayM objectAtIndex:]