Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将一个转换或类型转换为另一个?
我想这样做是因为我的 QuickLook 生成器对缩略图和预览都做同样的事情。
不,它们根本不同。您必须将它们包装在您自己的对象中,并选择相应的 API 来响应请求。