• 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: What's so special about NSString literals? (RE: memory management)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's so special about NSString literals? (RE: memory management)


  • Subject: Re: What's so special about NSString literals? (RE: memory management)
  • From: Eric <email@hidden>
  • Date: Wed, 17 May 2006 22:34:42 -0700


This....

NSString *foo = @"string";

... is completely different than this....

NSString *foo = [NSString stringWithString: @"string"];



Thanks, this is all I needed to know.  I was just temporarly confused by the
use of the word "constant", not that I don't understand Cocoa's memory
management.
_______________________________________________
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


References: 
 >What's so special about NSString literals? (RE: memory management) (From: Eric <email@hidden>)
 >Re: What's so special about NSString literals? (RE: memory management) (From: Nick Zitzmann <email@hidden>)
 >Re: What's so special about NSString literals? (RE: memory management) (From: Eric <email@hidden>)
 >Re: What's so special about NSString literals? (RE: memory management) (From: Eric <email@hidden>)
 >Re: What's so special about NSString literals? (RE: memory management) (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: RE: Help with an old problem - Solved
  • Next by Date: [Q] arrow key codes?
  • Previous by thread: Re: What's so special about NSString literals? (RE: memory management)
  • Next by thread: Is NSPopUpButton KVO compliant?
  • Index(es):
    • Date
    • Thread