我将开始新的帖子,因为这个问题已被弃用How to read Finder icons (left source list) on OS X using Swift 正如Apple源代码所说:
@available(OSX, introduced=10.5, deprecated=10.11, message="This functionality is no longer supported on OS X.")
public func LSSharedFileListCreate(inAllocator: CFAllocator!, _ inListType: CFString!, _ listOptions: AnyObject!) -> Unmanaged<LSSharedFileList>!
在OS X 10.11 El Capitan中实现此solution的正确方法是什么?