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

Re: NSTableView who retains NSTableColumns?


  • Subject: Re: NSTableView who retains NSTableColumns?
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 19 Oct 2006 11:07:07 -0400

Ole:

I'm afraid you're not quite approaching this correctly. You should read this:

http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/ index.html

--
I.S.


On Oct 19, 2006, at 10:58 AM, Ole Voss wrote:


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:
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 who retains NSTableColumns? (From: Ole Voss <email@hidden>)

  • Prev by Date: NSTableView who retains NSTableColumns?
  • Next by Date: Force app to be key
  • Previous by thread: NSTableView who retains NSTableColumns?
  • Next by thread: Re: NSTableView who retains NSTableColumns?
  • Index(es):
    • Date
    • Thread