Skip to content

Commit

Permalink
Merge pull request #6 from mobillium/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
serkanerkan authored Aug 14, 2023
2 parents 2fc987a + 9350f43 commit c1a81ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MobilliumToolTips.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MobilliumToolTips'
s.version = '1.0.2'
s.version = '1.0.3'
s.summary = 'Simplify the user journey with customizable step-by-step guides'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion MobilliumToolTips/Classes/GKTooltipPopup/EasytipView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public extension EasyTipView {

precondition(superview == nil || view.hasSuperview(superview!), "The supplied superview <\(superview!)> is not a direct nor an indirect superview of the supplied reference view <\(view)>. The superview passed to this method should be a direct or an indirect superview of the reference view. To display the tooltip within the main window, ignore the superview parameter.")

let superview = superview ?? UIApplication.shared.windows.first!
let superview = superview ?? UIApplication.shared.windows.last!

let initialTransform = preferences.animating.showInitialTransform
let finalTransform = preferences.animating.showFinalTransform
Expand Down
8 changes: 8 additions & 0 deletions MobilliumToolTips/Classes/GKTooltipView/GKTooltip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ public final class GKTooltip {
public func dismissGKTooltip() {
gkTooltipVC.dismissGKTooltip()
}

public func nextGKTooltip() {
gkTooltipVC.nextGKTooltip()
}

public func previousGKTooltip() {
gkTooltipVC.previousGKTooltip()
}

private let gkTooltipVC = GKTooltipViewController()
}

0 comments on commit c1a81ef

Please sign in to comment.