• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using fmdb with Cocoa Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: [MEET] Amsterdam CocoaHeads tonight!
  • Next by Date: Re: Core data, bindings and multiple view NIB
  • Previous by thread: [MEET] Amsterdam CocoaHeads tonight!
  • Next by thread: Re: Using fmdb with Cocoa Bindings
  • Index(es):
    • Date
    • Thread