123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // KMDocumentAIPopViewController.m
- // PDF Master
- //
- // Created by 丁林圭 on 2023/2/2.
- //
- #import "KMDocumentAIPopViewController.h"
- @interface KMDocumentAIPopViewController ()
- @property(nonatomic,assign)IBOutlet NSButton *cancelButton;
- @property(nonatomic,assign)IBOutlet NSButton *applyButton;
- @end
- @implementation KMDocumentAIPopViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
-
- self.cancelButton.title = NSLocalizedString(@"Cancel", nil);
- self.applyButton.title = NSLocalizedString(@"Apply", nil);
- }
- - (IBAction)buttonItemClick_Cancel:(id)sender {
- if(self.callback) {
- self.callback(0);
- }
- }
- - (IBAction)buttonItemClick_Apply:(id)sender {
- if(self.callback) {
- self.callback(1);
- }
- }
- @end
|