On 16 May '08, at 1:36 PM, [EMAIL PROTECTED] wrote:

I got this to work!
...
   NSError **myError;
   NSHTTPURLResponse **serverResponse;
...
self.smsXMLString = [NSString stringWithContentsOfFile:smsXMLPath encoding:NSUTF8StringEncoding error:myError];

If that's not crashing, it's only because it never got an HTTP error. Someone else already pointed out to you that the those types are wrong. What your code will do if an error occurs is try to write the NSError to a random memory location, either crashing or corrupting your state. Go and look up the earlier message if you want to see how to fix it.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to