Coder Social home page Coder Social logo

z-index attribute about cocoaui HOT 5 OPEN

llh2010 avatar llh2010 commented on June 16, 2024
z-index attribute

from cocoaui.

Comments (5)

ideawu avatar ideawu commented on June 16, 2024

Could you describe more details about your job?

from cocoaui.

llh2010 avatar llh2010 commented on June 16, 2024

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"

from cocoaui.

ideawu avatar ideawu commented on June 16, 2024

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

from cocoaui.

hepking avatar hepking commented on June 16, 2024

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

from cocoaui.

jayasme avatar jayasme commented on June 16, 2024

@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.

from cocoaui.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.