Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 9, 2006, 11:12 PM   #1
Wizumwalt
macrumors newbie
 
Join Date: Jun 2006
native xml database for cocoa?

Hey all,

I'm new to cocoa and having a hard time finding some sort of XML database to use with my app which I'm building in xcode.

At least I think that's what I need. I want to put a book in a database and search for text or verses in it and I have formats availabe in XML (it's bible text).

The only data access framework I've found in XCode for cocoa is coredata, which I find very strange if that's all that's available. I have to go to other vendors for sql or relational dbases.

Anyone have ideas here?
Wizumwalt is offline   0 Reply With Quote
Old Jun 10, 2006, 01:18 AM   #2
superbovine
macrumors 68030
 
superbovine's Avatar
 
Join Date: Nov 2003
sleepycat?
superbovine is offline   0 Reply With Quote
Old Jun 10, 2006, 01:36 AM   #3
Wizumwalt
Thread Starter
macrumors newbie
 
Join Date: Jun 2006
Yeah, I know sleepycat, but for cocoa? How so?
Wizumwalt is offline   0 Reply With Quote
Old Jun 10, 2006, 01:50 AM   #4
superbovine
macrumors 68030
 
superbovine's Avatar
 
Join Date: Nov 2003
you can integrate c++ with cocoa, so just use the the db api for sleepycat.
superbovine is offline   0 Reply With Quote
Old Jun 10, 2006, 02:43 AM   #5
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
If you can find a way to import the XML into a CoreData database (SQLLite), that should work. Of course, it's not going to be kept in the same XML form (I think), so that's only appropriate for a one-time seeding of the data, but one of the save formats for CoreData is, in fact, an XML format. Worst case, you could write a parser in Cocoa that stuffs the XML into a CoreData database.
__________________
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Resolved: XML -> NSDictionary DennisBlah iPhone/iPad Programming 5 May 19, 2014 04:51 PM
OS X: Native vs Non-native Games Part Two. TheGreatWumpus Mac and PC Games 0 Feb 27, 2014 12:46 PM
GW2 Database- iPhone and iPad database for Guild Wars 2 skoroapps iPad Apps 19 Jul 20, 2013 06:59 AM
GW2 Database - iPhone and iPad database for Guild Wars 2 skoroapps iPhone and iPod touch Apps 14 Jul 20, 2013 06:58 AM
MR Articles as XML ConCat Mac Programming 0 Jan 22, 2013 12:06 PM

Forum Jump

All times are GMT -5. The time now is 07:26 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC