Re: Problem with 10.2 after a clean active target
Re: Problem with 10.2 after a clean active target
- Subject: Re: Problem with 10.2 after a clean active target
- From: matt neuburg <email@hidden>
- Date: Tue, 29 Oct 2002 10:19:46 -0800
On Wed, 28 Aug 2002 14:45:10 -0500, Michel Desbiens <email@hidden> said:
>
My project was working great under dev tools 10.1 It was
>
almost finish. After un clean active target, I now got
>
this error with the new tools 10.2. I need a clue. I don't
>
know where I can find the error. The code was working
>
before.
>
2002-08-26 20:59:17.595 iTexte[1024] *** Assertion failure in -[MyTableView
>
_locationOfRow:], TableView.subproj/NSTableView.m:486
>
2002-08-26 20:59:17.610 iTexte[1024] Invalid parameter not satisfying:
>
(index >= 0) && (index <= numRows)
The tableview is loading before you have any data. Your data source must check to see whether there is data and return zero as the number of rows if not. Perhaps it keeps a reference to an NSArray; it should check whether that array is nil and return zero if it is. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.