How can I find the window re开发者_JAVA百科ference where the NSButton is located from its IBAction call ?
- (IBAction)someAction:(NSButton *)sender;
{
NSWindow *theWindow = [sender window];
}
How can I find the window re开发者_JAVA百科ference where the NSButton is located from its IBAction call ?
- (IBAction)someAction:(NSButton *)sender;
{
NSWindow *theWindow = [sender window];
}
上一篇:怀孕一个月孕酮低有点出血怎么办?
精彩评论