草庐IT

NSRadioButton

全部标签

swift - 如何在 Xcode 7 OSX 中创建 NSRadioButton 组

我正在关注thistutorial关于如何创建单选按钮组。但似乎RadioGroup在Xcode7库中不再可用,我没有找到太多关于它的信息。我如何创建这样的东西:非常感谢。 最佳答案 引自Xcode7releasenotes:ThetemplateforRadiobuttonsintheInterfaceBuilderobjectlibraryisnowimplementedasindividualNSButtonobjects,ratherthantheolderNSMatrix,whichisdiscouragedonOSXv1