objective c - NSMenu update title -


i have created nsmenu dynamically created , lists hdd's attached computer. each of these submenu contains nsmenuitem created title "calculating size...". on thread enumerating through specific folders return string replace title.

i have setup correctly if have 1 of these submenu's selected when enumeration finishes doesn't reflect change in title until either highlight item or select different submenu , come back.

what correct way of achieving update?


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -