• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSData Deprecations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >NSData Deprecations (From: Isaac Sherman <email@hidden>)

  • Prev by Date: Re: NSButton Colour?
  • Next by Date: Re: Notification from dealloc and overiding retain/release scheme
  • Previous by thread: NSData Deprecations
  • Next by thread: Re: NSData Deprecations
  • Index(es):
    • Date
    • Thread