• 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: cocoa-dev digest, Vol 2 #2893 - 16 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa-dev digest, Vol 2 #2893 - 16 msgs


  • Subject: Re: cocoa-dev digest, Vol 2 #2893 - 16 msgs
  • From: "Anluan O'Brien" <email@hidden>
  • Date: Fri, 5 Sep 2003 11:15:36 -0400

That wouldn't be a singleton, that would be an object with multiple instances that could never be released...
A singleton's supposed to ensure that there is only ever one instance of the object.



If it is a Singleton then why not overload your release method:

- (void)release
{
NSLog(@"Hey you! don't release me!");

// repeat 3 times...
// I will not call this, I will not call this, I will not call this:
[super release];

}


--
"Record companies is just like weight watchers /
they take your loot and leave you less fat but more popular"
- Styles, "Fluids" (Mountain Brothers)
--
Anluan O'Brien
email@hidden
http://www.anluan.com
_______________________________________________
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.

  • Prev by Date: Re: Will this leak memory?
  • Next by Date: beta testing
  • Previous by thread: Re: Split views, tab views and IB
  • Next by thread: Delegate Question
  • Index(es):
    • Date
    • Thread