Re: NSTableView problems
Re: NSTableView problems
- Subject: Re: NSTableView problems
- From: Mudi Dandan <email@hidden>
- Date: Mon, 3 Nov 2008 04:23:00 +0100
You call [persiaTable reloadData] inside the tableview's delegate
method.That will cause an infinite loop I guess.
You shouldn't call reloaddata unless you updated the values for the
tableview.
On Nov 2, 2008, at 7:53 PM, Priscila J.V. wrote:
Hello,
I'm new in objective C programming. I try to do a program where a
user can choose the number of partitions of a range in the code
appears like "valor = 30" (number of rows in table), this range can
be change from 1 to 100 only by the user, the main goal is using a
NSTableView to show squares with its respective calculated value
(drawing both in each cell), the total number of rows contained in
the table will be manipulated by the user in "valor", but every cell
must have different data. So if this program works fine, every
square look like a color degradation, beginning in green, passing
through brown to achieve red like maximum (you can see the image
attached).
The question is how can just draw one time every cell without change
values in my table view?, because every time I click outside my
XCode project appears in my Log View changes and makes me think that
the table's work never stops and every time change colors in my
table view. Is necessary to use an scroll to check the completely
squares and values on the table, it appears but not works.
I attached my controller class.
I don't know what should I do, I really appreciate some help please.
Thanks,
Priscila Jardón.
_________________________________________________________________
Inédit ! Des Emoticônes Déjantées! Installez les dans votre
Messenger !
http://www.ilovemessenger.fr/Emoticones/
EmoticonesDejantees
.aspx
<
pic2
.jpg><controller.rtf>_______________________________________________
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