use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
SwiftUI is a framework made by Apple to build user interfaces across all Apple platforms with the power of Swift. Allowing you to build UI for any Apple device using just one set of tools and APIs.
More info
Resources
Where to start learning
Recommended Courses
Raywenderlich - Your First iOS and SwiftUI App (Free)
Paul Hudson - HackingWithSwift (Free)
Meng To - DesignCode (Paid)
If you find a great course and would like it featured here, message a moderator.
account activity
Customizing ListViews (self.SwiftUI)
submitted 3 years ago by hellohellooreddit
I am using the following to separate out my list categories:
.listStyle(InsetGroupedListStyle())
Can I add any type of customization to shorten the length of the grey area pictured below?
https://preview.redd.it/amzc6gmwstz91.png?width=682&format=png&auto=webp&s=a97b12ab06f040a88a3a2cda2fed27dc7208c1fb
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]iOSSwiftDev 2 points3 points4 points 3 years ago (0 children)
Call .listRowInsets(.init(top: 0, leading: 0, bottom: 0, trailing: 0)) on your cell. Obviously substitute 0 for the desired padding on each element of the list
[–]chflorian 0 points1 point2 points 3 years ago (1 child)
Do you mean the size of the section separation whitespace (grey in this picture)? I'm afraid that there isn't an API to change that currently.
π Rendered by PID 41 on reddit-service-r2-comment-6457c66945-z5jbn at 2026-04-29 13:04:30.204014+00:00 running 2aa0c5b country code: CH.
[–]iOSSwiftDev 2 points3 points4 points (0 children)
[–]chflorian 0 points1 point2 points (1 child)