• 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
NSTableView Restoring State
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView Restoring State


  • Subject: NSTableView Restoring State
  • From: "Phil Dow" <email@hidden>
  • Date: Thu, 01 Dec 2005 12:56:24 +0000

I am compliing an application in 10.4 but allowing it to run on 10.3.9. The application includes an NSTableView which I am setting up in IB. For the resizing mode, I am selecting the uniform resizing option. I have set an autosave name for the table. Most but not all of the table's columns can be resized. Columns can be added and removed as needed, which I accomplish by retaining the columns in my controller's awakeFromNib and then using starting table view add and remove methods as needed.

When a user changes the width of a table column and the quits the application, the table column's width is preserved, as it should be. That is, however, only the case in 10.4. Under a 10.3.9 environment, if a user changes the width of a column and then restarts the app, the changes are lost. Column reordering is preserved in both 10.4 and 10.3.9, but in 10.3.9 when a column is moved, say, from position 2 to position 1, the column takes on the width of the column that had been in position 1.

Is there some kind of bug that prevents a table setup in 10.4 IB from properly functioning in 10.3.9?

-Phil
_______________________________________________
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: NSTableView Restoring State
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: A simple question about nsthread
  • Next by Date: Cocoa trying to play a SMF midi file
  • Previous by thread: [SOLVED] Window layering and save sheet attachment in multi-window document
  • Next by thread: Re: NSTableView Restoring State
  • Index(es):
    • Date
    • Thread