• 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: Animating source view design advice.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animating source view design advice.


  • Subject: Re: Animating source view design advice.
  • From: Demitri Muna <email@hidden>
  • Date: Thu, 07 Jun 2012 17:57:25 -0400

Hi,

Thanks Corbin for the reply. For some reason I completely forgot that NSOutlineView was a subclass of NSTableView. Yes, of course that is the best (and should have been obvious!) solution.

Cheers,
Demitri

---

On May 30, 2012, at 2:57 PM, Corbin Dunn wrote:

> On May 30, 2012, at 11:37 AM, Demitri Muna <email@hidden> wrote:
>
>> Just because I hate orphaned questions (as no one answered), I thought I'd answer my own question.
>>
>> Most examples that use Core Data/bindings/array controllers use a table view as the source view, but I wanted something more flexible with my own custom view that involved a little animation. Although NSTableCellView makes this a little easier, it still felt shoehorned into a table view.
>
> Really? Why? It fits quite perfectly with the view based tableview.
>
>> I think the best answer is the realization that I don't need a table view at all to use the machinery above,
>
> I think the best solution is to use a view based NSOutlineView with variable row heights and custom background drawing on the NSTableRowView.
>
> FWIW, Xcode uses NSOutlineView (non-view based at the current time).

_______________________________________________

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

  • Prev by Date: Re: Tool for creating application icon
  • Next by Date: Fwd: Tool for creating application icon
  • Previous by thread: Re: Tool for creating application icon
  • Next by thread: Color Panel oddity
  • Index(es):
    • Date
    • Thread