Re: iOS: encoding a custom view with a shape in it

2011-06-15 Thread Steve Christensen
On Jun 15, 2011, at 8:29 AM, Development wrote: > Using the keyed archiver I save all of the values related to the drawing > inside of the view. Then of course I save the view's parameters. OK, I can see archiving the properties of the shape(s) so that you can restore them. It sounds like you'r

Re: iOS: encoding a custom view with a shape in it

2011-06-11 Thread Steve Christensen
And also to clarify, are you "freeze drying" a view or the objects it draws? You should be doing the latter since that's part of your model. On Jun 11, 2011, at 6:47 PM, Steve Christensen wrote: > How do the results differ between what you saw before and after saving the > document? Is everyth

Re: iOS: encoding a custom view with a shape in it

2011-06-11 Thread Steve Christensen
How do the results differ between what you saw before and after saving the document? Is everything wrong? or just the scaling, the rotation, what? And to draw an object, are you using an affine transform just to rotate it or for scaling and/or translation as well? On Jun 9, 2011, at 4:25 PM, D

iOS: encoding a custom view with a shape in it

2011-06-09 Thread Development
This app allows users to do a number of graphical things. On of those things is to draw rectangles and ellipses. No it would not be complete if they could not resize and rotate these shapes. Thus the features exist. The problem comes when I freeze dry the object. I encode it exactly as it exist