Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newConvert

macrumors regular
Original poster
Aug 25, 2006
214
3
So in my iphone app, i'm creating/editing a database, however i'd like to use an external DB program just to monitor my code and make sure its doing what it should be doing...

However, I don't know where the database is locate, nor what it is called (would it be different than what I had named mine?)... what is the extension they use, that way I could search for it.. .db?

Thanks so much
 
I use SQLite Manager. its a firefox plugin. Its efficient and good, and probably all you need at this stage.
 
I use SQLite Manager. its a firefox plugin. Its efficient and good, and probably all you need at this stage.

sorry for the oldish bump, but yah, that should do...however where is the database located / whats it usually called?
 
You don't say what database type you are using [SQLite, plist?] but the database file is generally in the Resources folder or a folder inside Resources. It can be 'loose', but that's poor practice in my opinion. [or maybe I was potty trained too early!]
 
sorry, my mistake, i'm using sqlite

I'm assuming, from what you've said, that you have built this app and it works, so you must have assigned the database in order to be reading it. Look in the Groups & Files list in XCode, because it will be there.

If you haven't got that far, you can create and add the database like any other resource file or graphic from your working folder on the Mac. It will end with .sql or similar.

What I don't get is that you don't know what the database is called. Didn't you create it?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.