We all love Siri’s little witty quips, but I recently read a heartwarming article over on Mashable that reflects the power of technology to change lives in ways that most of us would never appreciate. I won’t spoil
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.
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.