iOS 15.1 RC, build 19B74 (Oct 18th 2021): Issue still not fixed, nor listed under known issues in release notes.
Post
Replies
Boosts
Views
Activity
Looks like you could put NSUbiquitousKeyValueStore to good use.
Start here: https://developer.apple.com/documentation/foundation/icloud/synchronizing_app_preferences_with_icloud
Still no joy with iOS 15.1 beta 4 (Oct 13th 2021).
Issue not fixed, or listed under known issues in release notes.
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
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.
@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.
Apple offers SwiftUI sample code that you can use in https://github.com/apple/cloudkit-sample-sharing
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.
Hi, you should probably reply to Apple, describe what you did, attach up to date screenshots, and request phone support.
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.
Try switching the run target to the widget and run that. Your "Run the application" suggests you skipped this step.
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).
It is not duplicate. The one in the second row is misspelled.
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()
...
}
...
}
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.