From cba80ebc7f91107a8369d1db31db9d1181c769bb Mon Sep 17 00:00:00 2001 From: Merrick Sapsford Date: Wed, 24 May 2017 22:20:57 +0100 Subject: [PATCH 1/2] Fix appearance accessors --- .../Tabman/TabmanBar/Appearance/Appearance+Interaction.swift | 2 +- Sources/Tabman/TabmanBar/Appearance/Appearance+Layout.swift | 2 +- Sources/Tabman/TabmanBar/Appearance/Appearance+State.swift | 2 +- Sources/Tabman/TabmanBar/Appearance/Appearance+Style.swift | 2 +- Sources/Tabman/TabmanBar/Appearance/Appearance+Text.swift | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/Tabman/TabmanBar/Appearance/Appearance+Interaction.swift b/Sources/Tabman/TabmanBar/Appearance/Appearance+Interaction.swift index ca9c3fea..0f32029f 100644 --- a/Sources/Tabman/TabmanBar/Appearance/Appearance+Interaction.swift +++ b/Sources/Tabman/TabmanBar/Appearance/Appearance+Interaction.swift @@ -9,7 +9,7 @@ import UIKit // MARK: - TabmanBar interaction appearance properties. -extension TabmanBar.Appearance { +public extension TabmanBar.Appearance { public struct Interaction { /// Whether user scroll is enabled on a scrolling button bar. diff --git a/Sources/Tabman/TabmanBar/Appearance/Appearance+Layout.swift b/Sources/Tabman/TabmanBar/Appearance/Appearance+Layout.swift index 7cd44552..e481cbd5 100644 --- a/Sources/Tabman/TabmanBar/Appearance/Appearance+Layout.swift +++ b/Sources/Tabman/TabmanBar/Appearance/Appearance+Layout.swift @@ -9,7 +9,7 @@ import UIKit // MARK: - TabmanBar layout appearance properties. -extension TabmanBar.Appearance { +public extension TabmanBar.Appearance { public struct Layout { diff --git a/Sources/Tabman/TabmanBar/Appearance/Appearance+State.swift b/Sources/Tabman/TabmanBar/Appearance/Appearance+State.swift index 244a83f4..1ec4e166 100644 --- a/Sources/Tabman/TabmanBar/Appearance/Appearance+State.swift +++ b/Sources/Tabman/TabmanBar/Appearance/Appearance+State.swift @@ -9,7 +9,7 @@ import UIKit // MARK: - TabmanBar state appearance properties. -extension TabmanBar.Appearance { +public extension TabmanBar.Appearance { public struct State { /// The color to use for selected items in the bar (text/images etc.). diff --git a/Sources/Tabman/TabmanBar/Appearance/Appearance+Style.swift b/Sources/Tabman/TabmanBar/Appearance/Appearance+Style.swift index 32af27a7..1a9917c3 100644 --- a/Sources/Tabman/TabmanBar/Appearance/Appearance+Style.swift +++ b/Sources/Tabman/TabmanBar/Appearance/Appearance+Style.swift @@ -9,7 +9,7 @@ import UIKit // MARK: - TabmanBar style appearance properties. -extension TabmanBar.Appearance { +public extension TabmanBar.Appearance { public struct Style { /// The background style for the bar. diff --git a/Sources/Tabman/TabmanBar/Appearance/Appearance+Text.swift b/Sources/Tabman/TabmanBar/Appearance/Appearance+Text.swift index 91f14edc..391c1df6 100644 --- a/Sources/Tabman/TabmanBar/Appearance/Appearance+Text.swift +++ b/Sources/Tabman/TabmanBar/Appearance/Appearance+Text.swift @@ -9,7 +9,7 @@ import UIKit // MARK: - TabmanBar text appearance properties. -extension TabmanBar.Appearance { +public extension TabmanBar.Appearance { public struct Text { /// The font to use for text labels in the bar. From e4523b418b55b4936fc2be63883a26ead2391b7e Mon Sep 17 00:00:00 2001 From: Merrick Sapsford Date: Wed, 24 May 2017 22:43:39 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b0c8082..b92819dd 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ tabViewController.bar.appearance = TabmanBar.Appearance({ (appearance) in }) ``` -**Documentation for all the available appearance properties can be found here: [Appearance Docs](Docs/APPEARANCE.md).** +**Documentation for all the available appearance properties can be found here: [Appearance](Docs/APPEARANCE.md).** ### Advanced