Posts

Post not yet marked as solved
1 Replies
449 Views
I am trying to publish a very simple app which loads an external JSON which contains cooking recipes. When I submitted the app, the JSON contained only a couple of recipes and the verification team rejected claiming the article 4.2.0 (minimal design functionality); I asked more info and they told me to add more to the app; now I asked what the exactly mean, more entries in the external JSON file? Because this will be done slowly and has of course nothing to do with the app itself. Any hint? Thanks
Posted
by marcocan.
Last updated
.
Post not yet marked as solved
1 Replies
781 Views
Hi, I have two CoreData entities, "Product" and "StorageLocation"; there is a one-to-many relationship between them; "Location" can have multiple product, and product just one location. Idea behind is: User create a product a choose from a picker the location, then the product is saved and shall be saved the relationship too (location); but the picker gives me back a string, not a "Location" entity which is expected when saving a new product. Here my code: language @State private var storageLocation = "AAAA" @FetchRequest(         sortDescriptors: [NSSortDescriptor(keyPath: \StorageLocation.name, ascending: true)],         animation: .default)     private var storageLocations: FetchedResultsStorageLocation Form {                 Picker(NSLocalizedString("storage", comment: "storage"), selection: $storageLocation) {                     ForEach(storageLocations, id: \.self) { (storageLocation: StorageLocation) in Text(storageLocation.name!).tag(storageLocation.id)             } How can I get back from the picker a Location object? Thanks Marco
Posted
by marcocan.
Last updated
.
Post not yet marked as solved
3 Replies
1.6k Views
Hi all,I have a small iOS App (with notifications and so on, therefore already "connected to Watch) and I would like to develop a Watch app so that you can do basic tasks from the watch.The iOS App is free, but I would like to have the Watch App as "in app purchase", is that possible? How should I set up the Xcode project? Should the Watch App be integrated in the same project or should it be a new or separate one?ThanksMarco
Posted
by marcocan.
Last updated
.