-
Notifications
You must be signed in to change notification settings - Fork 1
Home
It's difficult to exactly describe what this code does. So I'll just show it.
Let say you want to create a custom menu/setting with table view which looks like below. It's not too difficult.
The difficulty comes when you start to show and hide different rows like here which I hide "Remove advertising" because the user's already purchased that option and would not need it in the future.
And here is another case where I want extra rows to show up after user purchase "Dropbox Sync" option. To program such logic manually would require lots of if and switch logic and it mesh up my head a bit.
This is a simple case of just swapping the row with a different row to show sync progress. By using the DCCustomTableView. All these logic can be done more easily. Read the code of how it's implemented.