cforlando / PetAdoption-iOS

pet adoption app
MIT License
14 stars 15 forks source link

Moved api key to plist (implements #75) #76

Closed WERUreo closed 6 years ago

WERUreo commented 6 years ago

I created a new file called apikey.plist. The PetFinder API key will now live in this file. This file is included in the project with the appropriate targets. Code was added to PTKRequestManager.swift to pull the key from this plist.

In order to keep the API key secret, apikey.plist was included in .gitignore. In order to help contributors, a template file called apikey.plist.example was also created with a placeholder for the api key. Instructions were added to the README and Contributing files to instruct contributors on how to use this template to create the actual apikey.plist that is now required for the app.