Re: enhancing NSTextView for optionally-hidden text
Re: enhancing NSTextView for optionally-hidden text
- Subject: Re: enhancing NSTextView for optionally-hidden text
- From: Kurt Bigler <email@hidden>
- Date: Sat, 01 Dec 2012 01:58:22 -0800
On 11/21/12 7:56 AM, Kyle Sluder wrote:
On Wed, Nov 21, 2012, at 07:25 AM, Ross Carter wrote:
The way to do this is by subclassing NSGlyphGenerator to return null
glyphs for text that has your custom Hidden attribute. A WWDC video from
a few years back shows how.
Specifically, start watching from around 21:00 in the video for Session
114—Advanced Cocoa Tips and Tricks from WWDC 2010.
--Kyle Sluder
Thanks, got it.
They make you work a little to get those videos. I had no luck doing a search,
e.g. for WWDC 2010 Session 114—Advanced Cocoa Tips and Tricks, which only
brought up irrelevant results. Instead searching for WWDC produced some
results, but none from 2010, after which WWDC 2010 got me in the ballpark. This
page is a step:
https://developer.apple.com/videos/wwdc/2010/
but is misleading because after selecting the particular video (and they are not
numbered by session) to watch you get instead the entire collection and have to
once again find and select the same video within iTunes you had already selected
on the page linked above.
(Fortunately at least I did not have to sign up to be a member.)
But I'd have never found this without your help, so thanks!
-Kurt
_______________________________________________
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