Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のMacアプリの中にボタンを置くことができるかどうか疑問に思いました、そしてそれをクリックすると、それはAbout(アプリ名)ウィンドウを開きますか?
それが理にかなっていることを願っています!:)
に接続し、NSButton次のようFile's Ownerに選択しますorderFrontStandardAboutPanel:。
NSButton
File's Owner
orderFrontStandardAboutPanel:
編集
NSButtonまたは、以下に直接接続しますIBAction。
IBAction
- (IBAction)theButton:(id)sender { [NSApp orderFrontStandardAboutPanel:self]; }