I'm just getting started with Objective-C and I'm writing a simple application. I made two outlets : + wnd - main window + display - the text box
I want to put window title into the text box. But, i can not get the window title. Does anyone can show me how to get it to work? Thank a lot.
使用NSWindow的title属性。
display.stringValue = wnd.title;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.