summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange+UIAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBRange+UIAdditions.m')
-rw-r--r--macosx/HBRange+UIAdditions.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/macosx/HBRange+UIAdditions.m b/macosx/HBRange+UIAdditions.m
index f7061acf7..18710a159 100644
--- a/macosx/HBRange+UIAdditions.m
+++ b/macosx/HBRange+UIAdditions.m
@@ -30,14 +30,29 @@
return self.type == HBRangeTypeChapters;
}
++ (NSSet<NSString *> *)keyPathsForValuesAffectingChaptersSelected
+{
+ return [NSSet setWithObjects:@"type", nil];
+}
+
- (BOOL)secondsSelected
{
return self.type == HBRangeTypeSeconds;
}
++ (NSSet<NSString *> *)keyPathsForValuesAffectingSecondsSelected
+{
+ return [NSSet setWithObjects:@"type", nil];
+}
+
- (BOOL)framesSelected
{
return self.type == HBRangeTypeFrames;
}
++ (NSSet<NSString *> *)keyPathsForValuesAffectingFramesSelected
+{
+ return [NSSet setWithObjects:@"type", nil];
+}
+
@end