• 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
Fun with table column identifiers, the fool speaks...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fun with table column identifiers, the fool speaks...


  • Subject: Fun with table column identifiers, the fool speaks...
  • From: Jerry LeVan <email@hidden>
  • Date: Mon, 28 Oct 2002 15:46:27 -0500

Sigh,

Thanks to the people who responded, I went back and took a closer look at my
code.

1) Creating a table view with no columns and then adding the columns does
NOT destroy the Aqua ness of the headers, For some strange reason I thought
that the pretty blue headers where always present and did not realize that
one had to click on the headers....doh!

2) I was finally able to retrieve a particular column by:
[ [tableView tableColumnWithIdentifier:@"0"] setIdentifier:[NSNumber
numberWithInt: 0]];

When I had set the identifier to a 0 in IB. I think the problem was that I
was flipping between
A foo and a 1 in IB and the changes would not stick in IB. Mr Jackel pointed
out to me that
There is evidently a problem in IB...

The upside is that I did learn how to do a deep cloning ( p165 Cocoa
Programming), and that approach seems to work fine also...

Thanks for the advice...

--Jerry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: compositeToPoint ignores DPI?
  • Next by Date: Re: Window Controller not being released.
  • Previous by thread: State image for NSMenuItem
  • Next by thread: Sheets, modal and non-modal
  • Index(es):
    • Date
    • Thread