Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 765 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 765 Bytes

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