I'd like to write a front-end for a PostgreSQL database. I've been toying with different languages/environments (Pure Java, Cocoa-Java, Realbasic, etc.) but I'd like to do it in Objective-C. Which leads to question 1:
Is there any way to access the database with the Objective-C libraries?
Because I couldn't find a way, I've been experimenting with JDBC. I've been able to get a Cocoa-Java app to work (at this point just testing that I can connect to the db and display a response), but I've had a lot of difficulty doing it in Objective-C with the java bridge. Here's what I've done:
I've written a java class that acts as an intermediary between the Objective-C code and the database (via JDBC). My problem now is getting this class across the bridge. I've tried using NSClassFromString, but I keep getting an error saying that my class is undeclared. So: How do I get my own classes across the bridge---where do I put them, how do I include them, etc.? Are there any tutorials around?
Another tutorial question: Are there any tutorials around for manipulating data sources and TableViews?
Thanks,
-Joshua