From: Dave H. <gr...@gr...> - 2005-06-17 20:19:11
|
On Jun 17, 2005, at 1:49 AM, Jonathan Paisley wrote: > Have you told the table that you've updated the data source? Call > reloadData on the table view. No. That's the part that I meant when I said "I think I know how to make this work." I have to create an 'ib_outlet :myTable ' entry in Ruby and do the corresponding mojo in Interface Builder so that I can then call a reload on the view. > To be honest, I think for this application you're better to use the > standard datasource techniques rather than bindings. Bindings tend to > be more useful when there's different ways to edit or view data (e.g., > both directly in the table and also in a bunch of fields below the > table). Hmm. OK. > The current release of RubyCocoa (0.4.1) doesn't support bindings 'out > of the box'. There's some extra code you need to get it to work. Aha! I feel less dumb. :) > This has since been integrated into CVS, so the next release will > have it. I'll wait. So, um, is RubyCocoa 'out of the box' working with Core Data from Tiger and XCode 2.0? Fiddling with bindings here just seemed like a good opportunity to experiment, but my next project has "I (heart) Core Data" written all over it. |