I'm having a NSCollectionView
consist of 10 NSButtons
and also dragged a NSpanel
from object library. If i click a button NSpanel
should be appeared.If i clicked the next button, last generated NSpanel should closed and another NSpanel was opened. What my problem is the NSpanel was generated, if i clicked the Second Button another NSpanel appeared and the previous one was not closed.
Asked
Active
Viewed 51 times
0

Muruganandham K
- 5,271
- 5
- 34
- 62
-
Please show the code for your button action. – uchuugaka Jun 24 '13 at 09:34
-
simply i NSlogged panel. i thing the NSpanel subclass object was initiated repeatedly... – Muruganandham K Jun 24 '13 at 10:00