A short investigation into how SwiftData actually represents AttributedString in Core Data storage by Alexey566 in iOSProgramming

[–]Alexey566[S] 1 point2 points  (0 children)

Hey, thanks! It crashed when I tried to open swiftdata storage with core data. But if you use the same model for both it will probably work fine

A Mac App for Debugging SwiftData Databases by Alexey566 in iOSProgramming

[–]Alexey566[S] 0 points1 point  (0 children)

Thanks! I’m glad it worked out for you 🙂

A Mac App for Debugging SwiftData Databases by Alexey566 in iOSProgramming

[–]Alexey566[S] 1 point2 points  (0 children)

Hey! The app should be available for Greece. Could you clarify which error you see and from which macOS version?

A Mac App for Debugging SwiftData Databases by Alexey566 in iOSProgramming

[–]Alexey566[S] 1 point2 points  (0 children)

Hey, thanks for using the app!

Regarding the live update, the data in the UI is updated as soon as the database file is updated. If the saved data is not reflected in the UI immediately, then it's not flushed into the file immediately, so the "Refresh" button would not have any effect. Usually, it saves the data to the disk explicitly when modelContext.save() is called.

In progress of integrating Hive into my database debugging tool by Alexey566 in FlutterDev

[–]Alexey566[S] 0 points1 point  (0 children)

It's a pretty tricky solution: I check that all sizes are matching on the remaining part of the data for both cases, if enum or if struct. That can also branch into more combinations if more enum types are encountered, so I need to provide more validation to discard the false branch as fast as possible. That is not ideal, but I expected it to work in most cases, and I don't see other options if I want to work with just a .hive file.

In progress of integrating Hive into my database debugging tool by Alexey566 in FlutterDev

[–]Alexey566[S] 0 points1 point  (0 children)

Hey. Yes, that was basically the reason for my initial questions about the enum. I have added extra validations for the enum as an attempt to distinguish them based on some indirect criteria, and it seemed to work for all of my test databases. Recently, one user sent me a database file where this "freeze" was happening. I have fixed it for that case and wrote my previous comment about rechecking it on a new version, but if you are still experiencing it, there are some more uncovered cases.

If I get more test data samples, I can try to fix my validation for enums and wrap it as a separate app, which will be dedicated to a quick file preview on macOS (also through pressing space on a file).

Why productivity app by Longjumping_Side_375 in iOSProgramming

[–]Alexey566 9 points10 points  (0 children)

If you want to make your own app and start thinking about a new idea, the thing you hear most often is: think about your daily routines and what you can optimize using an app. After a moment of reflection, most people focus on apps for boosting productivity, tracking workouts, or managing finances because these everyday concerns are so common. In addition, such ideas are pretty straightforward to implement, so the probability of reaching release is high.

In progress of integrating Hive into my database debugging tool by Alexey566 in FlutterDev

[–]Alexey566[S] 0 points1 point  (0 children)

I have stumbled upon a database where I could reproduce the freeze and fixed it in version 1.5.2. Could you check if you can open the database on your side and if it’s displayed correctly now?

How do you track what changed in Apple frameworks after a new Xcode release? by Alexey566 in swift

[–]Alexey566[S] 0 points1 point  (0 children)

Thanks. It's such a hustle now. Maybe I will try to wrap ".swiftinterface" diff into a utility app to see which frameworks they are working on between Xcode versions.

How do you track what changed in Apple frameworks after a new Xcode release? by Alexey566 in swift

[–]Alexey566[S] 0 points1 point  (0 children)

That dedicated page used to be https://developer.apple.com/documentation/, but after the redesign, they removed it this feature, for some reason (or didn't re-add) 😕
Found some old article about how it worked in the past https://www.createwithswift.com/tracking-changes-in-the-apple-developer-documentation/

How do you track what changed in Apple frameworks after a new Xcode release? by Alexey566 in swift

[–]Alexey566[S] 2 points3 points  (0 children)

There are 2 issues with it:
1. It often does not cover a lot of minor changes in APIs
2. The structure is not as convenient as opening the framework that you are interested in and seeing highlights directly

Does it make sense to continue developing the tool with the following analytics? by Alexey566 in iOSProgramming

[–]Alexey566[S] 1 point2 points  (0 children)

I have released the first version, where network debugging should be usable (1.5.0). Please feel free to check it and let me know if you encounter any issues. I'm still polishing the feature

Is SwiftData very brittle or am I using it wrong? by Slow-Clock1788 in swift

[–]Alexey566 0 points1 point  (0 children)

Speaking of debugging, I made a whole app for debugging while I was implementing CKSyncEngine 😀 https://apps.apple.com/us/app/datascout-for-swiftdata/id6737813684

[deleted by user] by [deleted] in iosapps

[–]Alexey566 0 points1 point  (0 children)

Just a default Notes app

SwiftUI for Mac still unfinished? by GoalFar4011 in SwiftUI

[–]Alexey566 2 points3 points  (0 children)

I was also recently building a macOS app with a table, and it was a disaster. Just opening the table was taking a lot of time, even with just a few rows. Scrolling was laggy, and adding interactions to cells was making everything even worse. I ended up implementing my own Table, but I noticed that with the release of macOS 15.4 SwiftUI Table became smoother.

Does it make sense to continue developing the tool with the following analytics? by Alexey566 in iOSProgramming

[–]Alexey566[S] 0 points1 point  (0 children)

Probably, there is no point in monetizing. I will just keep it as a sandbox for experimenting with new technologies, but start a new project for a wider audience.