• 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: Memory Mania Revisted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Mania Revisted


  • Subject: Re: Memory Mania Revisted
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 10 Feb 2002 20:53:22 +0100

Nicholas,

>>>>>> Nicholas Shanks (NS) wrote at Sun, 10 Feb 2002 18:03:11 +0000:
NS> So, from what I've gathered reading this (rather interesting) thread,
NS> [NSSomeObject new] is entirely equivalent to/synonymous with
NS> [[NSSomeObject alloc] init]
NS>
NS> Is this correct?

This is correct absolutely.

I still guess you should prefer alloc/init like Apple does, but new provably
works, and (for compatibility sake) will for long, long time to come.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Memory Mania Revisted (From: Nicholas Shanks <email@hidden>)

  • Prev by Date: Cocoa & File Attributes Confusion
  • Next by Date: about help
  • Previous by thread: Re: Memory Mania Revisted
  • Next by thread: Re: Memory Mania Revisted
  • Index(es):
    • Date
    • Thread