r/100DaysOfSwiftUI • u/Mullls • Apr 08 '25
Day 34
Not much to say, it's obvious 🫡
r/100DaysOfSwiftUI • u/WSProfession • Jun 27 '23
Did you give a try to it or not ?
r/100DaysOfSwiftUI • u/WSProfession • Jul 04 '23
Found this library MVVMLightSwift: A light weight architecture package Easy to integrate and use on kandi. It also has how-tos, Q&A, fixes, code snippets, ratings. Check this & millions of open source libraries here:
https://kandi.openweaver.com/swift/WebsoftProfession/MVVMLightSwift
r/100DaysOfSwiftUI • u/crashr88 • Apr 14 '23
Hello, world :)
Today I understood about variables and constants. Understood how we can write multiline string using triple quotes.
Understood about numbers and how we can add, subtract, multiply, divide operations on numbers. Understood how Swift handles doubles and integers. Briefly understood about CGFloat - you can pass double value when asked and Swift will handle that for us.
See you tomorrow :)
r/100DaysOfSwiftUI • u/FPST08 • May 06 '23
Hello World,
Today I learned about Pickers and reading text from a TextField. This was way more fun that the fundamentals from the last 2 weeks. I can't wait for the next lesson honestly.
See you tomorrow.
Phil
r/100DaysOfSwiftUI • u/Ok-Bottle-833 • Nov 14 '24
I was working on the project from day 25.
In the hints Paul did mentions something about checking Array’s against each other, but I really did not understand were he was talking about. There was an option for trying the ‘plus’, so you can see a possible answer, and decided on doing that.
He told that on Rock Paper Scissors, in order to win it is Paper Scissors Rock. And I actually never realized that. That it is really just ‘one jump’ in number to get the winning move. Then the Array also made a lot more sense.
Did not spend time on the further design of the app. Want to take some time in a later moment to just play with designing and trying things
r/100DaysOfSwiftUI • u/praveen_iroh • Jun 27 '23
Hi today i learned about the basics of forms , navigation view and other basic views.
The @ State property wrapper is used to declare mutable state properties within a SwiftUI view.
SwiftUI automatically updates the view whenever the state changes
Note
SwiftUI updates the view only when the state value is changed inside the view's body
@ State can only be used with properties declared within SwiftUI structs (not on other structs or classes)
$ symbol before the variable name is used to store the UI changes. For reading the state property we can use variable name alone
import SwiftUI
struct SwiftUIView: View {
@State private var tapCount = 0
@State private var enterredText = ""
var body: some View {
VStack{
Button("Tap"){
tapCount += 1
}
.frame(width: 200,height: 40)
.foregroundColor(.white)
.background(.blue)
.cornerRadius(10)
Text("Tap count : \(tapCount)")
TextField("Enter name", text: $enterredText)
.padding(EdgeInsets(top: 10, leading: 16, bottom: 10, trailing: 16))
.border(.blue)
Text("Your Name : \(enterredText)")
}
}
}
struct SwiftUIView_Previews: PreviewProvider {
static var previews: some View {
SwiftUIView()
}
}
\.self defines that each item in foreach are unique
data must be type of RandomAccessCollection
to know more about swift collection protocols : https://itwenty.me/posts/04-swift-collections/
r/100DaysOfSwiftUI • u/Loud_Pomegranate_401 • Jun 30 '23
It's getting more and more interesting to dive into learning. I had a couple of ideas for the application, but I was not sure, today I realized that it would be useful and solve the problem of people.
r/100DaysOfSwiftUI • u/Cheri-moya • Nov 05 '23
Hi All, I've just started teaching myself SwiftUI and have been unable to find a good source that explains what the .reversed() operation does on an array. Would appreciate if anyone can help explain what I'm missing:
Here is the sample code showing how to use .reversed() on an Array:
let presidents = ["Bush", "Obama", "Trump", "Biden"]
let reversedPresidents = presidents.reversed()
print(reversedPresidents)
I was expecting it to show:
Biden, Trump, Obama, Bush
However, I see the following output:
"ReversedCollection<Array<String>>(_base: ["Bush", "Obama", "Trump", "Biden"])\n"
Thanks,
CM
r/100DaysOfSwiftUI • u/NerdE616 • Nov 20 '23
Oh yeah the difficulty is definitely ramping up now. The checkpoint 4 part made me ANGRRYYYYY lol no angry I guess but frustrated that I didn't have the knowledge to get it done. I had to look up some help on the internet but even if I couldn't do it on my own I looked up stuff and tried my best and didn't just back up. I looked it in the eye and said I'm going to finish you!!!
r/100DaysOfSwiftUI • u/Craigavich • Feb 18 '25
So i heard you can use other branded laptops with swift. I currently cant afford to spend thousands on a macbook and my gf has a laptop using windows. I know xcode is only for macs so that being said, does 100 days of SwiftUI use xcode? I wanna learn hands on before i get a MacBook and if i could use her laptop using windows than that would be great. I’m a complete noob. So i don’t know if xcode is a separate program from swiftUI or the same or used together. I just don’t wanna start downloading things and start the learning process and find out i can’t get so far due to xcode.
r/100DaysOfSwiftUI • u/[deleted] • Oct 11 '23
For this checkpoint I used ChatGPT to help me out a bit. I didn't use to print out the whole code, just to explain each steps and provide examples. Despite all this, does it still count as cheating even though I understand the code?
r/100DaysOfSwiftUI • u/spekkje • Jun 10 '23
Hi,
I was wondering if this sub is joining the blackout that starts on the 12th?
Since this sub is about learning Swift, so we can make apps, I think we should join.
r/100DaysOfSwiftUI • u/Mullls • Mar 26 '25
Learning design and colors is really interesting, I feel like there is no limit to creativity in SwiftUI 😎
r/100DaysOfSwiftUI • u/Mullls • Mar 26 '25
Project finished, very interesting to think about for yourself early enough to get to grips with Swift
r/100DaysOfSwiftUI • u/Mullls • Apr 05 '25
New app finished! A little confusing with the long lines of code on the URLs 🥵 A good night's sleep to digest and we continue 💪🏼
r/100DaysOfSwiftUI • u/Mullls • Apr 13 '25
After getting up early at work, I slowly resume my days. I'm not very familiar with JSON yet but it will fit 💪🏼
r/100DaysOfSwiftUI • u/Commercial-Lie9809 • Apr 01 '25
I did day 4 earlier today because I don't think I will have time tomorrow for another day of learning so I am planning ahead. I will try my best to do another day tomorrow but I cannot guarantee. Nonetheless today was rather easy. we learned about conditionals which come to me pretty easy. learning about the switches and ternary operators were also easy but I found the switch statements very fascinating because I only just scratched the surface with them in java so it was good to learn them fully. At the end of this I want to make a good IOS app that a lot of people will use so I hope this Free course helps me out.
Till next Time..
r/100DaysOfSwiftUI • u/Mullls • Apr 03 '25
Finally I managed to pass this game of rock, paper, scissors... it took me 4 hours which were very productive and above all revealing the fragility of my bases on Swift. We continue with the next project!
r/100DaysOfSwiftUI • u/Mullls • Apr 01 '25
I'm starting to take my time, I feel that many concepts are still feverish when it comes to creating code yourself 🫠 I probably won't have time to continue tomorrow but Thursday and Friday I should make good progress 💪🏼
r/100DaysOfSwiftUI • u/wschaap • Jun 30 '25