bobbyali / kidzvids2

Second attempt at the kid-friendly Youtube iOS player
1 stars 2 forks source link

Hiding the API key #37

Open bobbyali opened 9 years ago

bobbyali commented 9 years ago

What's the best way of doing this? Obviously the key needs to go into a separate file which is then included in .gitignore. But should I put it into a global variable, or into an Extension for the NetworkImporter class?

bobbyali commented 9 years ago

Constants swift file. (Don't need to do an explicit 'include')