Using fmdb with Cocoa Bindings
Using fmdb with Cocoa Bindings
- Subject: Using fmdb with Cocoa Bindings
- From: Kelvin Chung <email@hidden>
- Date: Tue, 26 May 2009 23:33:20 -0600
I'm fairly new to both fmdb and Cocoa bindings, so I am wondering if
anyone can help me out:
Suppose I have an FMResultSet resulting in a query. I'm trying to put
the results in an NSTableView with Cocoa Bindings. Now the table view
has its contentArray bound to an NSArrayController (call it
controller), whose content array is bound to the key "species" of a
class named "SpeciesView".
So, in SpeciesView I should have -countOfSpecies and -
objectInSpeciesAtIndex:. However, I'm now having trouble bridging the
two ends, and I am wondering if someone experienced can help: how can
I get from an FMResultSet the implementations of these two methods?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden