• 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: Retain Release functionality in C++ library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retain Release functionality in C++ library


  • Subject: Re: Retain Release functionality in C++ library
  • From: "Paul J. Lucas" <email@hidden>
  • Date: Tue, 21 Feb 2006 21:15:10 -0800 (PST)

On Wed, 22 Feb 2006, innovator information wrote:

> I am writing a C++ library. I want to give retain and release functionality
> to those C++ classes.  How to do that?

	You write your own (or use somebody else's) reference-counting
	framework.

> Do I need to inherit from Objective-C class NSObject?

	No.  Don't cross the streams.

> Is it possible?

	Not unless you don't mind all life as you know it stopping
	instantaneously and every molecule in your body exploding at
	the speed of light.

> Or I need to redo retain and release functionality in my classes by own ?

	Yes.

	- Paul
 _______________________________________________
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

  • Follow-Ups:
    • Re: Retain Release functionality in C++ library
      • From: Rush Manbert <email@hidden>
References: 
 >Retain Release functionality in C++ library (From: "innovator information" <email@hidden>)

  • Prev by Date: Re: NSScriptCoercionHandler ?
  • Next by Date: Re: NSManagedObjectContext won't save...
  • Previous by thread: Retain Release functionality in C++ library
  • Next by thread: Re: Retain Release functionality in C++ library
  • Index(es):
    • Date
    • Thread