mirror of
https://github.com/dsward2/macSVG.git
synced 2026-03-02 18:23:58 +01:00
All cell-based table views were converted to view-based. A standard macOS Share button was added to the tool panel. It is mainly useful for sending an AirDrop URL to an iPhone or Mac to quickly access the built-in macSVG web server. It produces some warning messages in the log file about SHKRemoteView, but they seem to be common for AirDrop sharing applications and are apparently harmless.
44 lines
1.1 KiB
Objective-C
44 lines
1.1 KiB
Objective-C
//
|
|
// XMLAttributesTableController.h
|
|
// macSVG
|
|
//
|
|
// Created by Douglas Ward on 9/20/11.
|
|
// Copyright © 2016 ArkPhone LLC. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class MacSVGDocumentWindowController;
|
|
@class XMLAttributesTableView;
|
|
|
|
@interface XMLAttributesTableController : NSObject <NSTableViewDelegate, NSTableViewDataSource, NSTextFieldDelegate, NSControlTextEditingDelegate>
|
|
{
|
|
IBOutlet MacSVGDocumentWindowController * macSVGDocumentWindowController;
|
|
|
|
}
|
|
|
|
@property (weak) IBOutlet XMLAttributesTableView * xmlAttributesTableView;
|
|
@property (assign) NSInteger textMovement;
|
|
|
|
@property (strong) NSMutableArray * xmlAttributesArray;
|
|
|
|
- (void)reloadView;
|
|
- (void)reloadData;
|
|
|
|
- (IBAction)tableCellChanged:(id)sender;
|
|
|
|
- (IBAction)addAttributeAction:(id)sender;
|
|
- (IBAction)deleteAttributeAction:(id)sender;
|
|
|
|
- (void)buildAttributesTableForElement;
|
|
|
|
@property (copy) NSXMLElement *xmlElementForAttributesTable;
|
|
- (void)unsetXmlElementForAttributesTable;
|
|
|
|
- (NSString *)selectedAttributeName;
|
|
- (void)selectAttributeWithName:(NSString *)attributeName;
|
|
|
|
- (void)removeAllTableRows;
|
|
|
|
@end
|