• 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: nsarraycontroller, bindings and big databases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nsarraycontroller, bindings and big databases


  • Subject: Re: nsarraycontroller, bindings and big databases
  • From: Justin Drury <email@hidden>
  • Date: Wed, 15 Feb 2006 08:11:53 -0500

You should look at
http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/Concepts/Compliant.html#//apple_ref/doc/uid/20002172


Ensuring KVC Compliance.
-------------------------------------

Specifically you still use an NSArrayControler but use -countOf<Key> and -objectIn<Key>AtIndex. (Substitute <Key>)

I ran into the same thing and for "testing" purposes, created an NSDictionary of the current Row from the database and returning it in my objectInRecordAtIndex method. Although this leaked memory(I posted about this on this list), and I had to implement a workaround...

Hope that helps

Justin

------------------------------

Message: 18
Date: Wed, 15 Feb 2006 12:40:31 +0100
From: "Joris Mans" <email@hidden>
Subject: Re: nsarraycontroller, bindings and big databases
To: Aur?lien Hugel? <email@hidden>
Cc: Cocoa-dev <email@hidden>
Message-ID: <005501c63224$a540d9e0$email@hidden>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=response

What do you mean by "firing faults"? (I am no expert on core data because i
cannot use it for reasons cited below).
I think you didnt understand the question completely.
The amount of data in my tables is just too big to load in memory at once
and I cannot use core data because i am interfacing with a PostgreSQL
database on a server. Just think of the database containing too much data to
fit in a reasonable amount of memory. How can we handle this problem with
bindings?


Joris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: AppleScript and Cocoa: from Top to Bottom
  • Next by Date: Re: Problem getting notifications from standard error
  • Previous by thread: nsarraycontroller, bindings and big databases
  • Next by thread: NSTableView
  • Index(es):
    • Date
    • Thread