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

z-index attribute #2

Open
llh2010 opened this issue Aug 10, 2015 · 5 comments
Open

z-index attribute #2

llh2010 opened this issue Aug 10, 2015 · 5 comments

Comments

@llh2010
Copy link

llh2010 commented Aug 10, 2015

hi sir.
can this library support z-index attribute on next version?
it will make it more easy to do some lively works

@ideawu
Copy link
Owner

ideawu commented Aug 10, 2015

Could you describe more details about your job?

@llh2010
Copy link
Author

llh2010 commented Aug 11, 2015

for more situation, we want to make a view above or under below to another view.
surely we can use a traditional method like addsubview,but it is a lot of job obviously.
i am thinking about that is it possible to use z-index like set:@"z-index:9999"

@ideawu
Copy link
Owner

ideawu commented Aug 11, 2015

I see. I will think of implementing this feature, but you would better not expect it.

@hepking
Copy link

hepking commented Dec 1, 2015

这个特性很重要,希望能支持啊

@jayasme
Copy link

jayasme commented Jul 7, 2016

@llh2010 To add z-index feature needs enumerate each view's z-index property and sort them by comparing them then bring them to front one by one, you'd better use [UIView bringSubviewToFront] instead, it's also a pretty solution.

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

No branches or pull requests

4 participants