Post

Replies

Boosts

Views

Activity

Reply to Same apps on the App Store: One with IAP, the other paid?
I have an example of app on the appstore that exists in 2 versions, normal and Pro, at different price. After rejection (considered as spam), I had to explain in detail how the versions where different, with different functionalities, even though the core of apps was common In your case, the single app could be limited in number of registered accounts or individual preferences, unlimited in the other. You should consider as well additional features. In addition, in the app information, you should make it clear that 2 versions exist. adding special features in the future, but for now it is exactly the same. That's risky. My advice (but that does not guarantee it will be OK!, just a personal opinion) would be to add a few new features immediately, and make things very clear for reviewer when you submit any of the apps or their updates.
Mar ’21
Reply to Index Out of Range
I have tried to use your code. Could not figure out how to use ut. And could not crash it either. Could you show the exact and complete crash log ? I would not be surprised that index out of range is value 0 (which means voti2 is an empty array). But your code is surprising. I see nowhere any item appended to voti2. For sure, voti2 set to tutto() But func tutto() - [Float] { returns voti2 without appending any element. So, when you write voti2 = tutto(), you copy voti2 into voti2 …
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
Reply to Index Out of Range
That will avoid the crash. But the real point is to check if voti2.count is ever more than zero. If not, that confirms there is a design flaw. This is what must be corrected. Note: in anycase, it is a effectively good practice to check index values are within bounds. A very simple extension may even simplify writing extension Array { func isValidIndex(_ index: Int) - Bool { return index = 0 && index self.count } } Then if(mediaEffettiva mediaFloat && voti2.count = con+1 && con = 0) { voti2[con] += 0.5 } becomes a bit shorter if mediaEffettiva mediaFloat && voti2.isValidIndex(con) { voti2[con] += 0.5 }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21