Skip to content

Commit

Permalink
Added BluetoothUUID.name
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jan 5, 2018
1 parent b6ddec8 commit 56f4374
Show file tree
Hide file tree
Showing 3 changed files with 553 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Sources/BluetoothUUID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ extension BluetoothUUID: CustomStringConvertible {

public var description: String {

return rawValue
if let name = self.name {

return "\(rawValue) (\(name))"

} else {

return rawValue
}
}
}

Expand Down
Loading

0 comments on commit 56f4374

Please sign in to comment.