Skip to content

Commit 1823d83

Browse files
authored
Merge pull request #2 from mobillium/Version
Version and bubbleVInset
2 parents b24ee0e + 3db4cc7 commit 1823d83

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

MobilliumToolTips.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'MobilliumToolTips'
3-
s.version = '0.1.0'
3+
s.version = '1.0.0'
44
s.summary = 'Simplify the user journey with customizable step-by-step guides'
55

66
s.description = <<-DESC

MobilliumToolTips/Classes/GKTooltipView/GKTooltipViewController+UISetup.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ extension GKTooltipViewController {
5353
private func showTip(with view: UIView) {
5454
gkTooltipPopup.configure(with: dataSource.gkTooltipPopupModels[currentNodeIndex])
5555
gkTooltipPopup.frame = gkTooltipPopup.getRect()
56-
let preferences = getTipPrefences(bubbleHInset: gkTooltipPopup.bubleH, bubleVInset: gkTooltipPopup.bubleV)
56+
let preferences = getTipPrefences(bubbleHInset: gkTooltipPopup.bubleH, bubbleVInset: gkTooltipPopup.bubleV)
5757
let tipView = EasyTipView(contentView: gkTooltipPopup, preferences: preferences, delegate: nil)
5858
tipView.show(forView: view)
5959
self.tipView = tipView
@@ -65,7 +65,7 @@ extension GKTooltipViewController {
6565
private func showTip(with barItem: UIBarItem) {
6666
gkTooltipPopup.configure(with: dataSource.gkTooltipPopupModels[currentNodeIndex])
6767
gkTooltipPopup.frame = gkTooltipPopup.getRect()
68-
let preferences = getTipPrefences(bubbleHInset: gkTooltipPopup.bubleH, bubleVInset: gkTooltipPopup.bubleV)
68+
let preferences = getTipPrefences(bubbleHInset: gkTooltipPopup.bubleH, bubbleVInset: gkTooltipPopup.bubleV)
6969
let tipView = EasyTipView(contentView: gkTooltipPopup, preferences: preferences, delegate: nil)
7070
tipView.show(forItem: barItem)
7171
self.tipView = tipView
@@ -74,7 +74,7 @@ extension GKTooltipViewController {
7474
gkTooltipPopup.updatePadding(by: (self.tipView?.preferences.drawing.arrowPosition)!)
7575
}
7676

77-
private func getTipPrefences(bubbleHInset: CGFloat, bubleVInset: CGFloat) -> EasyTipView.Preferences {
77+
private func getTipPrefences(bubbleHInset: CGFloat, bubbleVInset: CGFloat) -> EasyTipView.Preferences {
7878
var preferences = EasyTipView.globalPreferences
7979
preferences.drawing.backgroundColor = .pureWhite
8080
preferences.drawing.cornerRadius = 10
@@ -87,7 +87,7 @@ extension GKTooltipViewController {
8787
preferences.animating.dismissDuration = GKTooltip.popupAnimationDuration
8888

8989
preferences.positioning.bubbleHInset = bubbleHInset
90-
preferences.positioning.bubbleVInset = 32
90+
preferences.positioning.bubbleVInset = bubbleVInset
9191

9292
return preferences
9393
}

0 commit comments

Comments
 (0)