Re: CamelBones question
Re: CamelBones question
- Subject: Re: CamelBones question
- From: Pierre Vaudrey <email@hidden>
- Date: Wed, 12 May 2004 22:57:03 +0200
Le mercredi, 12 mai 2004, ` 19:01 Europe/Paris, Sherm Pendley a icrit :
>
my $identifier = $tableColumn->identifier();
>
if ($identifier eq 'name') {
My code is :
sub tableView_didClickTableColumn :
Selector(tableView : didClickTableColumn :)
ArgTypes(@@) ReturnType(v)
{
my ($self, $tableView, $tableColumn ) = @_;
my $identifier = $tableColumn->identifier();
NSLog($identifier);
if ($identifier eq 'comments') {
@{$self->{'comments'}} = sort { $a->{comments} cmp $b->{comments} }
@{$self->{'comments'}};
}
$self->{'Table'}->reloadData();
$self->saveData();
}
which raise the following error :
2004-05-12 22:52:28.531 Comments[10327] comments
2004-05-12 22:52:28.546 Comments[10327] Perl error: Not an ARRAY
reference at
/Users/pierreva/Documents/perlGedcom/Comments/build/Comments.app/
Contents/Resources/CommentsWindowController.pm line 138.
line 138 is : if ($identifier eq 'comments') {
Pierre
_______________________________________________
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.