Automatically update devices on an interval

This commit is contained in:
Charles Magahern
2015-12-31 23:29:48 -08:00
parent e6dd661338
commit 697a7e1de9
4 changed files with 107 additions and 2 deletions

View File

@@ -132,6 +132,7 @@ public class WemoDeviceCellView: WemoCellView {
{
_device = device
_nameLabel.text = _device?.name.uppercaseString
self.setNeedsLayout()
}
}
@@ -146,6 +147,7 @@ public class WemoDeviceCellView: WemoCellView {
{
_ordinal = ordinal
_ordinalLabel.text = String(format: "%.2d", _ordinal)
self.setNeedsLayout()
}
}