Just in case you don't want to wait for the next beta, the error seems to occur in Simulator but not when run from an actual device with iOS15 beta
Post
Replies
Boosts
Views
Activity
Figured it out. My main mistake was using objects and not identifiers in UICollectionViewDiffableDataSource. When it's using identifiers, the data has to be prepared in CellRegistration. With an indexPath coming in, it's easy to remap what you're retrieving from FRC.
Now that I've solved the problem, I've decided against the design pattern of static first cell on account that it goes out of sight for users browsing the collectionView. When the Add button is placed in UINavigationBar or the toolbar, however, it's always in sight.
I believe the best place to implement it is in the init of the cell class. Example:
class GenericCell: UICollectionViewCell {
static let reuseIdentifier = "my-cell"
override var canBecomeFocused: Bool { true }
override init(frame: CGRect) {
super.init(frame: frame)
focusEffect = UIFocusHaloEffect()
...
}
...
}
It is not duplicate. The one in the second row is misspelled.
Have you provided all the necessary information for each IAP? It sounds like IAPs don't get included because of missing information.
If that is so, go to In-app purchases > Manage, then click the name of (each) item to get to it's details screen, and fill out all the required information (and add screenshots of the IAP).
Try switching the run target to the widget and run that. Your "Run the application" suggests you skipped this step.
Now that they are ready to submit, go back to the version details screen (first screenshot in your original post).
In the section "In-app purchases" check that all the ones you wish to submit along with 1.0 are selected.
And then submit for review.
Hi, you should probably reply to Apple, describe what you did, attach up to date screenshots, and request phone support.
From WWDC21, session: “What's new in UIKit“ (I'm pasting from the transcript)
We have a new appearance for headers in iOS 15. For plain lists, section headers now display seamlessly in line with the content, and only display a visible background material when becoming pinned to the top as you scroll down. In addition, there's new padding inserted above each section header to visually separate the sections with this new design.
Apple offers SwiftUI sample code that you can use in https://github.com/apple/cloudkit-sample-sharing
@jonjudelson the controller is provided by the currently installed OS, no matter what your minimum deployment target is. So, no workarounds. We just have to find a way for Apple to hear us.
You may want to try changing
myList.mutableSetValue(forKey: "groceryItems").add(selectedGroceryItems)
to
myList.addToGroceryItems(selectedGroceryItems)
which is a method that should have been synthesized for you based on your Core Data model.
Just type myList.add and pick from Xcode's autocomplete.
To sum:
let pointsFromEachTournament: [Int] = tournamentTop10.map { $0.point }
let sumOfAllPoints: Int = pointsFromEachTournament.reduce(0, +)
(please refer to documentation to learn more about map and reduce)
To count:
let numberOfTournaments = tournamentTop10.count
Still no joy with iOS 15.1 beta 4 (Oct 13th 2021).
Issue not fixed, or listed under known issues in release notes.
Looks like you could put NSUbiquitousKeyValueStore to good use.
Start here: https://developer.apple.com/documentation/foundation/icloud/synchronizing_app_preferences_with_icloud