Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the field again to nodeModel #504

Merged
merged 4 commits into from
Aug 10, 2017
Merged

Rename the field again to nodeModel #504

merged 4 commits into from
Aug 10, 2017

Conversation

Adlai-Holler
Copy link
Member

This is a somewhat larger followup to #499, because that diff kept the terminology "view model" but added the prefix "node" to indicate that it's the view model as far as ASDisplayNode is concerned.

This diff changes the terminology itself to "node model," which is much more suited.

Copy link
Contributor

@Kaspik Kaspik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One lower/upper case change

@@ -326,7 +326,7 @@ - (void)performUpdateReloadingSections:(NSDictionary<NSNumber *, id> *)reloadedS
}];

for (NSIndexPath *indexPath in [insertsPlusReloads.allKeys sortedArrayUsingSelector:@selector(compare:)]) {
[self expectViewModelMethodForItemAtIndexPath:indexPath viewModel:insertsPlusReloads[indexPath]];
[self expectnodeModelMethodForItemAtIndexPath:indexPath nodeModel:insertsPlusReloads[indexPath]];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expectnodeModelMethodForItemAtIndexPath -> expectNodeModelMethodForItemAtIndexPath

@Adlai-Holler Adlai-Holler merged commit f58b0b3 into master Aug 10, 2017
@Adlai-Holler Adlai-Holler deleted the AHNodeModel branch August 10, 2017 23:11
Adlai-Holler added a commit that referenced this pull request Aug 15, 2017
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* Rename the field to nodeModel

* A few more instances

* Fix method name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants