 //
 
 import UIKit
+#if canImport(SwiftUI) && canImport(Combine)
 import SwiftUI
+#endif
 
 /// Enum that specifies the direction of the poptip
 public enum PopTipDirection {


    show(duration: duration)
  }
  
  /// Update the current text
  ///

    show(duration: duration)
  }
    
#if canImport(SwiftUI) && canImport(Combine)
  /// Shows an animated poptip in a given view, from a given rectangle. The property `isVisible` will be `true` as soon as the poptip is added to the given view.
  ///
  /// - Parameters:
