[Mono-osx] Using Db4Objects on MonoTouch

Joanna Carter cocoasharp at carterconsulting.org.uk
Wed Mar 3 10:33:10 EST 2010


> Hi there.. 
> i'am currently developing a project for the iphone using monotouch.
> Cause of the missing bound of the coredata framework i tried to use the db4o
> non-relational-database.

You can use Core Data with Mono projects. I do that with Delphi Prism, although, you have to include the compiled .mom (Managed Object Model) file in the bundle.

You will need to create the object model in Xcode, compile it, using the momc tool, in the Terminal, and then translate the boilerplate code, that Xcode creates in Objective-C, into C# using the Monobjc bridge.

I was surprised how well the Monobjc bridge handled things and have a fully working Mono Core Data app.

It also keeps things simple as you can use Cocoa bindings to hook up the visuals directly to your business objects.

Joanna

--
Joanna Carter
Carter Consulting


More information about the Mono-osx mailing list