SCON Update

SCON for iOS has just been updated. Please check it out!




ThatNote for Windows is now available via the Windows App Store. Please check it out!

Screen Shot 2017-03-27 at 6.20.27 PM


Swift Detect Node Overlap

Detect if nodes overlap
if enemy.contains((car.position)) {
// code

Audio with Swift

Add audio delegate
Pasted Graphic 1
Create audioPlayer public variable
Pasted Graphic
Create music function
Pasted Graphic 2
To prevent below error on play, be sure Music0.m4a is added to Build Phases
Pasted Graphic 4
Pasted Graphic 3

Swift Nil Check

Useful Nil Name Check

// verify name not nil
if (( != nil) {
// exclude already clicked items
// only player circle
if == "player" {
// change node position
node.position = location

//turn off player gravity field
let player = childNodeWithName("player") as! SKShapeNode
player.physicsBody?.dynamic = false
player.physicsBody!.fieldBitMask = PhysicsCategory.player
player.physicsBody?.dynamic = true
} Images in SQL

Writing image to SQL, reading image from SQL Stop String at Character

Stop String at Character
Dim timeStr = stringArr(arrIndex).IndexOf(" ")

WMI Command Prompts

WMI Command Prompts
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=no Replace Character in String

Replace word or character in string
txt.Text = txt.Text.Replace("'", ControlChars.Quote) Color DGV

When coloring DGV, header backcolor:
Pasted Graphic