jjzjj

NSGridView

全部标签

swift - NSGridView 困难

我在我的macOS应用程序的设置面板中使用NSGridView。我是这样设置的:classGeneralViewController:RootViewController{privatevargridView:NSGridView?overridefuncloadView(){super.loadView()letrestaurantLabel=NSTextField()restaurantLabel.stringValue="Restaurant"letrestaurantButton=NSPopUpButton()restaurantButton.addItems(withTitl