Комментарии:
Great video! How can we delete the items? I can swap them, but when I click on the minus icon on the left of the sort, nothing happens. Please explain.
ОтветитьHi, appreciate how clear way of explanation you are using. Would like to ask you two question. 1. in case I have to views - table and collection, after reordering the table cells how can I reflect the reordered array also in collection view? 2. how can I keep the reordered array/table cells also after adding a new item/table cell in the array?
ОтветитьInside didTapSort:
table.isEditing = !table.isEditing;
Saved my homework, thanks a lot
Ответитьthank you :)
ОтветитьIs it possible to change the default reorder icon while editing?
Ответитьhow do you swap the index of core data entities?
ОтветитьNice video, but how can I make my table delete elements?
I mean we have the edit button with red minuses once it is pressed, but when I swipe the element left and click "delete" - nothing happens
please help)
Would it be different for a table created in another view controller?
ОтветитьThis is great but when you come back to the app again the new order is not saved. Do you have a video to show the saving part? Thanks
ОтветитьGood Job Sir
ОтветитьIt’s wondering video^^ Please show me only program without storybord. I tried it but can’t
ОтветитьGreat video! But I think using the swap method in moveRowAt is wrong. For example, you move first row after fourth row and the rows will be: second, third, fourth, first. But the array will be: fourth, second, third, first. Try to print the array in the console every time rows are moved. I would do something like this:
let removedElement = models.remove(at: sourceIndexPath.row)
models.insert(removedElement, at: destinationIndexPath.row)
can you change the name of the bar button (ex. done ) while it is being edited and then change it back to sort when it is done?
ОтветитьThank you a lot!
ОтветитьExcelente video!
ОтветитьThat's great. keep going man, I like the style of your video.
ОтветитьHey Please make a video to Save & display time & date in UITableView Cell Core Data?
Ответитьbest
Ответитьnice video
Ответить