filling a TableView with pre-existing data
filling a TableView with pre-existing data
- Subject: filling a TableView with pre-existing data
- From: Scott Frankel <email@hidden>
- Date: Mon, 1 May 2006 10:37:34 -0700
How does one fill an NSTableView, set up to use bindings, with pre-
existing data?
If a nib file's NSArrayController's ObjectClassName parameter
corresponds with an implementation file of a class I created with KVC-
style accessors (the M-V-C model), then shouldn't the model class'
init: method get called when I run the app? I note that my init:
method's NSLog statement is never returned.
Seems that somewhere, I'm not connecting the dots.
Following the property list Dict example in http://
developer.apple.com/documentation/Cocoa/Conceptual/TableView/
index.html#//apple_ref/doc/uid/10000026i), where should this Dict
live so that the NSTableView's NSArrayController can find the data
and display it? In the model class' init: method? Is there a method
I should be overriding to trigger a data load?
Thanks in advance!
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden