how to make an object with a single unique instance like NSNull?
how to make an object with a single unique instance like NSNull?
- Subject: how to make an object with a single unique instance like NSNull?
- From: Johnny Deadman <email@hidden>
- Date: Tue, 29 Mar 2005 09:42:22 -0500
I need to make a version of NSNull for my own purposes (it has to be
a coredata* object so NSNull won't suffice) but I can't figure out
NSNull's trick of only having a single unique instance. In other words
[NSNull null]
always returns the same instance of NSNull no matter how many times
you call it.
How do I do this?
thanks,
JB
*I think we are allowed to say the word without breaking NDA, niet?
--
John Brownlow
Deep Fried Films, Inc
http://www.johnbrownlow.com
http://www.pinkheadedbug.com
_______________________________________________
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