Re: NSData Deprecations
Re: NSData Deprecations
- Subject: Re: NSData Deprecations
- From: Ondra Cada <email@hidden>
- Date: Tue, 17 Sep 2002 20:39:40 +0200
On Tuesday, September 17, 2002, at 07:49 , Isaac Sherman wrote:
I came across a deprecated function that I use extensively; NSData's
deserializeIntAtIndex:, and it's sister function, NSMutableData's
serializeIntAtIndex:. It appears my only alternative is to rewrite
several
large blocks of code to use the NSPropertyList thingie instead, which
seems
overkill to me (considering that several of my uses are just for encoding
a
single number in a temporary file). The thing that pisses me off is that
Apple didn't even ask my permission!
Shame on them! ;)
Anyway, are there any other
alternatives?
Sure: implement your own serialization based on any technology you like
most (I would use archiving myself), as an NSData category. And you can
freely postpone this till serialization is really moved away ;)
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.