Dylan Banks

5 Followers
48 Following
7 Posts
🏴󠁧󠁢󠁷󠁬󠁳󠁿 Software Engineer @ Maersk
(Web/iOS)
Websitehttps://dylanbanks.com
GitHubhttps://github.com/dylanbanks96
With respect, how about you try going outside and playing hide and go fuck yourself?
Xcode should track the lifetime number of hours spent trying to find the error in your SwiftUI view code that is causing the “compiler is unable to type-check this expression in reasonable time” message to appear after the obligatory a 60-second wait. #SwiftUWhy
The most helpful #swiftui error for the day goes to:
I think it’s because a user may not be logged into iCloud and so CKUserIdenty won’t have any user info. But that wouldn’t be the case if you are trying to access the user record of a participant in a CKShare. I guess 🤷‍♂️

CloudKit sharing question here:

Can a participant in a CKShare ever return a nil value for their userRecordID? I would have thought that’s impossible if the participant exists, yet userRecordID appears to be an optional 🤔

(userIdentity.userRecordID?.recordName)

#swift #swiftlang