• 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
NSMutableArray becomes NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMutableArray becomes NSString?


  • Subject: NSMutableArray becomes NSString?
  • From: Timothy Collett <email@hidden>
  • Date: Fri, 13 Apr 2007 09:01:44 -0400

I am attempting to use an NSMutableArray, and while debugging, I can observe it get initialized, and have 2 objects added to it...and then, some time between there and when I need to access it (still within the initialization phase of my program), it turns into an NSString. The address appears to be the same, but the type has inexplicably changed. I have gone through my program, checked every occurrence of the variable in question, and every occurrence of NSString (it's not yet a very large program), and I can see nowhere that they even occur on the same line, let alone have the array cast to a string...

Can anyone give some advice as to a) how this might have happened, and/or b) how I might go about tracking down exactly where it happens?

Thanks very much...and apologies if this is some stupid n00b problem :-/

Timothy Collett
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: NSMutableArray becomes NSString?
      • From: James Bucanek <email@hidden>
    • Re: NSMutableArray becomes NSString?
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Sorting Array Alphabetically
  • Next by Date: Re: Getting the context of a context menu
  • Previous by thread: Re: Sorting Array Alphabetically
  • Next by thread: Re: NSMutableArray becomes NSString?
  • Index(es):
    • Date
    • Thread