• 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: Problem with allocating memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with allocating memory


  • Subject: Re: Problem with allocating memory
  • From: Michael Abendroth <email@hidden>
  • Date: Wed, 28 Oct 2009 10:27:47 +0100

Thanks for the input! Using the %p printing, I found out that I might
not actually have the problem I thought I had. I checked for the
addresses in memory of the entries. They are all different so I guess
the problem isn't that they all point to the same object.
Basically, I got a source list to witch the user can add entries via a
button. The user can also edit the entries title by double clicking on
it. The problem is that when you add 3 entries for example, and then
edit them, all the items you renamed before will change their names -
even though they obviously shouldn't. So already while typing in the
new name, all other items will change their names, eventually all are
exactly the same.

Why is this happening?
Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: Problem with allocating memory
      • From: Jeremy Pereira <email@hidden>
    • Re: Problem with allocating memory
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: can the button responce the second click before the first is finished before?
  • Next by Date: Single Static Library for iPhone and Desktop applications
  • Previous by thread: Re: Problem with allocating memory
  • Next by thread: Re: Problem with allocating memory
  • Index(es):
    • Date
    • Thread