Archiving / Unarchiving results in initForReadingWithData incomprehensible archive

后端 未结 3 1604
無奈伤痛
無奈伤痛 2021-01-03 08:08

I\'ve implemented an save on applicationWillTerminate and load on applicationWillFinishLoading. There is a complete object tree, all implement the

3条回答
  •  太阳男子
    2021-01-03 08:42

    It seems that store more than around 230000 bytes via an NSMutableArray will cause the NSKeyedArchiver to create a broken plist file.

    220000 works, 250000 didn't. Did search for the exact amount that is allowed.

提交回复
热议问题