Posts

Post not yet marked as solved
3 Replies
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.
Post not yet marked as solved
1 Replies
Apple offers SwiftUI sample code that you can use in https://github.com/apple/cloudkit-sample-sharing
Post marked as solved
13 Replies
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.
Post not yet marked as solved
6 Replies
Hi, you should probably reply to Apple, describe what you did, attach up to date screenshots, and request phone support.
Post not yet marked as solved
6 Replies
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.
Post not yet marked as solved
6 Replies
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).
Post not yet marked as solved
1 Replies
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() ...     } ... }
Post marked as solved
1 Replies
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.
Post not yet marked as solved
11 Replies
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 not yet marked as solved
40 Replies
Apple decided to deprecate Xcode 11.2 on Nov 5th due to building buggy UITextView code and advises building with 11.2.1. (which is officially not out yet). You can see this message if you try to Distribute app from the Organizer (Valide app doesn't show it).