# Contemplating Default Isolation Control

**URL:** <https://forums.swift.org/t/contemplating-default-isolation-control/88205>\
**Category:** Discussion\
**Tags:** concurrency\
**Created:** [July 10, 2026, 7:24pm UTC](https://forums.swift.org/t/contemplating-default-isolation-control/88205 "2026-07-10T19:24:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![samdeane](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/samdeane/32/2175_2.png) [@samdeane](https://forums.swift.org/u/samdeane)\
**Post date:** [July 14, 2026, 9:45am UTC](https://forums.swift.org/t/contemplating-default-isolation-control/88205/7 "2026-07-14T09:45:19Z")

</div>

For what it's worth, my current Xcode projects have:

```swift
SWIFT_APPROACHABLE_CONCURRENCY = YES
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor

```

and my SwiftPM packages (where the vast majority of my code lives), have:

```swift
 .defaultIsolation(MainActor.self),
 .enableUpcomingFeature("NonisolatedNonsendingByDefault"),
 .enableUpcomingFeature("InferIsolatedConformances"),
 .enableExperimentalFeature("SendableProhibitsMainActorInference"),

```

I am finding that combination works _fine_ for me, and feels fairly intuitive. There are occasional moments of confusion, but they are usually easily resolved, and I don't particularly feel that this setup is worse than before.

It _might_ be better, but it's a little hard to make a comparison without switching around all the code and trying the old approach again (some automated migrations would certainly be helpful there).

I'm not sure that this reply adds much to the debate! I do think there's an element of "complex concepts are complex" in all of this 🙂.

Intuitively I think I'd prefer not to default everything to the main actor - which feels somewhat defeatist - but then I'd also prefer not to have a system which required lots of things to happen on the main thread.

---

_[View the full topic](https://forums.swift.org/t/contemplating-default-isolation-control/88205)._
