Skip to content

Commit

Permalink
Alternative to xmartlabs#378
Browse files Browse the repository at this point in the history
  • Loading branch information
pera committed May 22, 2017
1 parent a0c75eb commit 77da46e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/IndicatorInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ public struct IndicatorInfo {
public var title: String?
public var image: UIImage?
public var highlightedImage: UIImage?
public var userInfo: Any?

public init(title: String?) {
self.title = title
}

public init(image: UIImage?, highlightedImage: UIImage? = nil) {
public init(image: UIImage?, highlightedImage: UIImage? = nil, userInfo: Any? = nil) {
self.image = image
self.highlightedImage = highlightedImage
}

public init(title: String?, image: UIImage?, highlightedImage: UIImage? = nil) {
public init(title: String?, image: UIImage?, highlightedImage: UIImage? = nil, userInfo: Any? = nil) {
self.title = title
self.image = image
self.highlightedImage = highlightedImage
Expand Down

0 comments on commit 77da46e

Please sign in to comment.