Deconstructing Text Tables
Deconstructing Text Tables
- Subject: Deconstructing Text Tables
- From: Charles Jenkins <email@hidden>
- Date: Tue, 18 Nov 2014 07:38:48 -0500
It’s very easy to create an NSAttributedString that represents a text table, then show the table in a TextView so the user can edit information in the cells. The documentation on how to create a text table (https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/TextLayout/Articles/TextTables.html) is fairly clear.
What I don’t see—and maybe it’s there but I just don’t understand it—is how to pull the table apart again. Suppose I want to grab all text from the first cell after the user has edited it. How do I do that?
—
Charles Jenkins
_______________________________________________
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