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