Posts

Post not yet marked as solved
0 Replies
416 Views
As you can see in the following screenshot the „Water“ selection is an AppEnum which gets a nicely tinted SF Symbol. On the other hand, the „My Home“ is an AppEntity which also uses an SF Symbol, but doesn’t get the blue tint. Why? Now my question is, how can I force the tint on the AppEntity as well? I’ve defined it the following way: var displayRepresentation: DisplayRepresentation { DisplayRepresentation( title: "\(title)", image: .init(systemName: "house", isTemplate: true) ) } But even adding the isTemplate doesn’t work here …
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.5k Views
I have an app that uses CoreData and I want to migrate to SwiftData. After following the Migrate to SwiftData session, I only need to point to my old Core Data file to read the old data and convert it to the new SwiftData format. My question is how do I do this? Maybe worth mentioning is that my NSPersistentContainer(name: "Model") is different to my app name. Possible Solution? According to a Tweet by Donny Wals this is done this way: By default a SwiftData ModelContainer will create its underlying storage in a file called default.store. If you want to change this so you can use an existing Core Data SQLite file, you can point your container to that file instead: // point to your old sqlite file let url = URL.applicationSupportDirectory.appending(path: "Model.sqlite") let config = ModelConfiguration(url: url) modelContainer = try ModelContainer(for: [ Movie.self ], config) My Tested Code @main struct SwiftData_TestApp: App { let url = URL.applicationSupportDirectory.appending(path: "Model.sqlite") let config = ModelConfiguration(url: url) let modelContainer = try ModelContainer(for: [ Item.self ], config) var body: some Scene { WindowGroup { ContentView() } .modelContainer(modelContainer) } } The problem here is that I don’t get it to work in the main app struct. When using this the way described in Dive deeper into SwiftData (at 6:58) I only get the error: Cannot use instance member 'url' within property initializer; property initializers run before 'self' is available PS: There seems to be an issue with this WWDC session method anyway – see this post.
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.4k Views
Hi there! Back with Xcode 14 and iOS 16 there were two new app icon sizes introduced to iOS: 64pt @2x (128x128px) 64pt @3x (192x192px) 68pt @2x (136x136px) What are those icons used for? Neither the Xcode 14 release notes nor the Human Interface Guidelines are mentioning those sizes and what they are used for. In previous Xcode versions the asset catalog had labels for each icon size. As Xcode 15 still doesn’t bring that feature back I’m still puzzled when those icon sizes are visible to the user. Best! – Alex
Posted Last updated
.
Post not yet marked as solved
0 Replies
769 Views
Hello everyone! Why do campaign URL analytics also include source types like App Store Search or App Store Browse? We have an App Store campaign URL on our website. First I wondered why the app units of our domain (under the Web Referrers tab) is lower than the campaign app units. After checking the details of the campaign, I noticed that the campaign also includes App Store Search and App Store Browse in App Units by Source. That doesn’t make any sense to me as the campaign URL directly opens the product page. Or does that mean users went back to the Store, searched for the app later again and bought it then?! Maybe I’m missing something. Can someone explain the resoning behind this?
Posted Last updated
.
Post not yet marked as solved
0 Replies
566 Views
Hello there! Does someone has recommendations or positive experience for tools to optimize the visibility in the Mac App Store? Important are for example keyword tracking and analysis, store rankings and listings in the categories. Most tools like Sensor Tower, AppFollow, App Radar or App Annie are only optimized for iOS apps. But what about the Mac? 😉 Thanks! Alex
Posted Last updated
.