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

Grouped section with header and footer text #20

Closed
m5o opened this issue Jun 26, 2019 · 4 comments
Closed

Grouped section with header and footer text #20

m5o opened this issue Jun 26, 2019 · 4 comments

Comments

@m5o
Copy link

m5o commented Jun 26, 2019

Apple is using the grouped sections a lot in their iOS setting app. Do the sections also provide a footer parameter?

In most of The iOS Interface the header text is uppercase and the footer small and gray-ish. Will this be handled by SwiftUI in the future?

Thank you for building this reference!

@iNoles
Copy link

iNoles commented Jun 26, 2019

Section(header=Text("Header"), footer=Text("Footer"))

@m5o
Copy link
Author

m5o commented Jun 27, 2019

Thank you @iNoles
It would be nice if this could be added to the cheat sheet including a screenshot.

@Sadmansamee
Copy link
Collaborator

@iNoles @m5o why not make PR for this!

@heyjaywilson
Copy link
Contributor

heyjaywilson commented Oct 11, 2019

@Sadmansamee I'm trying to make an example for this, but are there any tips on how to get the screenshots? Or should I just submit a PR for the code and someone else can do the screenshot.

I've put it in my PR anyway, but left the screenshot out.

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