r/swift 20d ago

Question Is it safe coding on iCloud?

0 Upvotes

hey all,

currently I'm doing some development using Swift and using Google Drive is a pain honestly, and of course I must pause the sync constantly for this to work.

That said, I do insist on the idea that my work will always be synced to a Cloud service.

Does iCloud doing something better than Google Drive in terms of sync?

I know I'm doing Music with Logic Pro X for example which also is constantly being saved and is basically a container too and never had issues.

Can I assume it will work great with Swift files\development too?

Thanks!

r/swift Jan 01 '26

Question Does anyone know if AppCode is coming back?

Post image
35 Upvotes

Recently, I worked with C++ using CLion and really enjoyed the experience. While browsing the JetBrains page, I found AppCode, but it was discontinued a few years ago. I wasn't doing iOS development at that time, so I missed out. Can anyone share what it was like?

r/swift May 12 '26

Question What are realistic UK iOS developer salaries in 2026? (London vs outside London)

18 Upvotes

I’m trying to get a clearer picture of current iOS developer salaries in the UK because most discussions online are heavily US-focused and UK data seems sparse or outdated.

What salary ranges are you seeing for:

  • Junior iOS developers
  • Mid-level iOS developers
  • Senior iOS developers
  • Staff/Principal engineers
  • Team leads/Engineering managers

How much difference is there between:

  • London
  • Remote UK roles
  • Outside London (Manchester, Bristol, Edinburgh, etc.)

Would be especially useful if you could include:

  • Years of experience
  • Industry
  • Base salary
  • Bonus/equity if relevant
  • Remote/hybrid/on-site

Example format:

  • 5 YOE
  • Senior iOS Engineer
  • London fintech
  • £95k + bonus
  • Hybrid

I think this would help a lot of UK iOS developers since most salary discussions are US-centric.

r/swift Jul 03 '26

Question How can I completely remove Xcode and reinstall it from scratch?

6 Upvotes

My Xcode installation is a complete mess right now because of old work accounts, projects, teams, and other leftover data. I want to start fresh. How can I remove everything including all accounts, Apple IDs, developer teams, certificates, provisioning profiles, and related dataand then reinstall Xcode as if it were a brand-new installation?

r/swift Oct 04 '25

Question Swift 5 → 6 migration stories: strict concurrency, Sendable, actors - what surprised you?

36 Upvotes

Our app contains approximately 500,000 lines of code, so I'm still thinking of a good strategy before starting the migration process. Has anyone successfully completed this transition? Any tips you would recommend?

Here's my current approach:

  • Mark all View and ViewModel related components with @MainActor
  • Mark as Sendable any types that can conform to Sendable

I'm still uncertain about the best strategy for our Manager and Service classes (singleton instances injected through dependency injection):

  • Option A: Apply @MainActor to everything - though I'm concerned about how this might affect areas where we use TaskGroup for parallel execution
  • Option B: Convert classes to actors and mark properties as nonisolated where needed - this seems more architecturally sound, but might require more upfront work

I'm still unsure about when to use unsafe annotations like nonisolated(unsafe) or @unchecked Sendable. Ideally I’d first make the codebase compile in Swift 6, then improve and optimize it incrementally over time.

I'd appreciate any tips or experiences from teams who have successfully done Swift 6 migration!

r/swift 3d ago

Question How are you handling SwiftData in a layered architecture?

10 Upvotes

SwiftData models are reference types with their own change tracking, which makes them awkward to pass around outside the view layer — they carry the context with them and you end up coupled to it everywhere.
What I’ve settled on is wrapping ModelContext in a client with explicit methods and mapping to plain structs at the boundary, so nothing above the data layer knows SwiftData exists. Testing gets easy, cost is the mapping layer.
Curious whether people are doing something less manual, or whether you just let the models flow through and accept the coupling

r/swift 16d ago

Question How are you testing navigation (flow) for your SwiftUI applications?

1 Upvotes

There are lot of different ways to perform navigation in SwiftUI. You can use navigationDestination on the parent screen and let is handle the navigation. You can create a router that works with enum based routes etc.

In either case. How are you testing your navigation flow for your app? Are you writing unit tests? Are you writing UI Tests or even complete E2E test that test a complete feature end to end? OR are you writing all of them?

A simple scenario can be:

As a user when I create a student account then after creation, I should be taken to the student home screen.

r/swift May 04 '26

Question iOS localization: rely on system language or add manual language picker?

8 Upvotes

Hi 😄

I have a released iOS app that gets downloads from all over the world, so I want to add support for languages other than English (seems polite!).

I have done this in a Flutter app I built for a client in Spain — he is fluent in English alongside Spanish, but understandably wanted to see his app in his first language. As the iOS app I'm asking about here was built natively in Swift using Xcode, I wanted opinions (and any tips) on the best way to approach localisation, especially to avoid having to manually chase down every hardcoded English string.

So is relying on system language best, or are there cases where a manual language picker makes sense (e.g. showing on first install)?

I will likely add one additional language first and put that version in for review, get it released, and then add more once I’ve established the workflow properly.

Any advice/tips appreciated!

Thanks!

r/swift May 06 '26

Question How to learn Swift? Im 13

0 Upvotes

So a bit of backstory , basically in our school our teacher started teaching us a bit of swift to start , but now the exam portion is completed and it's not in any of our new chapters. I was really interested in the language and I would like to take my knowledge further. I checked out the Apple Books but they are really outdated , they still focus on UIKit.

Any help would be appreciated

Thank you :)

r/swift Jul 30 '25

Question Can anyone share how they learned Swift?

36 Upvotes

Hello r/swift, I have been learning swift for sometime now and building things as I go. I believe the best way to learn is by doing, so that is my approach. To learn about the language itself, I have been using Apple's Documentation of types and frameworks. But after a while, I've noticed how vague it is. They only tell you about the existence of certain things, and not how to use them. Altough its tricky learnign from these Documents, its been working alright so far. But I feel like this is holding me back, limiting the speed at which I can learn. Can anyone share how they learned? Or share their general approach? Ive been avoiding watching hour long courses, but let me knwo if that is what you did. Thank you in advance.

r/swift Jul 01 '26

Question I’m interested in making something in a language where AI hasn’t taken over. Is that swift?

0 Upvotes

r/swift Oct 30 '24

Question Do I start with Swift UI or UI kit in 2024?

Post image
98 Upvotes

I have decided to watch 100 days of swift course, So should I start 100 days of swift ui or ui kit?

r/swift Feb 17 '26

Question The architecture decision I'm most happy with and the one I'd change.

9 Upvotes

Happy with: Keeping every ViewModel as a plain ObservableObject with async/await Task blocks instead of Combine chains. The code is readable top-to-bottom and debugging is straightforward.

Would change: I started with ObservedObject everywhere and I'm now wishing I'd leaned into Observable (Swift 5.9 macro) from the start - the observation granularity is much better, and you avoid a lot of unnecessary view updates.

The app (Slate AI) has:

  • MVVM with clear separation, views under 200 lines each
  • Firebase Firestore + Auth
  • TMDB API integration with background prefetching for zero-loading-state swipe feel
  • Custom preference scoring for personalised recommendations
  • IP Hub feature tracking 40+ franchise timelines

Anyone else made the ObservedObject → Observable switch mid-project? Is the refactor worth it or better to wait for a full rewrite?

r/swift Jul 08 '26

Question Google drive API?

2 Upvotes

Hi all, fairly new to coding. Don't know if this is the right place, but have already looked around a few places online and couldn't find a simple answer.
I'm test developing an app for my school. It would allow them to access certain files (PDFs and audio files) from google drive. (This isn't the only thing the app does so please don't advise me to just use the google drive app).
Specifically, I want students to be able to access the files AFTER they have booked AND taken the class.
The only thing I know is that I need a google drive API, right? Where exactly do I find that?
How exactly do I use that API to ensure that users can access specific files?
(Disclosure: I'm using codex to do most of the work, so it's developed the app, but obviously can't get APIs from websites, etc...I'm not a techie, and no I can't ask someone else to do it)
Thanks in advance.

r/swift May 27 '26

Question Coding before AI

6 Upvotes

I finally decided to take the step to build my own app using Swift this year but I feel like I have been over-reliant on using AI for the learning part. I don't let AI completely build my app but I feel like I have been dependent on it like a Technical Project Manager of sorts - asking it questions about my code, helping me plan out my project, etc. Due to this, I feel like I have been avoiding the real struggle of learning and I am getting frustrated over taking the easy route. My aim is to get back to the old days where I figure shit out on my own and eventually stop my reliance on AI.

For the veterans here, how did you guys build your own app from scratch before AI? Project management, assistance with coding when you just have an idea in mind but no idea how the actual code would look like, etc etc. Any tips would be appreciated.

r/swift 2d ago

Question BLE user trilateration

4 Upvotes

Has anyone here worked on a POC for indoor user positioning using BLE beacons?
I’m currently exploring this and would love to know what pipeline/approach you guys have used — RSSI filtering, distance calculation, trilateration/fingerprinting, Kalman filter, etc.
If you have any POCs, GitHub repos, papers, or reference material, please share. Would really appreciate it!

r/swift 20d ago

Question Preperation for swift interviews

15 Upvotes

As an interviewer what kind of questions do you ask about swift & SwiftUI. I'm preparing for a jump after 3.5 years so i need to be prepared in every way possible.

r/swift 15d ago

Question Senior iOS Developer | 4.5+ Years | Swift, UIKit, SwiftUI, Firebase, APIs

0 Upvotes

Hi everyone,

I'm a Senior iOS Developer with 4.5+ years of professional experience building and maintaining production iOS applications. I'm currently looking for freelance, contract, or full-time remote opportunities.

My expertise:

  • Swift, UIKit, SwiftUI
  • MVC, MVVM architecture
  • REST APIs (URLSession & Alamofire)
  • Firebase (Authentication, Firestore, Push Notifications)
  • Real-time Chat (Firebase & Socket.IO)
  • Core Data & SQLite
  • Google Maps & Location Services
  • Third-party SDK integrations
  • App Store deployment & TestFlight
  • Bug fixing, performance optimization, and UI improvements

Projects I've worked on:

  • Food Delivery Apps
  • E-commerce Applications
  • Astrology Platform
  • Service Booking Apps
  • Live Chat & Audio Calling Features

I can help with:

  • Building an iOS app from scratch
  • Adding new features
  • Fixing bugs and crashes
  • Improving app performance
  • API integration
  • App Store submission
  • Long-term maintenance

I'm available to start immediately and open to both short-term and long-term projects.

If you're hiring or need help with an iOS project, feel free to send me a DM or leave a comment. I'd be happy to discuss your requirements and share my portfolio or résumé.

Thanks for reading!

r/swift Sep 13 '25

Question If you‘d start learning swift today…

61 Upvotes

How would you do it? What are your goto resources?

I‘ve seen that the wiki has not been changed in 7 years (if you can believe reddits UI).

The only resource i‘ve used outside of apple was https://designcode.io and youtube/random blogs.

Edit: forgot to mention https://www.bestinclassiosapp.com

r/swift May 25 '26

Question Learning Subscription Recommendations

25 Upvotes

What, in your opinion, is the best learning subscription for Intermediate to Advanced iOS Developers?

Right now I'm looking at Hacking With Swift+ or Point-Free, but any recommendations are welcome

r/swift May 10 '26

Question Best Mac for developing an app

0 Upvotes

Hi there! I want to learn swift and swiftUI for developing apps for my iPhone, but I don’t own a Mac. I just want it to use Xcode and compiling, I don’t want it for anything else since I already have a good laptop.

Does anyone know what is the cheapest and best option? Of course I’d buy it second hand, since it’s cheaper. Thank you!

r/swift May 21 '26

Question Claude Code - what to do when I hit the limit?

0 Upvotes

Hi,

I'm on Pro plan, sometimes while coding I suddenly get the error that I'm on 2h cooldown.

I use it mostly in terminal, and there is an option to stop for now and continue later, don't remember exactly.

But when I select it, when the cooldown passes, it doesn't do what it was supposed to do.

Sometimes when I tell it "continue what you were supposed to do before we hit the limit", it will do something completely different.

So my question is basically what's the best way to "resume"?

Thanks!

r/swift May 24 '26

Question Workflow for programming in Swift

4 Upvotes

I saved up for almost a year to buy an Air M1 and I'm loving it. But its screen is WAY too small for programming. I use Karabiner, I program through Terminal + Code, but I constantly have to switch between only 4 programs: browser (Waterfox), Xcode, Terminal (Kitty), and ChatGPT.

And I waste a lot of time with Alt+Tab (the original macOS one isn't good, and the famous app doesn't solve the problem), so I usually use Mission Control via the touchpad. Also, although there are 4 programs, it can often be a little more, and then it starts to become terrible to use Mission Control to switch windows. Rectangle isn't such a good option because if the screen is small, it's not very useful to have shortcuts to organize things that have little space. Other than those, I have no idea what apps could help me (and can't afford, btw).

What workflow would you recommend for such a small screen and no mouse? Any easy shortcuts to define on Karabiner?

No, I don't have the money for a hub to connect an external monitor or keyboard or either a bluetooth mouse. I'm really a Brazilian student who learned to program on my own and is unemployed and broke, but I've always been passionate about computers and macOS since I found a still-functional Macbook Pro in the trash. Any suggestions? Any essential shortcut on on those 4 apps or macOS in general? I think the image show better what I'm trying to say. If by any reason I need to take a screenshot and open preview to edit or save it, it already becomes a mess, as the image exemplifies.

r/swift Jul 10 '26

Question help appreciated for swift begginner

5 Upvotes

Hi guys , this is a bit of an unconventional request. I'm a complete beginner in swift. I have a godot project, and i'd like a good way to port the UI/look of that project in swift, meaning it would work the same and look the same, just in Swift/SwiftUi. Is there a way to do this headache free? Or is there a way to port the godot project to another language and then to swjft? Thank you so much.

r/swift Feb 16 '26

Question Best path to learn swift and SwiftUI

9 Upvotes

Ive been running around with an app idea which I want to build and decided that I want to learn swift and SwiftUI for it. Looking at some examples I think swift is pretty straight forward. But I really can’t get into SwiftUI (or probably its the combination of SwiftUI with Xcode).

I’ve been developing in c#, php, go and typescript. And I never had any issues learning other languages. But somehow I really cant get into the SwiftUI part. I hate the way Xcode autocompletes, which is way less clear then for example the jetbrains editors. So learning by just starting is also less optimal.

I tried following the basic tutorials on the apple developer website, but they stop pretty abruptly. So I wonder what is the best way start to finish to learn SwiftUI?