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

[ASDataController] Clean up #443

Merged
merged 3 commits into from
Jul 17, 2017

Conversation

nguyenhuy
Copy link
Member

@nguyenhuy nguyenhuy commented Jul 14, 2017

  • Elements are not allocated and measured in batches anymore. Remove the code that does batch allocation.
  • The value returned by -_allocateNodesFromElements:andLayout:completion is not used. Remove it.
  • Remove +parallelProcessorCount.
  • Remove RETURN_IF_NO_DATASOURCE macro. It's used only once and is not worth it.

@nguyenhuy nguyenhuy changed the title Clean up ASDataController [ASDataController] Clean up Jul 14, 2017
- Parameters passed to ASDataControllerCompletionBlock are no longer used. Remove them.
- The value returned by _allocateNodesFromElements:andLayout:completion is not used. Remove it.
- Elements are not allocated and measured in batches anymore. Remove the code that does batch allocation.
- Remove RETURN_IF_NO_DATASOURCE. It's used only once and is not worth it.
Copy link
Contributor

@maicki maicki left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@nguyenhuy
Copy link
Member Author

Thanks, @maicki!

@nguyenhuy nguyenhuy merged commit 292dc3c into TextureGroup:master Jul 17, 2017
@nguyenhuy nguyenhuy deleted the HNCleanUpDataController branch July 17, 2017 11:47
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* Clean up ASDataController
- Parameters passed to ASDataControllerCompletionBlock are no longer used. Remove them.
- The value returned by _allocateNodesFromElements:andLayout:completion is not used. Remove it.
- Elements are not allocated and measured in batches anymore. Remove the code that does batch allocation.
- Remove RETURN_IF_NO_DATASOURCE. It's used only once and is not worth it.

* Remove +parallelProcessorCount

* Update CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants