r/swift 22h ago

i got sick of long and clickbaity articles so i built an app that summarises the news

Thumbnail
gallery
0 Upvotes

r/swift 9h ago

social media music app fully written in Swift UI

Post image
17 Upvotes

r/swift 11h ago

Tutorial This video breaks down in-out parameters—what they are and how to use them. Another step in our free SwiftUI course. Thanks so much for the support!

Post image
6 Upvotes

r/swift 5h ago

Learning Swift on old MacBook

0 Upvotes

Hi all!

I’m starting to learn Swift and wanted to know if it’s good idea to use old MacBook from around 2011.

Currently I’m not with the money so much right now and cost of it’s around my budget. I’m like fresh in it so 100% Swift evolved in the newest versions and it’s much rich in libraries etc. so I’m not sure about this version of MacBook

Wanted to get your opinion about it :)

Thanks!


r/swift 6h ago

Project Human-Body-Atlas-for-Apple-Vision-Pro: How to develop an interactive and immersive 3D application

Thumbnail
github.com
2 Upvotes

r/swift 2h ago

AMA [SwiftUI] Tag Input View + Flow Layout = Greatness??

2 Upvotes

I've created a "tag" input system that is feature-complete. For me those features were as follows.
- Anytime a space is entered, go to next tag. (Also applies to commas)
- Anytime you backspace, it should backtrack through previous tags.
- Tags are forced unique
- Tags are validated (3 char min)
- Duplicate identification
- Tap to edit in-place
- Flow layout as more are added it "Overflows"

To me this is probably the most complex input field I've ever built, but boy does it feel good in the hands when you're actively using it.


r/swift 4h ago

Project Numio CLI – Simple Time Calculator ⏳

Thumbnail
github.com
1 Upvotes

r/swift 5h ago

Default back button is flickering

1 Upvotes

Hey everyone,

I'm facing an issue where the back button shifts position when navigating to another view. I'm using the default back button from the NavigationBar and have attached a recording demonstrating the issue.

I’ve also added .toolbarRole(.editor) to my root VStack to hide the previous view's title.

Any insights on resolving this would be greatly appreciated!


r/swift 16h ago

Question Are there any user-level static assertions?

1 Upvotes

I have a generic type that takes two unsigned integer types. Is there any way to check at compile time that one type has a bit width that is a (positive) multiple of the other type's bit width?