Newbie question: chrash on [tableview reloadData]
Newbie question: chrash on [tableview reloadData]
- Subject: Newbie question: chrash on [tableview reloadData]
- From: Terje Tjervaag <email@hidden>
- Date: Thu, 21 Nov 2002 17:14:17 +0000
Hi people,
Excuse me for the probably very easy question here, but I seem to keep
hitting my head against the wall on this and it's getting more and more
annoying.
I am working through Aron Hillegass' book Cocoa Programming for Mac OS
X, and am currently on a section which involves an NSTableView. The
application I create from his tutorial works fine, but when I try to
create my own from scratch it just crashes whenever I call reloadData
on the tableview. I have made my own little file class, containing two
strings, the file name and a description. The application is a
document application and in my document init method I can create a new
file and insert it into the NSMutableArray I use as the datasource for
the tableview. When the application loads it displays this row fine,
but when I try to call reloadData AFTER that, even though I have not
added any objects to my array, the application crashes with a "due to
signal 10 (SIGBUS)".
Does anyone have ANY clue as to what can be causing this? I would give
you more details, but I haven't got a clue whats going on here.
Any help appreciated,
Terje
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.