markokoleznik / agda-writer

A simple GUI for Agda
Other
31 stars 2 forks source link

NSTableView doesn't get retained #1

Closed markokoleznik closed 9 years ago

markokoleznik commented 9 years ago

After creating a NSTableView with appropriate delegate and datasource, it gets drawn on the screen, but ARC (automatic reference counting) immediately sets self.table to nil. If you click or scroll (any interaction with table), exception with EXC_BAD_ACCESS is thrown.

markokoleznik commented 9 years ago

View containing the table should be set as property.