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

ASCornerLayoutSpec not find? #69

Open
CainLuo opened this issue Jun 21, 2021 · 3 comments
Open

ASCornerLayoutSpec not find? #69

CainLuo opened this issue Jun 21, 2021 · 3 comments

Comments

@CainLuo
Copy link

CainLuo commented Jun 21, 2021

I didn't find the class ASCornerLayoutSpec, is it not added?

@muukii
Copy link
Collaborator

muukii commented Jun 21, 2021

@CainLuo
ah, it's not created for now since my project didn't use it.
but it also can be descriptor in TextureSwiftSupport.

@CainLuo
Copy link
Author

CainLuo commented Jun 21, 2021

@muukii
So does TextureSwiftSupport have a corresponding LayoutSpec to achieve the layout in the figure? This is ASCellNode.

image

@muukii
Copy link
Collaborator

muukii commented Jun 22, 2021

@CainLuo
yeah, I mean we can add a new layout descriptors that uses ASCornerLayoutSpec inside.
But, that layout you've pasted, which can be described with CenterLayout or RelativeLayout with using ZStack or overlay.

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

2 participants