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 を選択する必要があります。