This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DeviceInfo(softwareRevision, isOn, | |
SceneLightState(color, powerOnBehavior, deviceInfo | |
Light(id, | |
Capabilities(dimmable, customState | |
PowerOnBehavior(option | |
hueplay, huebloom, hueiris, huelightstrip, huego, plug, bollard, wallspot, groundspot, flexiblelamp, wallshade, walllantern | |
[ea:44:13:bd:db:59] Service [b8843add-0000-4aa1-8794-c3f462030bda] Unknown, ble_firmware_update? | |
[ea:44:13:bd:db:59] Characteristic [b8843add-0004-4aa1-8794-c3f462030bda] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
// Linked List | |
// need to keep track of where the list begins and ends. | |
// value: data | |
// next and previous: poninters | |
public class Node { | |
var value: String // non-optional value | |
var next: Node? // must be optional so we can point to nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Configure the Scene View | |
self.sceneView.backgroundColor = .darkGrayColor() | |
// Create the scene | |
let scene = SCNScene() | |