카테고리 없음

[iOS] NSViewRepresentable, UIViewRepresentable를 typealias로 묶기

SweetDev 2023. 4. 10. 19:22
#if os(macOS)
public typealias ViewRepresentable = NSViewRepresentable
#else
public typealias ViewRepresentable = UIViewRepresentable
#endif