Re: No Reference to Table Column
Re: No Reference to Table Column
- Subject: Re: No Reference to Table Column
- From: Andreas Mayer <email@hidden>
- Date: Thu, 6 Oct 2005 16:35:17 +0200
Am 06.10.2005 um 01:05 Uhr schrieb Corbin Dunn:
If so, is there a way to maintain a reference to this column
regardless the autosave setting?
There isn't; you must create it in code.
I solved that problem by overwriting NSTableView's
_readPersistentTableColumns and _writePersistentTableColumns.
Yes, I know about the dangers of using private methods. I'd still
appreciate if you didn't remove those in the near future. :)
A related bug is to set the autosave name, run your app, add a new
column in IB, and run your app again; the new column will never
appear!
While you are fixing that: I think there's a problem when a column is
missing. I.e. you create some columns, test the app (so that the
columns get saved), remove one of the columns in IB and test again.
IIRC that would throw an exception.
Andreas
_______________________________________________
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