Swift does not support macros, so you can’t use that technique in Swift code.
Is it possible now since macro was introduced in Swift 5.9
Post
Replies
Boosts
Views
Activity
Thank you for answering in detail. I have following questions
Are you suggesting that iCloud-sync should be enabled by default and if the users want to turn it off then they can do that from System Settings app?
Based on your answer, I think I agree that having toggle to enable/disable iCloud will not provide consistent experience. But then I don't understand how that can be fixed since iCloud is available only to the premium users in the app. The toggle is off and disabled for the free users of the app.
Is there a way to know if the user has disabled iCloud for the app from System Settings?
c. A new user launches the app and add more data.
I am sorry, I did not follow this part where data of 2 users get mixed. Won't the new user have a separate container where their data will be separately stored and if they have logged into their iCloud account then it will sync in their account?
Thanks a lot for this answer. Was stuck on this for more than 2 days.
From past few days, my Xcode has been crashing every 5 mins
Hi. I am facing the same issue and have filed a radar. Is there a temporary workaround until the issue is fixed in the backend?
@radionoise were you able to resolve this? I am facing the same issue on Monterey
This has been fixed in 11.4
contentLayoutGuide is internally of type NSLayoutGuide.
So all you have to do is cast it to NSLayoutGuide
if let guide = titleTextField.window?.contentLayoutGuide as? NSLayoutGuide {
	 let topAnchor = guide.topAnchor
}