更新时间:2023-01-01 17:35:51
如果你想创建一个新窗口的单独类,这些是步骤:
If you want to create a separate class for New Window, these are the steps:
按钮上的代码为:
On button click code as:
NewWindowController *controllerWindow = [[NewWindowController alloc] initWithWindowNibName:@"You Window XIB Name"];
[controllerWindow showWindow:self];