• 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
alloc]init] VS new]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alloc]init] VS new]


  • Subject: alloc]init] VS new]
  • From: Sandro Noel <email@hidden>
  • Date: Thu, 18 Sep 2008 16:50:58 -0400

Greetings.

I'm looking thru the examples for NSOperation <-- my god thread made easy, what a dream come true.

I noticed the [Object new] message instead of [[Object alloc]init]

i've been looking for the diference, and couls not yet find it in the documentation.
could someone explain ?


what i'm thinking is that the "new" message creates "alloc-init- autorelease" object,
but that's just a beginer's assumptions.


couls someone point me to the doc ?

thank you all !!
Sandro.
_______________________________________________

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: alloc]init] VS new]
      • From: Jim Correia <email@hidden>
    • Re: alloc]init] VS new]
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: How to get AirPort Connection Status
  • Next by Date: Re: alloc]init] VS new]
  • Previous by thread: WebView and authentication dialog
  • Next by thread: Re: alloc]init] VS new]
  • Index(es):
    • Date
    • Thread