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

Expose asyncdisplaykit_node in _ASDisplayView same as in _ASDisplayLayer #trivial #773

Merged
merged 2 commits into from
Jan 30, 2018

Conversation

maicki
Copy link
Contributor

@maicki maicki commented Jan 29, 2018

For an upcoming diff I need to have access to the node of the _ASDisplayView. To be aligned with _ASDisplayLayer we should expose it the same way. We exposed it within https://github.com/facebookarchive/AsyncDisplayKit/pull/2346/files for _ASDisplayLayer

@discussion This property overrides the CALayer category method which implements this via associated objects.
This should result in much better performance for _ASDisplayLayers.
*/
@property (nonatomic, weak) ASDisplayNode *asyncdisplaykit_node;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We may should add proper nullable annotations for this and in _ASDisplayLayer too as both could be nil.

Copy link
Member

@Adlai-Holler Adlai-Holler left a comment

Choose a reason for hiding this comment

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

👍

@maicki maicki changed the title Expose asyncdisplaykit_node in _ASDisplayView same as in _ASDisplayLayer Expose asyncdisplaykit_node in _ASDisplayView same as in _ASDisplayLayer #trivial Jan 30, 2018
@maicki maicki merged commit 196d76d into master Jan 30, 2018
Adlai-Holler pushed a commit that referenced this pull request Jan 30, 2018
…yer #trivial (#773)

* Expose asyncdisplaykit_node in _ASDisplayView same as in _ASDisplayLayer

* Change comment
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
…yer #trivial (TextureGroup#773)

* Expose asyncdisplaykit_node in _ASDisplayView same as in _ASDisplayLayer

* Change comment
@maicki maicki deleted the MSExposeNodeInASDisplayView branch September 8, 2018 16:26
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

3 participants