NSZombie

NSZombie is a memory debugging aid which can help you debug subtle over-release/autorelease problems. What is NSZombie http://stackoverflow.com/questions/4168327/what-is-nszombie

Read More

Run Time Errors Via The Console Window

Always keep the console window open when running (Menu > Run > Console) Objective C is a dynamic typed language so the compiler doesn’t know if functions you use are actually available at compile time, but an error will be generated when it runs.  ALWAYS have the console window open so you see any errors […]

Read More

Console General (NSLog etc)

View The Console Window Menu > Run > Console Write string to the console NSLog(@"hi"); NSLog(@"This is the string being used: %@", MyStringName); NSLog(@"%d", SomeVariable); //Display decimal variable NSLog(@"%d", SomeBool); //Display boolean variable NSLog(@"%@", SomeDate); //Display Date variable NSLog(@"%f, %f, %f", [accel x], [accel y], [accel z]); //Display float values NSLog(@"%0.2f", SomeFloat); //Display float variable […]

Read More