• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No Reference to Table Column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: No Reference to Table Column
      • From: Corbin Dunn <email@hidden>
References: 
 >No Reference to Table Column (From: Philip Dow <email@hidden>)
 >Re: No Reference to Table Column (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: only defined for abstract class
  • Next by Date: Re: only defined for abstract class
  • Previous by thread: Re: No Reference to Table Column
  • Next by thread: Re: No Reference to Table Column
  • Index(es):
    • Date
    • Thread