• 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
NSTableView error message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView error message


  • Subject: NSTableView error message
  • From: deepak gopal <email@hidden>
  • Date: Tue, 9 Oct 2007 02:07:51 +0530 (IST)

Hi

I am getting this exception message:
*** Uncaught exception: <NSRangeException> valueAtIndex:inPropertyWithKey: index != 0 for non-toMany key

when the control comes to the return statement in:

- (id)                tableView:(NSTableView *)tableView
      objectValueForTableColumn:(NSTableColumn *)tableColumn
                            row:(int)row {
if ([[tableColumn identifier] isEqualToString:@"Methods"])
  {
    return [plistArray_ valueAtIndex:row inPropertyWithKey:@"functionName"];
  }
return [plistArray valueAtIndex:row inPropertyWithKey:@"address"];
}

Does anyone know how to resolve this?
Google is not giving me any results for this exception.

Thank you
DG




      Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/
_______________________________________________

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

  • Prev by Date: Re: NSButton
  • Next by Date: Re: Subclassing NSCell (was Re: Problem With implementing copyWithZone)
  • Previous by thread: Outlet to NSBrowser, and cell color
  • Next by thread: DEUG vs RELEASE
  • Index(es):
    • Date
    • Thread