r/SwiftUI • • 22h ago

Question Finding Hacking with swiftUI hard to learn. Help needed!

5 Upvotes

Hi all.
I don't have much programing experience other than a year of react-native and some core java all learnt on my own. I made an android app with a tiny help form a more experienced developer. That was back in 2017. I moved to business and now I am back to coding. I'm 36 years of age now.

I am learning swift and swiftUI from 'hacking with swift' and now I am on day 58. Except for the initial days, I find swift and swiftUI hard to follow. The syntax is very confusing and I easily forget things in a day or two. I find the teachings of Paul hard to follow and I repeat the videos again and again to understand. Now on 58th day, I am already overwhelmed. I am upset because on other threads, people commented as they could grasp the concept easily and could start app building right away.

I am wondering if I'm one off case and programming is not for me or people really find swiftUI hard to learn? Any tips or advises will be most welcome.


r/SwiftUI • • 22h ago

Question How can I change bg of segment picker?

Thumbnail
gallery
3 Upvotes

I have attached three images.
- First image shows what I want to create
- Second image shows what I get.

I Just only want to remove that default background color of the picker and my 80% problem solved.

Code

```
Picker("Period", selection: $selection) {

ForEach(options, id: \.self) { option in

Text(option)

.tag(option)

}

}

.padding(4)

.frame(height: 40)

.frame(maxWidth: 420)

.background {

Capsule()

.fill(Color.textFieldBackground)

}

.pickerStyle(.segmented)
```


r/SwiftUI • • 19h ago

I am creating animated widgets.

Thumbnail gallery
0 Upvotes

Hello

I’m building Jubs, an app with animated iPhone widgets.
I sketch each scene by hand, then simulates how it moves so it feels alive.

For this snow globe, I simulated falling snow and how the curved glass bends the light.

Let me know what do you think.

Thank you,
Tiago


r/SwiftUI • • 20h ago

News SwiftUI Weekly - Issue #244

Thumbnail
weekly.swiftwithmajid.com
0 Upvotes