I just tried compiling my FMDB SQLite wrappers against the iPhone SDK, and hey- it seems to work!
These are the classes I use in VoodooPad, so they are pretty solid in my experience (although I do use a custom build of sqlite against it). And since CoreData isn't availble on the iPhone, I figure developers might find these classes useful.
For how it's used, check out the fmdb.m file, and you can also download the entire archive. And if you have any bug fixes or ideas, send em along.
(Sorry, had to say it : )
or iVoodoo
1: How do we develop applications that need their own frameworks? It seems that I'll now have to compile a static library for each case and compile everything into every application. I was planning on porting a Content Management system to the iPhone that has multiple components so this is an issue.
2: No CoreData!?!?!?! WTF? I mean, SQLite is there, and those of us who have followed Apple's advice and used CD where possible now find we have to rewrite that code to get something that works on the iPhone. Man. Nightmare. So CD doesn't look so great now.
Other than that though it looks great. I can't wait to dig in.
Jamie
Good to see you've got it working :)
If anyone knows different let me know.
Greg
Is there a way to bind a column to a control? If so do you have an example?
Thanks
Greg
I was hoping there might be something similar to NaviCat which I use for moving mdbs and CSVs to MySQL dbs in a server environment.
Thanks
Greg
// Created by August Mueller on 10/30/05.
// Copyright 2005 Flying Meat Inc.. All rights reserved.
I'd be ecstatic if it were Apache license.
The documentation makes it pretty clear that Core Data and Bindings were excluded intentionally for performance reasons, so I wouldn't expect to see them. Interface Builder, they're promising, but are not saying when we'll get it, but do not expect to see Core Data or Bindings until at least the next generation of hardware comes out, and probably not till much later, and maybe even never.
Moore's Law will eventually provide for the availability of CD, but alas, we pioneers will have to write our apps without it, making us look silly in the face of future apps that have it as a part of their available tools. :-/
Regardless, thanks for the tool, I'm going to start using it!!
Greg
For instance, suppose I want to insert an entry with a specific rowid. The rowid is of type sqlite_int64, which equates to a "long long". But you don't seem to handle this type encoding.
Is there a reason why you're not handling this?
Thanks!
I am still a beginner in iPhone Development, and was wondering if you could direct me on how to import the FMDB into XCode?
I am trying to create a simple SQLite based application, and found the FMDB to be simple to understand.
I tried adding the files under src, but XCode seems to keep complaining. Could you give me the steps i should be following?
Thanks ..
http://developer.yahoo.com/auth/license.txt
OK?
May i use it in my application? or i need licence
Amit
I just started with with objective-c/cocoa/iPhone SDK and trying to get the FMDB wrapper working but when I try and compile a fresh project it says:
error: Cocoa/Cocoa.h not found
Any help would be greatly appreciated.
Thanks.