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

Commit

Permalink
Merge pull request #47 from JohnSundell/view-model-key-path
Browse files Browse the repository at this point in the history
View Model: Use HUBKeyPath
  • Loading branch information
rastersize committed Oct 1, 2016
2 parents eb19c5a + 6328a52 commit ba44cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/HUBViewModelImplementation.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#import "HUBJSONKeys.h"
#import "HUBComponentModel.h"
#import "HUBUtilities.h"
#import "HUBKeyPath.h"

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -42,7 +43,7 @@ @implementation HUBViewModelImplementation

+ (nullable NSSet<NSString *> *)ignoredAutoEquatablePropertyNames
{
return [NSSet setWithObject:NSStringFromSelector(@selector(buildDate))];
return [NSSet setWithObject:HUBKeyPath((id<HUBViewModel>)nil, buildDate)];
}

#pragma mark - Initializer
Expand Down

0 comments on commit ba44cee

Please sign in to comment.