• 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: Do I need to relase @"string" ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do I need to relase @"string" ??


  • Subject: Re: Do I need to relase @"string" ??
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 2 Mar 2009 16:18:55 -0500

On Mon, Mar 2, 2009 at 3:58 PM, James Cicenia <email@hidden> wrote:
> DO I HAVE TO WORRY ABOUT RELEASING currentMiles somewhere?

YOU MIGHT WANT TO WORRY about releasing your Shift key.  ;-)

Just follow the memory management guides.  You didn't use +alloc,
+new, or -copy to make the object, so you don't own it.  Therefore you
don't have to worry about releasing it.

--Kyle Sluder
_______________________________________________

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: Do I need to relase @"string" ??
      • From: Dave DeLong <email@hidden>
References: 
 >Do I need to relase @"string" ?? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Custom file types and extensions
  • Next by Date: Re: Custom file types and extensions
  • Previous by thread: Re: Do I need to relase @"string" ??
  • Next by thread: Re: Do I need to relase @"string" ??
  • Index(es):
    • Date
    • Thread