Post

Replies

Boosts

Views

Activity

CoreData saving under wrong app name.
I have many apps published on the app store however I have one that is saving it's core data under a different one's app name. I don't know how else to describe the issue. So I have an app called AppB let's say. This app uses CoreData/Cloudkit and works perfect. I also have an app called AppA and it also works very well. However, AppA is saving it's CoreData with the title "AppB". So under iCloud/Manage iCloud Storage on a device it says "AppB" with AppB's icon even, but is actually AppA's storage. Everything is working but it obviously confuses customers and I would love to know how this can even happen.
0
0
466
Mar ’23
ShareLink with AttributedString
The new ShareLink works great and saves a ton of code but I can't seem to get it to work with an attributedstring even though documentation indicates it should as attributedstring conforms to transferrable. So for example: //This works fine. ShareLink(item: "test") //But this doesn't. ShareLink(item: AttributedString("test")) Error instantly pops up "No exact matches in call to initializer".
1
0
920
Feb ’23
swiftui zstack alignment not working
I have a ZStack with top leading alignment. The first child put into it aligns as expected (top leading) but the second child aligns to center. Is this a bug or am I missing something here. ZStack { HStack { Text("stack 1") } .frame(width: 150, height: 400, alignment: .topLeading) .background(Color.red) HStack { Text("stack 2") } .frame(width: 100, height: 200, alignment: .topLeading) .background(Color.blue) } .frame(width: 200, height: 500, alignment: .topLeading) .background(Color.yellow)
7
0
15k
Jun ’21