Added wrapping adapter for isHistory to ease binding

This commit is contained in:
michael starke
2017-04-25 11:59:36 +02:00
parent c6200a1079
commit a136243bf6
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
//
// KPKNode+MPIsHistory.m
// MacPass
//
// Created by Michael Starke on 25.04.17.
// Copyright © 2017 HicknHack Software GmbH. All rights reserved.
//
#import "KPKNode+MPIsHistory.h"
@implementation KPKNode (MPIsHistory)
- (BOOL)isHistory {
if(self.asEntry) {
return self.asEntry.isHistory;
}
return NO;
}
@end