gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow & NSGraphicsContext issue


From: Xavier Glattard
Subject: Re: NSWindow & NSGraphicsContext issue
Date: Sun, 18 May 2008 22:11:17 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Fred Kiefer <fredkiefer <at> gmx.de> writes:
 
> Last week I tried to resolve a circular refernce problem between 
> NSWindow and NSGraphicsContext.

The window in the dictionary is (should be) only used when creating
the context : delete the dictionary after use or remove the window from
the ddictionary.
You might keep the window (if needed) in a non retained ivar : no cycle!

Too simple...?

Xavier







reply via email to

[Prev in Thread] Current Thread [Next in Thread]