Connecting lots of fields
Connecting lots of fields
- Subject: Connecting lots of fields
- From: Björn Carlström <email@hidden>
- Date: Tue, 2 Dec 2003 23:27:14 +0100
Hi All
A bit of a newbie question maybe. I'm having an object that serves as a
datasource for a tableview. The datasource basically contains an array
of records. I now want to display detailed information about the
selected record in a view using several textfields. This seems like
something thats probably been done a zillion times but I can't find an
example in any of my books. How do I set it up in IB? Do I have to
create an outlet in my dataSource for each of the fields of my record
and fill them with the right information each time the user selects a
different record, or is there an easier way?
Can I connect all my NSTextFields to my dataSource and have a methiod
returning a value depending on which NSTextField called the method?
I believe I'm looking for something with the same simplicity as I have
when setting up an NSTableVIew with its different columns?
Any suggestions?
Sincerly
Bjvrn Carlstrvm
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.