Provides a tableview cells expansion (expanding cell area - subcells'), you can expand cells up to level ∞-1. Use Dynamic JSON Tree structure to initialise, or use static initialisers - Indexing/Swifty Closures.
MIT License
167
stars
45
forks
source link
How to use this for my custom objects and NOT Parent / Child object? #16
You are using "Parent" and "Child" model in the library everywhere but I have different models for my use case. My use case is same as Facebook where I have "Activity" model and under that I have array of "ActivityComment" model and under that for replies I have array of "ActivityComment" model again, so it is like
Activity -> [ActivityComment]
ActivityComment -> [ActivityComment]
How do I use this library for my models instead of "Parent" and "Child" models given.
Please reply asap as I am in the middle of my development.
Hi, thank you for the awesome library.
You are using "Parent" and "Child" model in the library everywhere but I have different models for my use case. My use case is same as Facebook where I have "Activity" model and under that I have array of "ActivityComment" model and under that for replies I have array of "ActivityComment" model again, so it is like Activity -> [ActivityComment] ActivityComment -> [ActivityComment]
How do I use this library for my models instead of "Parent" and "Child" models given.
Please reply asap as I am in the middle of my development.
Thank You