Getting the full TFENode path in Lion

I'm trying to get the full TFENode path in OSX Lion, but I can’t get the result from the old path (by converting to FINode and getting the full package - method

[[FINode nodeWithFENode:myTFENode] fullPath] 

doesn't seem to work for Leo anymore. Is there any way to do this?

+4
source share
1 answer

From TFENode you can get OpaqueNodeRef and use it with the FINode method nodeFromNodeRef :. After that, you can get the NSURL for the element with the FINode previewItemURL method.

+5
source

Source: https://habr.com/ru/post/1390970/


All Articles