• 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: NSMutableCopy Issue - New to Cocoa and Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableCopy Issue - New to Cocoa and Objective-C


  • Subject: Re: NSMutableCopy Issue - New to Cocoa and Objective-C
  • From: Andrew Filipowski <email@hidden>
  • Date: Tue, 26 Jul 2005 09:17:25 -0500

I need to make a copy of the players because information about the player is changing (total score and weekly score to name a few). I want to be able to go back to a particular week and see what the player information looked like at that exact moment in time. If I was using the same player than going back to a week in the list would show the most recent information not the information snapshot. If there is a better way to do what I want without having all sorts of objects which are almost entirely the same with minor changes to some instance variables floating around in memory I would be all for it but I can't think of one.


Andrew



On Jul 26, 2005, at 8:51 AM, Andreas Mayer wrote:


Am 26.07.2005 um 13:39 Uhr schrieb Andrew Filipowski:


I originally just copied the array that they were in thinking that it was a deep copy I was wrong.


Why do you need to make a copy of the players anyway? Are you changing some player characteristics for only a single month?


Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSMutableCopy Issue - New to Cocoa and Objective-C
      • From: Andreas Mayer <email@hidden>
References: 
 >NSMutableCopy Issue - New to Cocoa and Objective-C (From: Andrew Filipowski <email@hidden>)
 >Re: NSMutableCopy Issue - New to Cocoa and Objective-C (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Localized number formatting
  • Next by Date: Re: Running out of memory with Core Data
  • Previous by thread: Re: NSMutableCopy Issue - New to Cocoa and Objective-C
  • Next by thread: Re: NSMutableCopy Issue - New to Cocoa and Objective-C
  • Index(es):
    • Date
    • Thread