• 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: Why this function doesn't work??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why this function doesn't work??


  • Subject: Re: Why this function doesn't work??
  • From: Henry McGilton <email@hidden>
  • Date: Fri, 12 Dec 2003 09:35:48 -0800

On Friday, December 12, 2003, at 08:04 AM, Roberto wrote:

I've done all as the tutorials and Guides tell.
I would like to add a value into a field of an NSTableView, calling a
routine that add a value into the Array.
Why this routine doesn't work??




// This function is under a Istance for NSTableView on DataSource
- (void) addComic: (id) newEntry
{
[comicsArray addObject: newEntry];
}



//This is the function that call the routine to add a value into a
NSTableView Field
comicDataSource *comicD;
comicD = [[comicDataSource alloc] init];

[comicD addComic:@"fsdfsdfaf"];
[comicsList reloadData];


Are you implementing the methods documented in the NSTableDataSource protocol ?

file:///System/Library/Frameworks/AppKit.framework/Versions/C/ Resources/English.lproj/Documentation/Reference/ObjC_classic/Protocols/ NSTableDataSource.html

Best Wishes,
........ Henry

===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
|
===============================+============================
_______________________________________________
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.

References: 
 >Why this function doesn't work?? (From: Roberto <email@hidden>)

  • Prev by Date: Re: NSObject copy explanation
  • Next by Date: NSTextField Bad Behavior
  • Previous by thread: Why this function doesn't work??
  • Next by thread: NSTextView and LineNumbers
  • Index(es):
    • Date
    • Thread