I'm trying to use Apple's sample project with expand/collapse UITableView sections https://developer.apple.com/Library/ios/samplecode/TableViewUpdates/Introduction/Intro.html The problem is that I'm trying to use it with CoreData NSFetchedResultsController, and I don't know how to change Apple's code to work with it.
How to use Apple's TableViewUpdates collapsable table view with Core Data and NSFetchedResultsController?
119 Views Asked by saltwat5r At
1
There are 1 best solutions below
Related Questions in COCOA-TOUCH
- How to generate request format for WCF web service method for Mac and iPhone
- Application crashes when move from main view controller to another view controller, asks call a stack
- What sort of assets does PHAssetMediaTypeAudio fetch?
- Handoff icon not disappearing from the phone
- How can I use AutoLayout to place view exactly above other?
- How display notification on IOS 8 like in google maps in navigation time
- How can I modally present a UIViewController on another Storyboard that's embedded in a UINavigationController?
- Imports and includes in header files - when is it okay?
- How to listen to changes in Camera authorization status?
- What types/sizes of images do you need when using UIImage full screen?
- Change position of UIImageView when Animating in NSArray
- UITableViewAutomaticDimension + AFNetworking
- Get name of img from for loop
- Multiple CGContextRefs?
- How do i change for background colors or themes for all my screens while clicking one button in setting page for my app in ios, Using objectve c
Related Questions in UITABLEVIEW
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Change background of an Accessory View in a UITableViewCell
- How do I add custom cells to TableView in Swift?
- Xamarin Table View Crash
- iOS, swift, move UISearchBar from tableHeaderView to UINavigationItem
- Data Hierarchy with Table Views in iOS
- Is there any way to delete a row from a PFQuery if a condition is met?
- iOS UITableViewCell setSelected:animated: always has animated = NO
- Can UIStackView also be used within a UITableViewCell?
- No image on custom UITableViewCell
- How to enable swipe to delete on custom UITableViewCell Objective-C
- In UITableViewCell, UIImageView content repeats after some cells using AFNetworking
- Proper way to select/unselect buttons for cellForRowAtIndex
- Swift: Display image from UIImage array in table view
- How can I prevent the keyboard from covering up subviews on a UIViewController?
Related Questions in CORE-DATA
- Swift code with multiple NSDateFormatter - optimization
- IOS Where To Persist Current User from Back-end
- iCloud Core Data "no document at URL"
- restrict sqlite-wal and sqlite-shm from icloud backup
- Delegate returning nil - Swift
- How to set a core-data attibute to nil, in Swift?
- iOS make task run on background thread Thread safe?
- Calling method on object in NSPredicate with Core Data
- How to get Managed Object context from RestKit 0.20
- Write NSData in NSHomeDirectory
- My app is crashing when I assign the managed object context to a variable
- Fetch unique object based on attribute name from coredata
- NSPredicate filter part of array
- Property 'package_number_7' not found on object of type 'User *' after Lightweight Migration
- Core Data relationship Many-To One
Related Questions in NSFETCHEDRESULTSCONTROLLER
- Cannot pod spec lint because of undeclared type errors
- What's the cheapest way to filter a Core Data populated TableView with Sections?
- Swift: Could not cast value of type 'NSManagedObject_' to 'dataModel.Entity'
- Swift - NSFetchRequest error
- Core Data NSPredicate for relationships doesn't work after [context save]
- How do I access the attribute of a one to many relationship and pass to another tableview?
- Why my NSFetchedResultsController loads all rows?
- Using UICollectionView with CoreData and NSFetchedResultsController
- NSFetchedResultsController swift sections
- Data not reloading automatically in uitableview when using nsfetchedresultscontroller
- Method for moving rows with NSFetchedResultsController and its delegate not working
- UICollectionView invalid index path crash
- When the app opens changes to the UITableView flash by really fast
- two arrays from NSFetchedResultsController swift
- UITableView dynamic cell sizing and asynchronously loading images resulting in weird scrolling behavior
Related Questions in MAGICALRECORD
- What is the Difference between Action Methods of MagicalRecord in iOS
- How many aggregate Method used in Magical Records
- Core Data ( Magical Record ) Set same value to an attribute for every entities
- Issue with Magical Record while migrating into a new Core Data model
- How to import array attribute with MagicalRecord into CoreData
- Core Data / Magical Record : Cannot find model for source store
- Magical Record, cannot save an object: contextDidSave == NO, error = nil
- [__NSArrayM intValue]: unrecognized selector sent to instance
- CoreData+MagicalRecord.h file not found
- Can't archive project when use new MagicalRrecord
- MagicalRecord not saving
- MagicalRecord create entity nil
- Changes when record was created in today extension and updated in app are not visible in today extension
- Path to Core Data database with Magical Record
- How to use Apple's TableViewUpdates collapsable table view with Core Data and NSFetchedResultsController?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The simple, if not very pleasant, answer is to store the expanded / collapsed status into the Core Data store and then use a predicate with the FRC request so you can change the store contents and it will automatically update the table.
Alternative could be to mutate the data you get from the FRC when the table view requests info from the delegate, which is also messy.
Depending on your data you could use multiple FRCs, one for each section, though this may not be very extensible.