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

Re: NSTableView Restoring State


  • Subject: Re: NSTableView Restoring State
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 1 Dec 2005 08:50:56 -0500

Phil:

Check out the "Nib" tab in your nib in Interface Builder. Look at the "Oldest Target" section. I think the uniform resizing option is 10.4 only, but I may be mistaken; I know 10.4 adds some things to NSTableView but I'm too lazy to look up what those are exactly. The docs will help you there. ;-)

--
I.S.


On Dec 1, 2005, at 7:56 AM, Phil Dow wrote:

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:
40gmail.com

This email sent to email@hidden

_______________________________________________
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
References: 
 >NSTableView Restoring State (From: "Phil Dow" <email@hidden>)

  • Prev by Date: Re: more than one plist in a file.
  • Next by Date: Re: bindings and NSNumberFormatter
  • Previous by thread: NSTableView Restoring State
  • Next by thread: Re: NSTableView Restoring State
  • Index(es):
    • Date
    • Thread