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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to