
SwiftUI On The Web (Repository Included)
Just a little fun project to run SwiftUI on the Web.

Just a little fun project to run SwiftUI on the Web.
Just a little fun project to run SwiftUI on the Web.
I am currently researching on SwiftData and storing records in public database. By default SwiftData does not support public or shared database, only private. The way I am handling is by using CKContainer and configuring it to use public database. I convert SwiftData models to CKRecord and store them using the CloudKit API.
This requires CKSubscriptions, NotificationCenter etc and I was able to make it work but it required a lot of code and since you cannot use @.Query macro with public database, the process of refreshing the user interface was manual call to the functions.
Anyone has used public database with SwiftData using same or different techniques?
PS: Here is the code:
https://gist.github.com/azamsharpschool/c04663d33d42a88165d11c3b29ad546b
PS: This is for my book research and not for an app.
I recently started a new YouTube playlist called “Car Price Prediction in Python” where I build a complete Machine Learning project step by step using Python and Scikit-Learn.
The focus is practical Machine Learning without overwhelming beginners with too much theory or math upfront.
The playlist currently covers:
My goal is to help developers and beginners learn ML by actually building projects instead of only studying algorithms.
Would love feedback from the community and suggestions for future practical ML projects.
Watch it here: https://youtube.com/playlist?list=PLDMXqpbtInQg-6PXhBFP9Zdu0JxU2oGKt&si=oK2K6xOfcDi9_q2C
Where do you buy fresh fruits in Houston? I know that fruits like Strawberries, a lot of pesticide is spread because it attracts many different insects. But where can I buy fruits knowing that it is healthy to eat?
Northwest Houston area. I would say close to Willowbrook Mall :)
Hello Everyone,
I am thinking of switching to plant based diet and see how I feel and overall outcomes. I have few questions.
- How do you get enough protein in plant based diet? Lentils, beans, chick peas, peanut butter? Do you need to eat a lot of those things to equal to a meat diet? Is the quality of animal based protein better than plant based protein?
- Is peanut butter a good source of protein? If so should I get the best organic peanut butter I can find?
- Can I still cook my vegetables in little bit of oil (olive oil etc)?
- Is two cups of black coffee a day okay?
- Do you think you have limited options when on plant based diet? I am asking this because I love eating meat products. South asian dishes.
Thanks!
I’m always curious how other developers are actually using AI day to day. Everyone seems to have a slightly different approach, so here’s what my current flow looks like.
I usually start a new feature by having what is essentially a design conversation with AI. We talk through the shape of the solution at a high level. That might include data modeling, API design, or even tradeoffs between different approaches. The goal is not to get code, but to get clarity.
Once I feel good about the direction, I switch gears and start writing the code myself. Typing things out by hand forces me to stay engaged with the architecture. It slows me down in a good way and helps me catch issues early instead of blindly accepting generated code.
That said, I don’t do everything manually. If I need boilerplate like DTOs, mock data, or repetitive setup, I’ll let AI handle that. It saves time without taking away from the parts that actually require thinking.
After the implementation, I bring AI back in for a review pass. I’ll ask it to point out edge cases, gaps, or alternative approaches. Sometimes the suggestions are useful, sometimes not. I treat it like a second opinion, not a source of truth.
Then I move on to the next feature and repeat the cycle.
Curious how others are approaching this. What does your workflow look like?