//
//  GSFilterPropertiesController.h
//  GlyphsCore
//
//  Created by Georg Seifert on 01.05.16.
//  Copyright © 2016 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsKit/GSDialogController.h>
@class GSFont;

@interface GSFilterPropertiesController : NSViewController <GSDialogDelegateProtocol>

@property (nonatomic, weak) IBOutlet NSTextField *nameTextField;
#if !TARGET_OS_IOS // TODO
@property (nonatomic, weak) IBOutlet NSPredicateEditor *predicateEditor;
#endif
@property (nonatomic, weak) IBOutlet NSLayoutConstraint *predicateHeightConstrain;
@property (nonatomic, strong) NSPredicate *predicate;

- (instancetype)initWithFont:(GSFont *)font;

- (void)predicateChanged:(NSNotification *)notification;
@end
