Mingling on detecting UI introduces model changes

This commit is contained in:
michael starke
2016-08-27 13:53:27 +02:00
parent 2cf5c765f1
commit bd3eb7950c
11 changed files with 168 additions and 9 deletions

View File

@@ -0,0 +1,27 @@
//
// MPModelChangeObserving.h
// MacPass
//
// Created by Michael Starke on 26/08/16.
// Copyright © 2016 HicknHack Software GmbH. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol MPModelChangeObserving <NSObject>
FOUNDATION_EXTERN NSString *const MPWillChangeModelNotification;
FOUNDATION_EXTERN NSString *const MPDidChangreModelNotification;
FOUNDATION_EXTERN NSString *const MPModelChangeObservingKeyPathKey;
@required
- (void)willChangeModel;
- (void)didChangeModel;
@end
NS_ASSUME_NONNULL_END