Re: NSTableView inside NSTextView
Re: NSTableView inside NSTextView
- Subject: Re: NSTableView inside NSTextView
- From: Ulf Dunkel <email@hidden>
- Date: Fri, 17 Oct 2014 09:10:36 +0200
- Organization: invers Software & DSd.net
Lee Ann,
thank you for pointing me to the TextEdit sources which I had already
checked. They do not even contain the terms "NSTable" or "NSTextTable"
at all. TextEdit seems to keep all text content in a simple NSTextView.
They just added the system method -orderFrontTablePanel: to the app menu
in Edit.nib. So I guessed that the system would handle the whole table
stuff itself, even the resizing by dragging with the mouse pointer.
- - - - -
Am 17.10.2014 um 04:17 schrieb Lee Ann Rucker:
You can get TextEdit's source code and see how they did it: https://developer.apple.com/library/mac/samplecode/textedit/Introduction/Intro.html
_______________________________________________
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