Getting the full path of a TFENode in Lion
问题 I'm trying to get the full path of a TFENode in OSX Lion, but am unable to get a result using the old way (by converting to an FINode and getting the fullPath - the method [[FINode nodeWithFENode:myTFENode] fullPath] doesn't seem to work for Lion anymore. Is there a way to do this? 回答1: From a TFENode, you can get an OpaqueNodeRef, and use that with FINode's nodeFromNodeRef: method. After that, you can get the NSURL to the item with FINode's previewItemURL method. 来源: https://stackoverflow