• 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: View-based outline view problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View-based outline view problem


  • Subject: Re: View-based outline view problem
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 10 Jul 2014 10:30:03 -0500

On Jul 10, 2014, at 2:25 AM, Shane Stanley <email@hidden> wrote:

> I'm trying to convert a cell-based outline view to view-based. The model is a file wrapper, I'm using a datasource, and it was working fine while cell-based. I changed from a text cell to NSTableCellView, and when I set it up to use bindings for its image view and text field, it also worked OK. But when I try to do it without the bindings, I have no luck. The items all appear with the name "Table View Cell" and the gear image.
>
> I fear I'm doing something basic incorrectly, but I can't see what. My -outlineView:viewForTableColumn:row: is not even getting called, which seems very odd. (And yes, I commented out -outlineView:willDisplayCell:forTableColumn:item:). Any suggestions?

Are your outlets connected?  Is your delegate object actually set as the table view's delegate?

Are the textField and imageView outlets of the NSTableCellView connected to the text field and image view within it?

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >View-based outline view problem (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Aligning baseline of NS controls
  • Next by Date: Re: Aligning baseline of NS controls
  • Previous by thread: Re: View-based outline view problem
  • Next by thread: Re: View-based outline view problem
  • Index(es):
    • Date
    • Thread