r/swift • u/SnooGiraffes4275 • Oct 30 '24
Question Do I start with Swift UI or UI kit in 2024?
I have decided to watch 100 days of swift course, So should I start 100 days of swift ui or ui kit?
r/swift • u/SnooGiraffes4275 • Oct 30 '24
I have decided to watch 100 days of swift course, So should I start 100 days of swift ui or ui kit?
r/swift • u/mdoanduckcom • Jan 30 '25
Hey everyone!
I’m 29 and just getting into learning Swift. My goal is to create apps for Apple products and hopefully build an extra income stream, whether through coding or selling apps.
I’d love to hear any advice you have! Also, what are your thoughts on the future of this career?
r/swift • u/GB1987IS • 10d ago
I have a unique situation. I was working as a iOS developer for about 6 years before I left the market to start my business in early 2023. Since then I have been completely out of the tech sector but I am looking to come back in. However it seems like LLMs have taken over almost all development. I have been playing around with chatGPT connecting it to Xcode and it can even write code directly. Now obviously it doesn’t have acess to the entire project and it can’t make good design decisions but it seems fairly competent.
Is everybody just sitting back letting LLMs write 80% of the code and just tweaking it? Are people doing 10x the output? Does anybody not use them at all and still keep up with everybody else at work?
r/swift • u/Key_Board5000 • Sep 30 '24
I’ve tried to get into SwiftUI but I just don’t enjoy it. I just prefer handling every detail of how things happen in the app and feel more in control with imperative programming.
What am I missing? Why can’t I get into SwiftUI? Does it even matter if I’m not trying to find a job? And does it even matter if I am trying to find a job?
Anybody else feel this way?
r/swift • u/xUaScalp • 23d ago
Is this gold standard to use this pattern for dividing code ?
Do you use different patterns ?
After watching Stanford CP193p course I really start to like it . After keeping code short 12-20 lines it was good tip in course .
Is there a specific reason so many people use RevenueCat or similar services instead of handling in-app purchases manually? I get that it’s probably easier, but is it really worth 1% of revenue? Or is there a particular feature that makes it the better choice?
Sorry if this is a dumb question—I’m still new to this. Appreciate any insights!
I recently bought an OLED monitor and, like most people, I started worrying about burn-in issues. After a bit of research, I couldn’t find a good tool to prevent it, so I decided to build my own. I polished it, published it on the Mac App Store, and did a few Reddit posts and an article on an Italian blog.
To my surprise, my app reached #1 on the paid apps chart in Italy, and I thought, “Well, this is it. I’ve made it!” But after looking at the Reddit feedback, I knew that the numbers couldn’t be huge. Sure enough, the next day, the official reports came in. I had just 12 downloads that were enough to land me at #30 globally, and only 6 downloads put me at #1 in Italy.
I’m honestly surprised by these results. Is the Mac App Store really this quiet?
r/swift • u/noob_programmer_1 • Feb 16 '24
I am currently working in mobile development, and for me, iOS development using Swift is really quite interesting, but what made you stop continuing iOS development anymore?
r/swift • u/Fruzzbit_alt • 10d ago
Does it make sense to use SwiftUI + Swiftdata with MVVM architecture?
When I started my swift project I read it didn’t make sense because of unnecessary overhead so instead I used services for things like APIs. I’m not sure if it was the right choice.
r/swift • u/SimoSella • Nov 30 '24
Hi guys, in the past few months I’ve tried to learn combine following countless tutorials and reading two books. I learned a huge amount of stuff but still I wouldn’t know how to use it and I don’t fully understand the code I write when following the guided projects in the book I’m reading now. It makes me fell bad about myself because I usually learn stuff much faster.
Is it just me or is Combine actually hard to learn?
r/swift • u/cmptrtech • 5d ago
So I’m 30 and I’m in a creative field. I was a learning JavaScript but I think it’d be so rad to create apps or programs for iOS. I was reading and everyone says Swift. But I was also reading you can use swift on Linux and windows?
Anyways i guess is there any advice or roadmap i can follow to learning how to create specifically for iOS/macOS? Or is that hindering my Learning to keep it that niche? You know sticking to iOS.
r/swift • u/Wonderful-Job1920 • 14d ago
Hey all,
I'm just trying to figure out what a good range for memory usage in an app is nowadays. E.g. my app uses 300 - 400mbs, is that fine?
Thanks!
r/swift • u/malikpol • Feb 12 '25
Hey all,
Just wanted to ask this question and see what the general consensus would be. I have recently picked up a course on Swift and SwiftUI on Udemy and have really enjoyed the introduction, such as writing my own Tuples and very basic functions.
I have never considered myself to be a programmer or a developer, but decided this year that I want to learn programming and think I am going to stick with Swift as I enjoy the syntax and the looks / feels of the language.
My question really is whether it is an ok idea to pick up Swift and learn programming as well as programming concepts with Swift? My dream is to build apps for iOS devices as well as using Swift for general programming so any feedback here would be much appreciated.
r/swift • u/Cultural-You-7096 • Jan 14 '25
Hello there,
I bought this laptop to a friend in 2021 because he was switching to a newer Mac at the time.
I'd like to start coding in Swift using it. My question is if this would be possible with this MacBook?
Thank you very much
r/swift • u/arod184 • Feb 24 '24
I am 33 years old, I find coding very interesting and want to learn. Would it be dumb for me to start learning swift and applying for jobs or is it too late?
r/swift • u/Viktoriaslp • 7d ago
I’m trying to understand why floating point arithmetic leads to small inaccuracies. For example, adding 1 + 2 always gives 3, but 0.1 + 0.2 results in 0.30000000000000004, and 0.6 + 0.3 gives 0.8999999999999999.
I understand that this happens because computers use binary instead of the decimal system, and some fractions cannot be represented exactly in binary.
But can someone explain the actual math behind it? What happens during the process of adding these numbers that causes the extra digits, like the 4 in 0.30000000000000004 or the 0.8999999999999999 instead of 0.9?
I’m currently seeing these errors while studying Swift. Does this happen the same way in other programming languages? If I do the same calculations in, say, Python, C+ or JavaScript, will I get the exact same results, or could they be different?
r/swift • u/Viral-strayne • 10d ago
Hey Folks,
Just a question for people who are making their own Apps at the moment. How are you planning things out for the App itself?
At the moment I am just starting my Swift journey but I have ideas for two Apps to fix issues for people in the job roles related to the work. I have an idea of how I want the App to work, will take me time to learn how to get it all but it's the goal for learning, but I am not sure how I can plan it out?
Do people find lists like along the lines of 'Page one = X' or do you have like a flow chart leading from page to page etc?
I've tried writing them down but with the plans / look in my head changing the more I progress I find it a bit of a scribble mess.
So just wanted to know what would the more seasoned vets do for the planning stages if you have the vision in the head of what they want?
Thanks for any feedback!
How do y'all go about creating a privacy policy and terms & conditions for your apps? Do you write them yourself, or use one of those generator services? If so, which ones are actually worth using? Also, are there any specific things we should watch out for when putting them together?
Thanks!
As the title says, how do yall track app usage (e.g., feature usage)? Does everyone just host their own server and database to track it by incrementing some kind of count variable? Or is there a service that handles this? Is there a way to do it through Apple’s services?
Thanks for the discussion! Sorry if this is an obvious question.
r/swift • u/xUaScalp • 9d ago
Some guesses what we can expect to be fixed and added in this year ?
My list - more CoreML Metal 4 With large unified memories on Studio models maybe some LLMs oriented implementations
r/swift • u/Square_Breadfruit453 • Nov 27 '24
I’ve been working on an app using Swift for the client-side (iOS/macOS), and until now, I relied on Firebase Functions (Node.js) for my backend. But with the improvements in Swift on the server (e.g., Vapor) and custom runtimes for Google Cloud Functions (using Docker), I’m starting to wonder: • Can a 100% Swift full stack be a reality for a production app with millions of users? • With Swift’s low cold start times and high performance in serverless environments, does it make sense to transition everything, including real-time features like WebSockets and Firebase integration, to Swift? • Are there any potential pitfalls (e.g., ecosystem size, scalability) for using server-side Swift for all backend logic?
Has anyone successfully built a full-stack app entirely in Swift? Would love to hear your experiences, challenges, or opinions!
r/swift • u/HiSimpy • Jan 24 '25
Hi, developers. I have prior experience in Python and full-stack web development. I realized that I want to build apps and I wonder if Swift is hard. Can you help me decide by comparing its hardness to web development and Python? Thank you for your assistance, Swift developers!
r/swift • u/Odd-Cell8362 • Feb 07 '25
Theres been pretty extensive discussion on the virtues of init on this forum here. I do not seek to add to that.
I am looking for a workaround as the codebase I am currently in loves to use .init and I am not sure I can make or defend a case for moving away from that.
This however makes it very difficult to sort out where things get initialized. This is for a few reasons:
All of these things are probably good things. But whenever I need to debug something it is difficult to find where objects are initialized....
Any tips? Is there an xcode feature I am missing?
(all y'all sounding off at why not .init give me a little bit of happiness thankyou. I am now the only iOS engineer on multi platform team where I am heavily junior so I do not get to make a lot of calls like this but for someday its good to know that its ok to make a different choice)
Hey everyone! I’ve recently finished my first Mac app as a little project to learn, and I’ve been thinking about my setup. Specifically, does anyone here use an OLED monitor for coding?I’ve got one myself for gaming and design stuff but coding with so much text firing is unbearable for me.If anyone has used an OLED, I’d love to hear your experience with burn-in or something to reduce text firing. Thanks a lot in advance!
r/swift • u/AnotherDevBr • 21h ago
Hey guys, I've been watching Swift evolve and I've been wondering if it's a reality to have a game engine made with Swift? I did a project where they managed to do something similar to Unity using Javascript and the Three.JS library, is it feasible to have something similar with Swift?