Comments (7)
Hi @MojtabaHs,
This was added 10 days ago. #82
I'll take some time to add it to the README.
from datasource.
I'll make sure to add a demo project to check that we're on the same page :)
from datasource.
hmmmm. I see. Index path for cell with id is a good solution. But some times data source object should decide witch cell id should be used. The solution you mentioned is good but its need some index path storing and passing the array to delegate and etc. But it could easily achieved at initial time... if you know what I mean.
from datasource.
I'm sorry. I don't follow. Maybe you could more information about your use case. Like how your interface looks and how your data is stored, do you separate by sections? Etc.
I see an opportunity to add an awesome feature and would be nice if we could collaborate to make it happen :)
from datasource.
Imagine a conversation app like apple native messages. some messages contains only emoji, some only images, videos, maps and etc. Each one has its own xib (I think) and the table view datasource contain all of them. at cell initialization we could have something like:
if (message.containsOnlyVideo) {
cell = videoOnly cell from nib
}
I hope you got the idea. And about collaborate, I love to. But at this time, I'm working on some other part of my application and it could be my next job ;)
from datasource.
I think that should work with what was added on #82
🤔
from datasource.
Added an issue for this #91
from datasource.
Related Issues (20)
- No Example to delete items in table-view HOT 2
- Predicate update for DATASource cause crash HOT 2
- Filtering DATASource HOT 2
- Sorting by distance HOT 6
- Pagination HOT 5
- Customizing change animations in Objective C HOT 3
- How to change predicate on fetchrequest? HOT 3
- NSRangeException exception in NSFetchedResultsChangeUpdate event of NSFetchedResultsController HOT 2
- UITableVIew swipe trailingSwipeActionsConfigurationForRowAt not working HOT 4
- sortDescriptors proposal HOT 4
- NSInternalInconsistencyException at controllerDidChangeContent (DATASource+NSFetchedResultsControllerDelegate.swift:137) HOT 5
- Updating core data object causes DATASource to delete from tableView HOT 5
- Invalid Update Crash HOT 1
- Unit test viewForSupplementaryElementOfKind with title HOT 1
- TableViewCRUDAndReorder Demo HOT 2
- Demo on multiple cell identifier
- Add a way to disable calling configure cell in cellForItemAt HOT 1
- Assertion failure in -[UITableView _endCellAnimationsWithContext HOT 10
- DidSelectRowAtIndexPath HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datasource.