/* |
|
Copyright (C) 2014 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
|
Abstract: |
An example demonstrating adding accessibility to an NSView subclass that behaves like a button by implementing the NSAccessibilityButton protocol. |
|
*/ |
|
@import Cocoa; |
|
@protocol AAPLTicTacToeButtonDelegate <NSObject> |
- (void)buttonPressed:(id)sender; |
@end |
|
@interface AAPLTicTacToeButtonView : NSView <NSAccessibilityButton> |
|
@property (nonatomic, weak) id <AAPLTicTacToeButtonDelegate> delegate; |
|
@end |