iPhone - Using NSCoder with subclass of UIImageView
<p>I have created a subclass of UIImageView and I am handling the touches for its objects inside the subclass itself.</p>

<p>Now when the user is about to exit the app I want to save the state of the images. And as there are multiple transforms which might have taken place on the images (I am saving all the transforms in a dictionary), I want to be able to save these objects in applicationWillTerminate.</p>

<p>I am using the encodeWithCoder and initWithCoder methods. The objects are saved and loaded as expected (at least looks like it). But when I print the frame size and origin, I get some absurd values on the console.</p>

<p>Can someone please tell me if the frame is not saved when encodeWithCoder is called and the contents are stored in a file?</p>

<p>Thanks.</p>
