| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Or using new runtime/compiler support in 10.3+...
- (BOOL)canBeUnarchived: (NSData *)Target_Data
{
@try {
[NSUarchiver unarchiveObjectWithData: Target_Data];
return YES;
} @catch(NSException e) {
... if you wanted to log something ...
}
return NO;
}
| References: | |
| >Re: Feeding NSUnarchiver bad data can cause crash (From: "Douglas A. Welton" <email@hidden>) | |
| >Re: Feeding NSUnarchiver bad data can cause crash (From: Shawn Erickson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.