Skip to content

Fix pager node for interface coalescing#877

Merged
Adlai-Holler merged 17 commits into
TextureGroup:masterfrom
wsdwsd0829:Fix-PagerNode-for-interface-coalescing
May 19, 2018
Merged

Fix pager node for interface coalescing#877
Adlai-Holler merged 17 commits into
TextureGroup:masterfrom
wsdwsd0829:Fix-PagerNode-for-interface-coalescing

Conversation

@wsdwsd0829

Copy link
Copy Markdown
Contributor

This suppose to fix #845 from interface coalescing point of view.

@Adlai-Holler Adlai-Holler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This diff looks fine, thanks for fixing! Just two typos and then we'll merge this one.

Comment thread Source/ASDisplayNode+Subclasses.h Outdated

/**
* Called just after the view is added to a window.
* Note: this may be called multiple times during view controller transitions. To overcome this: use didEnterVisibleState or it's equavalents.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: or its equivalents, no apostrophe

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment thread Source/ASDisplayNode.mm Outdated

- (void)didEnterHierarchy {
ASDisplayNodeAssertMainThread();
ASDisplayNodeAssert(!_flags.isEnteringHierarchy, @"You should never call -willEnterHierarchy directly. Appearance is automatically managed by ASDisplayNode");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Update. comment You should never call -didEnterHierarchy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, thanks.

@Adlai-Holler

Copy link
Copy Markdown
Member

(Sorry Max) One more thing, could you add a line to the changelog describing the fix?

@wsdwsd0829

Copy link
Copy Markdown
Contributor Author

Done, sorry keep forgetting that :).

@wsdwsd0829 wsdwsd0829 closed this May 18, 2018
@maicki

maicki commented May 18, 2018

Copy link
Copy Markdown
Contributor

@wsdwsd0829 I think you accidentally closed the PR - reopening :)

@maicki maicki reopened this May 18, 2018
@wsdwsd0829

wsdwsd0829 commented May 18, 2018 via email

Copy link
Copy Markdown
Contributor Author

@Adlai-Holler Adlai-Holler merged commit 06358d8 into TextureGroup:master May 19, 2018
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.

[ASPagerNode] Layout bug introduced by 2618c5 #788

3 participants