Monday, 14 May 2012

[NSString release] in XCode 4.2??


hi all,

have heard rumor xcode 4 better job of memory management compared former versions.

if declare string like:

code:
nsstring *astring = [nsstring alloc] init];
do still need to:

code:
[astring release];
or looked after xcode4 ??

pete
 

you're missing opening bracket. suspect you're thinking of arc or automated reference counting. here's link documentation.
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment