nswindow - How can I set the title of non-main-windows in an NSDocument application? -
i working on document-based osx application, master-detail style windows. understand how open additional windows, display additional information, using -makewindowcontrollers
, adding window controllers, can't set title of new windows. have tried using -settitle
, -windowtitlefordocumentdisplayname
in both document.m
, in sub-classed window controller class, can't window title change.
how change title of non-main-windows, have sub-classed window controller, in nsdocument based application?
edit: know there suggestions on using iboutlet window this, surely window controller has reference window anyway, right?
Comments
Post a Comment