03/10/11 - 09/10/11
Continuing with the ID3 user interface.
Continuing with acquisition process which is proving quite difficult to implement.
Had a problem where is was trying to access an object that had been deallocated.
If an object has been deallocated objective C will assigned the address to an NSZombie. You can then use the Instruments profile tool to trace the cause of the bug. The video below gives a great explanation, though it is for an older version of xcode.
The important thing to remember is to tick "Record Reference counts" and "Enable NSZombie detection" in the Allocations 'i' menu.
In the stack trace make sure that Invert Stack and File Icon are ticked.
It found my problem, I was not retaining the object therefore it was not accessible when I required it to be.
The video was made using an app called iShowU which looks like it might be useful for demonstrations.
Comments !