SwiftUI & SwiftData & CloudKit: Foodie app, synchronized data on different devices.

Опубликовано: 16 Июль 2026
на канале: App Designer2
650
6

#cloudkit #swiftui #swiftdata #iCloud

Source code:   / 90588909  

Foodie App, restaurant application, which will allow you to add products to the SwiftData database, also as products will be selected by category, it also has a Cart View in which the products we want to buy will appear, and the prices of the items will be calculated. the selected products.

Update 1:

Now you can add Tags[Tags] to the products you add, and you can also search for products by Tags[Tags], if 2 products have the same Tags[Tags], they will appear in the same view.

You can also sync data between different devices by using the [CloudKit] framework and running the app on different devices and logging in on both, to see how data syncs from one device to another. As I add more features, you will have access to all updates.

Update 2:

Now the categories have a definition of what products are in each one, because I have added icons that represent the products.

Update 3:

Now you can add comments on products, and I have also put a condition, I have banned offensive words, if you add an offensive word, that condition will search the texts and if it detects something offensive, that word will become blurred and present a warning icon ⚠️.