-1
I created a button using following code .
NSView *superview = [_window contentView];
NSRect frame = NSMakeRect(10, 10, 200, 100);
button = [[NSButton alloc] initWithFrame:frame];
[button setTitle:@"Click me!"];
所以我怎麼可以設定此按鈕,圖像?
你甚至懶得看'NSButton'類引用? – trojanfoe