Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit ba44cee

Browse files
authored
Merge pull request #47 from JohnSundell/view-model-key-path
View Model: Use HUBKeyPath
2 parents eb19c5a + 6328a52 commit ba44cee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sources/HUBViewModelImplementation.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#import "HUBJSONKeys.h"
2525
#import "HUBComponentModel.h"
2626
#import "HUBUtilities.h"
27+
#import "HUBKeyPath.h"
2728

2829
NS_ASSUME_NONNULL_BEGIN
2930

@@ -42,7 +43,7 @@ @implementation HUBViewModelImplementation
4243

4344
+ (nullable NSSet<NSString *> *)ignoredAutoEquatablePropertyNames
4445
{
45-
return [NSSet setWithObject:NSStringFromSelector(@selector(buildDate))];
46+
return [NSSet setWithObject:HUBKeyPath((id<HUBViewModel>)nil, buildDate)];
4647
}
4748

4849
#pragma mark - Initializer

0 commit comments

Comments
 (0)