Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Test utility to see if your view is getting deallocated properly. Example of using the SelfProxyView class to prevent retain cycle caused by bindings.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
RetainCycleTest.xcodeproj
RetainCycleTest
.gitignore
README.md

README.md

Description

Little utility to investigate how to solve the bindings retain cycle problem.

Usage

  • Launch the application
  • Pick your view's className
  • Click alloc to initialize and add your view to the stage
  • Click release to remove your view and send it a release message, you should see a dealloc message if there are no retain cycles.

Testable Views

  • NSView - stock view
  • RetainCycleTestView - has a binding that causes a retain cycle
  • TearDownTestView - fixed retain cycle by calling a teardown method when with it
  • SelfProxyTestView - fixed retain cycle by subclassing SelfProxyView and binding through selfProxy

SelfProxyView based off: http://theocacao.com/document.page/18

Something went wrong with that request. Please try again.