Visualization reaction to devices activating

This commit is contained in:
Charles Magahern
2015-12-31 17:30:23 -08:00
parent 303c620372
commit 4df09f18c5
6 changed files with 93 additions and 14 deletions
@@ -99,7 +99,8 @@ class WemoDeviceCellView: UICollectionViewCell {
// MARK: API
var device: WemoDevice? {
var device: WemoDevice?
{
get
{
return _device
@@ -112,7 +113,8 @@ class WemoDeviceCellView: UICollectionViewCell {
}
}
var ordinal: Int {
var ordinal: Int
{
get
{
return _ordinal
@@ -125,7 +127,8 @@ class WemoDeviceCellView: UICollectionViewCell {
}
}
var toggled: Bool {
var toggled: Bool
{
get
{
return (_device?.state == .On)