Modify a key-value pair of an NSMutableDictionary that is represented by an NSData

Discussion in 'iOS Programming' started by moonman239, May 2, 2014.

  1. moonman239 macrumors 68000

    Mar 27, 2009
    Instead of unarchiving an NSData object to get an NSDictionary with which I can work, what else can I do?
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    Nothing. If the NSData encodes an NSDictionary, you have to decode it to do anything with it.

    If the encoded form is a textual format that it's practical to do textual transformations on, there may be other options. But unless you tell us exactly what the encoded form is, i.e. what format the NSData itself is, the answer won't change.

Share This Page