• 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 who retains NSTableColumns?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView who retains NSTableColumns?


  • Subject: NSTableView who retains NSTableColumns?
  • From: Ole Voss <email@hidden>
  • Date: Thu, 19 Oct 2006 16:58:04 +0200


The past two days I've been trying to manually fill an NSTableView with columns containing NSImageCells.
Needless to say I haven't succeeded ;-)


What I do so far is that I create an empty NSTableView in IB and then try to fill it in my Controller by allocating and initing NSCells and adding them to allocated and inited NSTableColumns. I fear this is not entirely right.

Now my questions:
1) Do I have to retain the NSTableColumns that I create?
2) Do I have to retain the NSCells that I create and add to the NSTableColumns (above)?


Could somebody give me a hint to a useful document concerning the subject of creating an NSTableView from scratch using NOT text-cells but image-cells. I'm boggled.


Any help would be greatly appreciated (I will mentally build a shrine for you).



Regards,

Ole.
_______________________________________________
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 who retains NSTableColumns?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Numbered lists in NSTextView
  • Next by Date: Re: NSTableView who retains NSTableColumns?
  • Previous by thread: Numbered lists in NSTextView
  • Next by thread: Re: NSTableView who retains NSTableColumns?
  • Index(es):
    • Date
    • Thread