From 6b542845f387cd17b0d256be03b6c843863fbe4f Mon Sep 17 00:00:00 2001 From: Max Campolo Date: Mon, 5 Dec 2016 11:47:17 -0500 Subject: [PATCH] Make getter public for SegmentioItem variables --- Segmentio/Source/SegmentioOptions.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Segmentio/Source/SegmentioOptions.swift b/Segmentio/Source/SegmentioOptions.swift index 3473d24..02a1474 100644 --- a/Segmentio/Source/SegmentioOptions.swift +++ b/Segmentio/Source/SegmentioOptions.swift @@ -12,11 +12,11 @@ import UIKit public struct SegmentioItem { - var title: String? - var image: UIImage? - var badgeCount: Int? - var badgeColor: UIColor? - + private(set) public var title: String? + private(set) public var image: UIImage? + private(set) public var badgeCount: Int? + private(set) public var badgeColor: UIColor? + public init(title: String?, image: UIImage?) { self.title = title self.image = image