sprite kitYourNextScene

Swift
if isInit {
  do nothing
} else {
  add sprites
  isInit = true
}
Source

Also in Swift: