cocoaui
cocoaui copied to clipboard
z-index attribute
hi sir. can this library support z-index attribute on next version? it will make it more easy to do some lively works
Could you describe more details about your job?
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"
I see. I will think of implementing this feature, but you would better not expect it.
这个特性很重要,希望能支持啊
@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.