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
Post a Comment