Cocoa Dynamic List in NSMenu

552 views Asked by At

Looking at OS X's built-in applications, such as the WiFi and Bluetooth assistant, they seem to have a list that can be dynamically changed.
image
However, I cannot seem to change the menu without destroying and recreating it (i.e. adding and removing at an index). I am not convinced that this is the best way. Is there a better way to achieve this in Swift?

0

There are 0 answers