Migration to SwiftUI App Lifecycle still not possible under iOS 16
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the UIKit lifecycle and CloudKit share acceptance flow described in the issue, then investigate the corresponding SwiftUI lifecycle support available under iOS 16. Done means apps using CloudKit Share can accept shares without AppDelegate and SceneDelegate while retaining access to SceneStorage.
Written by the indexing model from the issue text.
Description
Unfortunately the app (an all apps using CloudKit Share) still requires UIKit Lifecycle (AppDelegate and SceneDelegate) and currently cannot be migrated to SwiftUI Lifecycle because there is no implementation for
func windowScene(_ windowScene: UIWindowScene, userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShare.Metadata)
available for a SwiftUI Lifecycle app.
This means that basic SwiftUI features like SceneStorage are still not available for apps using CloudKit Share.
- Dominant language
- Swift
- Stars
- 331
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apple/sample-cloudkit-sharing
-
Non Sendable Types Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apple/sample-cloudkit-sharing#21 · 1 comment ·
-
UNHANDLED_REJECTION Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apple/sample-cloudkit-sharing#15 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apple/sample-cloudkit-sharing#12 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apple/sample-cloudkit-sharing#9 · 5 comments ·
All issues in apple/sample-cloudkit-sharing
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type: docs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
googleapis/google-cloud-swift#971 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla-mobile/firefox-ios#35743 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
manaflow-ai/cmux#13417 ·