Article:
 |
|
Animating Graphics in Cocoa, Part 1
|
| Subject: |
|
Archiving graphics |
| Date: |
|
2002-01-17 11:11:10 |
| From: |
|
michele
|
|
|
|
Hello Mike,
It is not exactly related to this article, but well, for the first time in my life I really enjoy graphics coding (thanks to you).
My question: I have a small programm which draws bezier paths in different locations, sizes, colors and line widths.
Bezier paths, colors and line widths are managed as arrays.
I know how to archive and unarchive one array with one NSData object. How do I archive three arrays with one NSData object?
Any hint would be much appreciated,
Michèle
|
Showing messages 1 through 5 of 5.
-
Archiving example
2002-01-19 00:11:28
psheldon
[View]
-
Archiving graphics
2002-01-18 14:47:49
michele
[View]
-
Archiving graphics
2002-01-20 11:17:34
Michael Beam |
[View]
-
Archiving graphics
2002-01-20 14:29:24
michele
[View]
http://www.oreillynet.com/pub/ct/37
lists all the columns Mike wrote. You seem to have come in late and maybe missed one of the columns.
I've read and programmed from every one, but still feel like a newby. I think it is getting easier to read a column and lingo gets more and more familiar, so I am learning something.
When cocoa first came out, I ventured out on my own alot thinking I could somehow debug immature early documentation and make it grow strong. It was confusing and now I wait for Mike's column but sometimes catch fire with a solo attempt again. The last four days I've gotten dizzy with Maple problem wherein I caught fire.
On the above list of columns, is a link to an address book which, I recall, showed a number of ways to save stuff.
First to build the address book :
http://www.oreillynet.com/pub/a/mac/2001/08/10/cocoa.html
Next to save it various ways :
http://www.oreillynet.com/pub/a/mac/2001/08/24/cocoa.html
Perhaps, in your having struggled with saving graphics, this will firm up the memories for you. Remember, life will have you revisit useful stuff and then you'll be able to relearn it faster than you originally learned it.
;-)