Skip to content

Commit

Permalink
[GH-1440] - Modify styles to contain an attributed text.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincethecoder committed Jul 24, 2018
1 parent 9ed451c commit 3312526
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MapboxNavigation/Style.swift
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,15 @@ open class WayNameView: UIView {
}
}

var attributedText: NSAttributedString? {
get {
return label.attributedText
}
set {
label.attributedText = newValue
}
}

@objc dynamic public var borderColor: UIColor? {
get {
guard let color = layer.borderColor else { return nil }
Expand Down

0 comments on commit 3312526

Please sign in to comment.