Skip to content

Instantly share code, notes, and snippets.

@naterhat
naterhat / TestScene
Created November 1, 2014 19:23
Test allocating and deallocating the scene.
// Created by Nate
//
// This is created for the purpose of testing of allocating and deallocating a scene that use a weak and a strong reference.
// - TEST_WEAK is used to toggle weak and strong
// - Line 68, the block action is in the middle of the stack. The action sequence can be switch around to test the allocating and deallocating the scene.
#import "TestScene.h"
/*
This is used to test a weak reference or a strong reference