Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.
Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.
- Subject: Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.
- From: Andrew White <email@hidden>
- Date: Wed, 27 Apr 2005 15:03:44 +1000
August Trometer wrote:
I think you need to end your list of objects with a nil...
NSArray *arr = [NSArray arrayWithObjects: mA, mB, nil];
Good point. Replace with a trickier question: "Why does it 'work' when I
remove the NSString encoding, even when I subsequently encode other arrays
and objects?"
--
Andrew White
--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden