• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange NSString Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Using NSTableView without Nib files
  • Next by Date: Re: One IBAction, multiple results from multiple methods
  • Previous by thread: Re: Strange NSString Behavior
  • Next by thread: NSTextView trackingArea problem
  • Index(es):
    • Date
    • Thread