• 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: Retrieving data into NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retrieving data into NSTableView


  • Subject: Re: Retrieving data into NSTableView
  • From: j o a r <email@hidden>
  • Date: Wed, 21 Jul 2004 20:01:27 +0200

The question is probably not how to get the data into the NSTableView
(as you already seems to have a working table view data source - as you
can enter data in the table view to update the db), but how to update
the data source with data from the db.

The answer to that question depends on the current layout of your data
source. Do you have a custom object type to represent each row, or do
you store something like an array of dictionaries where you have one
type of key per column in the table view?

j o a r

On 2004-07-21, at 18.58, Patel, Nilesh M wrote:

> I have a cocoa app where I am entering information into an NSTableView
> and storing it in a mysql database. (which is working fine)
> When I am fetching the data from the mysql database how do I get that
> array string to be displayed into the NSTableView. (of course in its
> appropriate rows/columns) I do have my app fetching it properly and
> the data is being display in the log window, but how do I get it into
> my NSTableView? It just might be a simple method that I might have
> over looked. Need help.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: 
 >Retrieving data into NSTableView (From: "Patel, Nilesh M" <email@hidden>)

  • Prev by Date: Re: Place to discuss Tiger (XCode2, CoreData) issues
  • Next by Date: Problems with NSTextField and attributed strings
  • Previous by thread: Retrieving data into NSTableView
  • Next by thread: Problems with NSTextField and attributed strings
  • Index(es):
    • Date
    • Thread