[feature request] core data API
I need to be able to store and retrieve data between app runs. Having a simple API to access Core Data or creating a Core Data DataMapper adapter would be awesome. I guess the alternative would be to package a sqlite3 ruby gem compiled for OSX. -Matt
I wonder if it really would add much benefit to add a CoreData DM adapter… I would just use DM with sqlite, without CoreData adding an extra layer of abstraction. This works in RubyCocoa, so except for maybe some incompatibilities with 1.9/MacRuby it should work great as well. Eloy On 9 nov 2008, at 10:29, Matt Aimonetti wrote:
I need to be able to store and retrieve data between app runs. Having a simple API to access Core Data or creating a Core Data DataMapper adapter would be awesome.
I guess the alternative would be to package a sqlite3 ruby gem compiled for OSX.
-Matt _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
DM uses DO which uses C extensions and C drivers. I'm not sure how to get DM working with MacRuby yet :( -Matt On Sun, Nov 9, 2008 at 10:09 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
I wonder if it really would add much benefit to add a CoreData DM adapter… I would just use DM with sqlite, without CoreData adding an extra layer of abstraction. This works in RubyCocoa, so except for maybe some incompatibilities with 1.9/MacRuby it should work great as well.
Eloy
On 9 nov 2008, at 10:29, Matt Aimonetti wrote:
I need to be able to store and retrieve data between app runs. Having a
simple API to access Core Data or creating a Core Data DataMapper adapter would be awesome.
I guess the alternative would be to package a sqlite3 ruby gem compiled for OSX.
-Matt _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Have you tried building it without using RubyGems? - Eloy On 9 nov 2008, at 16:14, Matt Aimonetti wrote:
DM uses DO which uses C extensions and C drivers. I'm not sure how to get DM working with MacRuby yet :(
-Matt
On Sun, Nov 9, 2008 at 10:09 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote: I wonder if it really would add much benefit to add a CoreData DM adapter… I would just use DM with sqlite, without CoreData adding an extra layer of abstraction. This works in RubyCocoa, so except for maybe some incompatibilities with 1.9/MacRuby it should work great as well.
Eloy
On 9 nov 2008, at 10:29, Matt Aimonetti wrote:
I need to be able to store and retrieve data between app runs. Having a simple API to access Core Data or creating a Core Data DataMapper adapter would be awesome.
I guess the alternative would be to package a sqlite3 ruby gem compiled for OSX.
-Matt _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Eloy Duran
-
Matt Aimonetti