• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CamelBones question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: CamelBones question
      • From: Sherm Pendley <email@hidden>
References: 
 >Re: CamelBones question (From: Sherm Pendley <email@hidden>)

  • Prev by Date: NSStatusItem, RunLoops and daemons (Oh My)
  • Next by Date: Cocoa or C++ Database API
  • Previous by thread: Re: CamelBones question
  • Next by thread: Re: CamelBones question
  • Index(es):
    • Date
    • Thread