• 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: MutableArrays losing its contents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MutableArrays losing its contents?


  • Subject: Re: MutableArrays losing its contents?
  • From: Lee Morgan <email@hidden>
  • Date: Mon, 1 Dec 2003 21:20:06 -0500

On Dec 1, 2003, at 2:16 PM, Clark Cox wrote:

Well, there you go, that's a different array (0x301650 vs. 0x33e170). Somewhere in your code, you're assigning a new array to your pointer.

Well, your exactly right - I did some extra check and the array I'm adding into is getting and keeping its contents its just for some reason I'm getting a second instance of the SAME array in the other method. But I have no idea why this is happening... My array is global to the class and I only alloc and init it one time in my initWithFrame method.

Any ideals?


Lee Morgan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: MutableArrays losing its contents?
      • From: Lee Morgan <email@hidden>
References: 
 >Re: MutableArrays losing its contents? (From: Lee Morgan <email@hidden>)
 >Re: MutableArrays losing its contents? (From: Clark Cox <email@hidden>)

  • Prev by Date: Re: rounding a float
  • Next by Date: Re: NSBezierPath
  • Previous by thread: Re: MutableArrays losing its contents?
  • Next by thread: Re: MutableArrays losing its contents?
  • Index(es):
    • Date
    • Thread