• 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
Weird problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird problem


  • Subject: Weird problem
  • From: Yury Peskin <email@hidden>
  • Date: Mon, 1 Mar 2004 12:12:04 -0600

Hi List,
Environment: 10.3.2, Xcode.
I have a really weird problem here. I have a table view and it is setup as a delegate to the controller. Now, if I put a NSLog(@"%@",[[tabView selectedTabViewItem]identifier])
statement in numberOfRowsInTableView the table displays just fine, if I take out the NSLog the table does not display anything.
My numberofRowsInTableView has the following:
- (int)numberOfRowsInTableView:(NSTableView *)aTableView
{
NSLog(@"%@",[[tabView selectedTabViewItem]identifier]); // If I don't have this line here, nothing displays in the table
return [self getListCount:[[tabView selectedTabViewItem] identifier]];
}

I tried cleaning and recompiling to no avail.
Any ideas on what could be causing this error?
Thanks,
Yury
_______________________________________________
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: Weird problem
      • From: "Laurent Daudelin" <email@hidden>
  • Prev by Date: Re: Cursor attribute won't save
  • Next by Date: Re: Weird problem
  • Previous by thread: Re: Cursor attribute won't save
  • Next by thread: Re: Weird problem
  • Index(es):
    • Date
    • Thread