• 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: NSInvocation question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvocation question


  • Subject: Re: NSInvocation question
  • From: Hank Heijink <email@hidden>
  • Date: Mon, 25 Feb 2008 15:44:56 -0500

That's essentially what I ended up doing: I need to save the other three instance variables of the MVActions, so for now I release the NSInvocation ivar before adding an MVAction to the array. Not very elegant maybe, but it does solve my problem.

Thanks,
Hank

On Feb 25, 2008, at 3:30 PM, Nir Soffer wrote:

Another fix - when your document is closed, release the array holding the MVActions, which retain the invocation. This will break the retain cycle and allow your document to be released.


Best Regards,

Nir Soffer


Hank Heijink email@hidden



_______________________________________________

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


References: 
 >NSInvocation question (From: Hank Heijink <email@hidden>)
 >Re: NSInvocation question (From: Nir Soffer <email@hidden>)

  • Prev by Date: Re: NSInvocation question
  • Next by Date: Table column index
  • Previous by thread: Re: NSInvocation question
  • Next by thread: Re: NSInvocation question
  • Index(es):
    • Date
    • Thread