I'm trying to learn about frameworks and how to use them in my Swift app. I'm a beginner at Swift, I understand OOP concepts but am completely new to handling libraries and frameworks.
I want to use frameworks like SwiftyJSON, Alamofire, and plenty more but want to use them in the simplest way possible. I found out that Carthage is the easiest way to update these into your project. However I haven't found a single user-friendly guide or tutorial on using this! I read the documentation here (https://github.com/Carthage/Carthage/blob/master/README.md) but it was very confusing for me. I am completely stuck at creating a Cartfile.
How do you create a Cartfile? Where should it be located?
After that I understand the commands to put in it, but I'm stuck at creating it and understanding the fundementals.