Lists from Enums (with an iOS example)

Guides | Tutorial By 2 years ago

When you need to create any list in code there is a very easy way to make the list quickly reorderable. The solution is to use an enum, which is nearly a list in itself. Each entry in the enum represents a number, by default it is one more than the previous entry in the enum. When the order is just hardcoded, it can be time consuming when you need to move the entries of your list around. If you use an enum, then simply by changing the entry in the enum, your list will update automatically.

Removing reorder cell shadows from a UITableView

Guides | Tutorial By 3 years ago

Last week I explained how to reorder a cell from any point for a Scramble type game we had created. Another issue we faced with our Scramble game was the shadow behind each cell, which looked a tad weird. If you are facing the same issue, here is how you can correct it quite easily.