Use properties instead of ivars (#2453)

This commit is contained in:
Dmitry Serov
2022-02-22 16:04:20 +00:00
committed by GitHub
parent 95e30768c4
commit 54d1a02e92
103 changed files with 3653 additions and 3917 deletions

View File

@@ -7,34 +7,6 @@
#import "InfoViewController.h"
@interface InfoGeneralViewController : NSViewController<InfoViewController>
{
NSArray* fTorrents;
BOOL fSet;
IBOutlet NSTextField* fPiecesField;
IBOutlet NSTextField* fHashField;
IBOutlet NSTextField* fSecureField;
IBOutlet NSTextField* fDataLocationField;
IBOutlet NSTextField* fCreatorField;
IBOutlet NSTextField* fDateCreatedField;
IBOutlet NSTextView* fCommentView;
IBOutlet NSButton* fRevealDataButton;
//remove when we switch to auto layout on 10.7
IBOutlet NSTextField* fPiecesLabel;
IBOutlet NSTextField* fHashLabel;
IBOutlet NSTextField* fSecureLabel;
IBOutlet NSTextField* fCreatorLabel;
IBOutlet NSTextField* fDateCreatedLabel;
IBOutlet NSTextField* fCommentLabel;
IBOutlet NSTextField* fDataLocationLabel;
IBOutlet NSTextField* fInfoSectionLabel;
IBOutlet NSTextField* fWhereSectionLabel;
IBOutlet NSScrollView* fCommentScrollView;
}
- (void)setInfoForTorrents:(NSArray*)torrents;
- (void)updateInfo;