Re: Supporting variable-number of table columns, based on source.
Re: Supporting variable-number of table columns, based on source.
- Subject: Re: Supporting variable-number of table columns, based on source.
- From: Seth Willits <email@hidden>
- Date: Tue, 29 Mar 2005 11:00:00 -0800
On 29. Mar 2005, at 19:38 Uhr, Frederick C. Lee wrote:
I understand the basic method of populating a table, based on a model
with a given (static/constant) number of iVars that are mapped to
their respective columns of a pre-configured table structure.
<insert loud buzzer>
You should base it off of the columns identifier, not by instance
variables. That's cumbersome and requires more work to expand on. Give
each column a unique identifier and then look up that column later.
With little work you could have the same code support any number and
combination of columns.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
"Dreams of today are the reality of tomorrow."
------------------------------------------------------------------------
---
_______________________________________________
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