The Cocoa equivalent is NSTableView, NSOutlineView, and NSBrowser. Note that for table and outline views, the old method (still supported, but now considered “legacy”) was cell-based (NSCell), but for new code you should use view-based (NSView) tables. Outline views are based on tables, so they work the same way, just a different data source.

Here’s a good starting place:
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/TableView/Introduction/Introduction.html

Kevin



On 7 Jun 2017, at 1:11, Martin Crane wrote:

Hello all,

I’m looking for guidance in moving a Carbon app which relies heavily on DataBrowser to Cocoa so that it doesn’t die in the 32bit cull.

To give you some perspective, it’s a classic-design dual pane drag and drop file browser app for FTP.

Ideally I’m hoping someone can point me in the direction of source code that I can use (paid or otherwise) to give me a jump start. As you can imagine, it would need to support Finder-style list view at a minimum.

Yes, I know it should have been transitioned years ago, and I have had a few attempts to get started but for very many reasons it never got very far before I gave up and went back to work on the app which is paying my bills :-/

Hoping you can help!

Thanks,
Martin

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/kainjow%40kainjow.com

This email sent to kain...@kainjow.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to