Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Conversation

@WenchaoD
Copy link

@WenchaoD WenchaoD commented May 14, 2016

Fix fade-in effect.
Somehow when I run the samples in simulators, the fade-in didn't appear. So I made a few changes. It worked for all the 3 sample applications.

DZNEmptyDataSetView *view = self.emptyDataSetView;

// Configure empty dataset fade in display
view.fadeInOnDisplay = [self dzn_shouldFadeIn];
Copy link
Author

Choose a reason for hiding this comment

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

This line was moved up a little because in some cases, the method didMoveToSuperview was called before the value fadeInOnDisplay was set up. So I thought it would be better to set it before addSubview.

@dzenbot
Copy link
Owner

dzenbot commented May 18, 2016

Interesting approach. Will have a look soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants