Swift: Magical Grid - Hash Map Views Dictionary (Ep 2)

Profile Picture
Published on Apr 17, 2017🌏 Public

Today we figure out how to select the cells that are inside of our grid based on the location of our gesture. First I'll demonstrate a method that isn't all that efficient. Then we take a look at an optimization that uses a HashMap also known as a Dictionary for our cells. Enjoy. Instagram Firebase Course https://www.letsbuildthatapp.com/cour... Facebook Group https://www.facebook.com/groups/12406... iOS Basic Training Course https://www.letsbuildthatapp.com/basi... Completed Source Code https://www.letsbuildthatapp.com/cour... Follow me on Twitter: https://twitter.com/buildthatapp