Re: Strange NSString Behavior
Re: Strange NSString Behavior
- Subject: Re: Strange NSString Behavior
- From: Eric Gorr <email@hidden>
- Date: Thu, 26 Feb 2009 17:12:04 -0500
On Feb 26, 2009, at 5:06 PM, Eric Gorr wrote:
Unfortunately, I do not know what else you code might be doing that
=20
would cause the behavior you are seeing.
But, just playing around with dataString a little, I changed it to:
NSString *dataString = [NSString alloc];
and when I ran the app, I saw in the output:
2009-02-26 17:08:48.493 Scanner[4312:813] Did you forget to nest alloc
and init?
So, my question then becomes:
Are you certain the string passed into processFixRecord: is valid?
I'm guessing it isn't and that is where your problem really is.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden