Article:
 |
|
Animating Graphics in Cocoa, Part 1
|
| Subject: |
|
Archiving graphics |
| Date: |
|
2002-01-18 14:47:49 |
| From: |
|
michele
|
Response to: Archiving graphics
|
|
Hello Mike,
Thanks to nice guys at cocoa-dev mailing list and after a whole day tracking memory leaks, archiving and unarchiving works almost fine with an NSMutableDictionary.
Saving and opening works fine, but closing the window calls the save panel only when an IBAction occured (changing colors and line widths).
I still don't know how to tell the document that the view has changed after a mouse event has occured (paths are drawn by defining a rectangle from mouse down, mouse dragged, and mouse up events).
Any idea?
Thanks in advance,
Michèle
|
Showing messages 1 through 3 of 3.
-
Archiving graphics
2002-01-20 11:17:34
Michael Beam |
[View]
-
Archiving graphics
2002-01-20 14:29:24
michele
[View]
For your other question in the previous post i would have gone the route you did with the NSMutableDictionary.
Mike