On 11 Sep 2015, at 8:11, Patrick Robertson wrote:
> I was looking at the if statement and what it does, but couldn’t
> figure out the purpose of it.
Just from the names of the methods, I think it’s trying to get the
string value of the text in the clipping so you can use it with all the
text actions.
> It seems to be for text clippings/web clippings etc. but the
> corresponding code never gets run ([2]) because [pasteboard types]
> always returns an empty array, so that for loop never gets run.
It’s always empty? Seems like it’s supposed to get populated by
`pasteboardByFilteringClipping:` in NSPasteboard_BLTRExtensions.m. Have
you tried stepping through it?
--
Rob McBroom
http://www.skurfer.com/