Visualization reaction to devices activating
This commit is contained in:
@@ -74,7 +74,8 @@ class ConnectionStatusView: UIView {
|
||||
|
||||
// MARK: API
|
||||
|
||||
var connectivityStatus: Bool {
|
||||
var connectivityStatus: Bool
|
||||
{
|
||||
get
|
||||
{
|
||||
return _connectivityStatus
|
||||
|
||||
@@ -74,7 +74,8 @@ class SwitchIndicatorView: UIView {
|
||||
|
||||
// MARK: API
|
||||
|
||||
var status: Bool {
|
||||
var status: Bool
|
||||
{
|
||||
get
|
||||
{
|
||||
return _status
|
||||
@@ -88,7 +89,8 @@ class SwitchIndicatorView: UIView {
|
||||
}
|
||||
}
|
||||
|
||||
var foregroundColor: UIColor {
|
||||
var foregroundColor: UIColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return _foregroundColor
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user