r/swift • • 3d ago

Question Other than iOS what else can Swift be used for?

63 Upvotes

Can it be used for backend dev, embedded systems, webdev, or other parts of software engineering? If not, why is that? Will the lang eventually just stay stagnant as it mostly thrives in one ecosystem?

r/swift • • Apr 22 '26

Question My app somehow got corrupted in Xcode.

0 Upvotes

Is there a way I can revert back to the current version on the App Store? How do I put it into Xcode?

Edit: for more information. I haven’t made changes to the code for about two months. I log in today to change some things. I’m getting display errors as soon as I try and run on the iPhone simulator. The last time I used the code, it worked fine. I had it uploaded to the Apple Store just fine. No changes have been made at all except software updates. Has anyone else had this issue?

Edit 2. Your down votes mean nothing to me. I’ve seen what you upvote for

r/swift • • Aug 23 '25

Question Is learning Swift still worth it in 2025?

81 Upvotes

Hey everyone,
I started picking up Swift recently because I wanted to make a small iOS app for myself. I’m enjoying it, but now I’m second-guessing if it’s worth investing more time.

I’m curious about the industry side of things:

  • Are companies still hiring a lot for Swift/iOS devs?
  • Or is the trend shifting more toward cross-platform options like Flutter or React Native?

I don’t mind sticking with Swift for personal projects, but if I’m also thinking long-term career, is it still a good skill to double down on?

r/swift • • May 19 '26

Question What's something about learning Swift that surprised you — in a good or bad way?

39 Upvotes

I started learning Swift to build my own iOS app and honestly the language itself is nicer than I expected.

But the ecosystem (Xcode, simulators, all the Apple-specific stuff) took a while to feel normal. And I'm saying this coming from .NET + Angular Full Stack development on a Windows machine.

Wondering what caught you off guard when you started learning iOS Development.

Good surprises welcome too.

r/swift • • 25d ago

Question Best things about Swift from former Apple staff enginer

Thumbnail x.com
89 Upvotes

Thoughts?

r/swift • • Sep 05 '26

Question Can I use corporate mac pro max for app development and publish to apple store? Laptop has jamf installed?

0 Upvotes

Can I use corporate mac pro max for app development and publish to apple store? Laptop has jamf installed?

Edited: My company is big; they won’t care about my billion-dollar app. But they might shut down the app, and I could lose my job. That’s what I’m worried about.

I don’t have enough money to purchase a Mac right now, so I was thinking—during the initial month, I can use this once I will reach atleast 1K ... I will purchase my own laptop.

r/swift • • Nov 28 '25

Question Is swift really a hard coding language to learn?

37 Upvotes

I’d call myself beginner-intermediate at coding. I can make decent apps when it comes to HTML and python but I struggle when it comes to swift. I keep getting errors and Apple Intelligence seems to be failing for most of the time.

Does anyone have any tips? I don’t think relying on Codex 24/7 effective.

r/swift • • Aug 11 '26

Question Made a weather app for my weekly commute, would anyone find this useful?

Thumbnail
gallery
28 Upvotes

I combined apple weather data with radar data to get a more accurate view what my day looks like. Still looking into radar future-cast data, if anyone has advice on providers who can supply 6-8 hrs ahead.

https://testflight.apple.com/join/PUjCeSZP

Edit: TestFlight link^

r/swift • • 18d ago

Question How would you approach this Swift concurrency problem?

8 Upvotes

Im working on a project where a dashboard needs to get a few API requests at the same time.

I was thinking about using TaskGroup so all the requests can run at once. But if one of them fails I still want the other data to show up.

func loadDashboard() async -> DashboardData {
// fetch all the APIs at the same time
// keep the ones that worked
// deal with the ones that failed
}

Would withTaskGroup be the right way to do this? Also whats the best way to collect the results without having a bunch of tasks changing the same array?

And what would yall do if the user leaves the dashboard while the requests are still running?

r/swift • • Jun 05 '26

Question Love for SwiftUI, hate for flutter

32 Upvotes

Not a developer but I have a question.

I remember that in a company I worked before they wanted to save money on development by having a native team for android and iOS before switching over to multi platform development, by using flutter. However I noticed that after years of flutter being on the market right now… usage is still low. Why?

r/swift • • Jun 22 '26

Question Use Swift for multi-platform GUI applications?

17 Upvotes

Is anyone using Swift for a commercial multi-platform GUI application (MacOS, Linux and Windows)? What library did you choose and why?

r/swift • • Jun 24 '25

Question Would you take a 42% raise to work with older, messier code?

106 Upvotes

UPDATE: after 10 months, thank you to everyone that made me feel more at ease, I did take the job and I did not regret it one bit!

As the title says, I have been working for a company using SwiftUI exclusively and with very strict format, linter and UITest rules, but I just got offered a job to work on a very messy project (I saw the code) that uses:

-UIKit -Table views -Story Boards -Min deployment target iOS 14

So I am worried that while working on this company I will lose practice in SwiftUI and I will also have to spend time learning the “old ways”.

Am I overthinking?

r/swift • • May 23 '26

Question Anyone in ASIA got their Student swift challenge 2026 award delivered?

6 Upvotes

r/swift • • Aug 05 '26

Question Do you use a separate iPhone for development/testing?

13 Upvotes

Hey,

I’m getting into iOS development and currently have a MacBook Pro M5 and an iPhone 17 Pro Max.

I was wondering if it’s worth getting a second iPhone (e.g. iPhone 16e/17e) just for development stuff (testing apps, beta builds, trying iOS betas, etc.) or if most people just use their main phone.

I’m mostly working on personal projects right now, but I’m curious what you guys do. Do you have a dedicated test device, and if yes, what model?

Thanks!

r/swift • • Jan 16 '26

Question How much RAM do i need to have for iOS + macOS development?

9 Upvotes

I currently have a 2021 MacBook Pro M1 Pro with 16 GB RAM.

But want to upgrade to a newer model, mostly due to battery issues.

Do you think 32 GB RAM is enough? Or do I need 64? Or more?

I don't want to overpay for a 64 GB model to find out it was not needed.

r/swift • • 14d ago

Question Firebase Analytics suddenly causing production iOS crashes with no app release, anyone else have this?

31 Upvotes

Anyone else seeing this?

Our production app suddenly started crashing around 00:41 UTC today, across multiple already-released versions, with no new app release.

The crash is:

Fatal Exception: NSInvalidArgumentException

-[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil

The stack points to Firebase Analytics experiment handling, immediately after a successful sdk-exp response.

We're using Firebase iOS SDK 12.14.0.

Relevant issue: https://github.com/firebase/firebase-ios-sdk/issues/16728

I'm wondering if anyone else is seeing the same spike or has found a workaround.

r/swift • • Feb 26 '26

Question Xcodegen vs Tuist vs Bazel

19 Upvotes

I’m in the process of choosing a project generation/build tooling setup for an iOS codebase and I’ve narrowed it down to Xcodegen, Tuist or Bazel. I’d love to hear real world experience with any of these.

For the sake of discussion, please pick one of these three, none or vanilla Xcode isn’t an option. I’m specifically trying to understand the trade-offs between these tools. You can think of:

\- Which on you (would) use today

\- Why you prefer it over the other two

\- Any pain points or gotcha’s you’ve hit over time

\- Whether you’ve migrated from one of these to the other and why

I’m less interested in theoretical pros and cons and more in practical experience: what actually worked or didn’t for you and your team.

r/swift • • Apr 17 '26

Question How to get into obj-c ?

25 Upvotes

Hey

So I’ve been doing iOS development for quite some time now and think it‘s time I look into obj-c.

Apart from some minor obj-c functions for UIButtons I didn’t learn a lot about it so I wonder where to start.

When I started my journey as iOS Developer SwiftUI was just announced so I made my first courses using UIKit and switched to mostly SwiftUI quickly after but there was never the need for obj-c.

Are there good online courses out there to get a hold on obj-c ?

Maybe some that work for people that are familiar with higher programming languages and not experienced with the low level programming languages?

r/swift • • Mar 13 '26

Question Is it worth it to switch from go to swift?

36 Upvotes

Hi y'all!

Feel free to delete the question if this is too simple/completely off-base, but I was wondering if anyone has switched from go -> swift and if it was more beneficial for them?

At a glance, the languages seem pretty similar, so I'd like to understand better:)

I'm speaking more in terms of cli/tui/backend apps, not really in the context of SwiftUI.

Thanks!

r/swift • • 8d ago

Question Deciding if I should code with Swift

0 Upvotes

I’m really interested in coding apps but I barely know any coding (I only know block coding like Scratch) is it really easy to learn?

Edit: forgot to clarify that I mainly want to code games

r/swift • • 3d ago

Question Is there a lightweight way to add self-updates to a tiny macOS app?

19 Upvotes

I built a small native open source Swift/SwiftUI menu bar app that controls Sonos with media keys. I want to keep it small and focused, but automatic updates would be useful for people who install it outside Homebrew.

I compared a few options:

  • No updater: 4.14 MB app / 1.99 MB ZIP.
  • AppUpdater 4.2.1: 6.88 MB app / 2.71 MB ZIP.
  • Sparkle: roughly 3 MB extra in the app.

The AppUpdater numbers come from equivalent Release builds for Intel and Apple Silicon. The Sparkle number is a framework measurement, rather than a complete integrated build.

These are tiny downloads in absolute terms. Still, adding around 66% to the app just for updates feels disproportionate.

My needs are fairly limited: check GitHub Releases, download an update, verify the signature, replace the app, and relaunch. No custom server or elaborate update UI.

I understand that secure replacement, permissions, and recovery add complexity. But is there a maintained solution with substantially less overhead? Or does “small and simple” only stay small until you handle those details properly?

A notification that opens the release page is my fallback. I am curious whether there is a practical middle ground.

r/swift • • Jun 03 '26

Question Would you use this? I’m building a context-aware command bar for macOS

Thumbnail
gallery
0 Upvotes

I’ve been experimenting with a macOS workflow concept where application menus, recent files, browser tabs, and contextual actions become searchable from a single command bar.
I’m curious:
Would you find this useful?
What problems do existing launchers still not solve?
How would you expect a contextual command layer to behave?

r/swift • • 22d ago

Question Parallelism in swift

7 Upvotes

breaking a huge array into chunks and running them parallely using task groups
Whats the ideal number of chunks that should be used?
is this a good way to get the chunks? :

let workerCount = ProcessInfo.processInfo.activeProcessorCount

r/swift • • Jul 20 '26

Question Failing behavioral interviews

16 Upvotes

Hello all,

This past year has been rough. I’ve applied to 178 jobs and landed nine interview processes. Each process consisted of multiple rounds, typically between three and six interviews.

The encouraging part is that I consistently make it to the later stages, and often the final round. I feel confident in technical interviews. I enjoy solving programming problems, discussing architecture, and explaining the reasoning behind my decisions.

Where I struggle is behavioral interviews. I’m suck at these, and they’ve become the biggest obstacle keeping me from receiving offers.

I’m looking for advice on how to improve at behavioral interviews, particularly for mobile engineering roles.

I have about 1.5 years of professional mobile engineering experience. At my current company, our mobile team has gone from 12 engineers down to just three through layoffs and attrition. I’m the newest engineer on the team, and everyone else works in another state. Because of that, I often feel isolated, and I don’t feel like I’m getting the mentorship or professional growth I need. On top of that, the overall product quality isn’t where I’d like it to be, so I worry that I’m not developing as quickly as I could.

Has anyone been in a similar position or have advice for improving behavioral interviews? I’d really appreciate any guidance.

Edit: By “behavioral interview,” I’m referring to the non-technical interview rounds where you’re asked to talk about past work experiences, conflict resolution, failures, teamwork, leadership, etc.

r/swift • • Aug 10 '25

Question Ordered my first iOS device yesterday, planning to get into Swift. Can I use Swift for other platforms as well? (Android, Windows, Linux, BSD, whatever?)

17 Upvotes

Title says all.

I'm a beginner programmer who knows a couple of languages (Python, Java, JavaScript) and I'd like to get into iOS programming which is why I've set up Xcode on my ThinkPad. Getting my first iPhone in a couple of days, can't wait to learn a new technology.

However, I was wondering: how suitable is Swift for other platforms? How easy or hard is it to port macOS / iOS code to other platforms? Are there libraries for other platforms or can I expect to only productively use Swift within the Apple ecosystem?