Skip to content
archive

Stack Overflow - Top SwiftUI Questions

Swift · · 2 min read · stackoverflow.com ↗

Stack Overflow - Top SwiftUI Questions

Ingested: 2026-05-16T08:08:04Z Source: Stack Overflow: SwiftUI

Title: Highest scored 'swiftui' questions

URL Source: http://stackoverflow.com/questions/tagged/swiftui?sort=votes&pagesize=15

Markdown Content:
# Highest scored 'swiftui' questions - Stack Overflow
[Skip to main content](http://stackoverflow.com/questions/tagged/swiftui?sort=votes&pagesize=15#content)

[](http://stackoverflow.com/questions/tagged/swiftui?sort=votes&pagesize=15#)[](https://stackoverflow.com/ "Stack Overflow")
1.   [About](https://stackoverflow.co/)
2.   Products
3.   [For Teams](https://stackoverflow.co/internal/)

1.   [Stack Internal Implement a knowledge platform layer to power your enterprise and AI tools.](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams)
2.   [Stack Data Licensing Get access to top-class technical expertise with trusted & attributed content.](https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api)
3.   [Stack Ads Connect your brand to the world’s most trusted technologist communities.](https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising)
4.   [Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal.](https://stackoverflow.blog/releases/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=releases)
5.   [About the company](https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company)[Visit the blog](https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog)

Loading…

1.   [](http://stackoverflow.com/help "Help Center and other resources")

    *   [Tour Start here for a quick overview of the site](http://stackoverflow.com/tour)
    *   [Help Center Detailed answers to any questions you might have](http://stackoverflow.com/help)
    *   [Meta Discuss the workings and policies of this site](https://meta.stackoverflow.com/)
    *   [About Us Learn more about Stack Overflow the company, and our products](https://stackoverflow.co/)

2.   [](https://stackexchange.com/ "A list of all 183 Stack Exchange sites")
3.   
### [current community](https://stackoverflow.com/)

   

    *   [Stack Overflow](https://stackoverflow.com/) [help](https://stackoverflow.com/help)[chat](https://chat.stackoverflow.com/?tab=explore) 
    *    [Meta Stack Overflow](https://meta.stackoverflow.com/)

### your communities

[Sign up](https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fswiftui%3fsort%3dvotes%26pagesize%3d15) or [log in](https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fswiftui%3fsort%3dvotes%26pagesize%3d15) to customize your list. 

### [more stack exchange communities](https://stackexchange.com/sites)

[company blog](https://stackoverflow.blog/)

5.   [Log in](https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fswiftui%3fsort%3dvotes%26pagesize%3d15)
6.   [Sign up](https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fswiftui%3fsort%3dvotes%26pagesize%3d15)

1.       1.   [Home](http://stackoverflow.com/)
    2.   [Questions](http://stackoverflow.com/questions)
    3.   [AI Assist](https://stackoverflow.com/ai-assist)
    4.   [Tags](http://stackoverflow.com/tags)

    6.   [Challenges](http://stackoverflow.com/beta/challenges)
    7.   [Chat](https://chat.stackoverflow.com/?tab=explore)
    8.   [Articles](https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles)
    9.   [Users](http://stackoverflow.com/users)

    11.   [Companies](https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav)
    12.   [Collectives](javascript:void(0)) 
    13.   Communities for your favorite technologies. [Explore all Collectives](http://stackoverflow.com/collectives-all)

2.   Stack Internal Stack Overflow for Teams is now called **Stack Internal**. Bring the best of human thought and AI automation together at your work.

[Try for free](https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams)[Learn more](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) 
3.   [Stack Internal](javascript:void(0))
4.   Bring the best of human thought and AI automation together at your work. [Learn more](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact)

##### Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

[Learn more about Collectives](http://stackoverflow.com/collectives)

**Stack Internal**

Knowledge at work

Bring the best of human thought and AI automation together at your work.

[Explore Stack Internal](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover)

 41,852 questions 

[Newest](http://stackoverflow.com/questions/tagged/swiftui?tab=Newest)[Active](http://stackoverflow.com/questions/tagged/swiftui?tab=Active)[Bountied](http://stackoverflow.com/questions/tagged/swiftui?tab=Bounties)[Unanswered](http://stackoverflow.com/questions/tagged/swiftui?tab=Unanswered)More

*   [Bountied 0](http://stackoverflow.com/questions/tagged/swiftui?tab=Bounties)
*   [Unanswered](http://stackoverflow.com/questions/tagged/swiftui?tab=Unanswered)
*   [Frequent](http://stackoverflow.com/questions/tagged/swiftui?tab=Frequent)
*   [Score](http://stackoverflow.com/questions/tagged/swiftui?tab=Votes)
*   [Trending](http://stackoverflow.com/questions/tagged/swiftui?tab=Trending)
*   [Week](http://stackoverflow.com/questions/tagged/swiftui?tab=Week)
*   [Month](http://stackoverflow.com/questions/tagged/swiftui?tab=Month)

*    Unanswered (my tags) 

 Filter 

Filter by

- [x] 

No answers 

- [x] 

No upvoted or accepted answers 

- [x] 

No Staging Ground 

- [x] 

Has bounty 

Days old 

Sorted by

Newest 

Recent activity 

Highest score 

Most frequent 

Bounty ending soon 

Trending 

Most activity 

Tagged with

My watched tags 

The following tags: 

Apply filter

Cancel

 453 votes

 13 answers

 96k views

### [What is the "some" keyword in Swift(UI)?](http://stackoverflow.com/questions/56433665/what-is-the-some-keyword-in-swiftui)

 The new SwiftUI tutorial has the following code: struct ContentView: View { var body: some View { Text("Hello World") } } The second line the word some, and on their site is ... 

*   [swift](http://stackoverflow.com/questions/tagged/swift "show questions tagged 'swift'")
*   [swiftui](http://stackoverflow.com/questions/tagged/swiftui "show questions tagged 'swiftui'")
*   [swift5](http://stackoverflow.com/questions/tagged/swift5 "show questions tagged 'swift5'")
*   [keyword](http://stackoverflow.com/questions/tagged/keyword "show questions tagged 'keyword'")

[![Image 15: Half's user avatar](https://www.gravatar.com/avatar/636e5a5a698ebfa8894a4272ade4c1c7?s=32&d=identicon&r=PG&f=y&so-version=2)](http://stackoverflow.com/users/7282573/half)

[Half](http://stackoverflow.com/users/7282573/half)

*   5,628

asked Jun 3, 2019 at 19:47

 403 votes

 14 answers

 421k views

### [SwiftUI text-alignment](http://stackoverflow.com/questions/56443535/swiftui-text-alignment)

 Among the many properties of the Text view, I couldn't find any related to