Start Your Project Off Right, with CocoaPods & AFNetworking
This template provides a starting point for an application using AFNetworking. It provides an AFHTTPClient
subclass, as well as a Podfile
and GitHub's Objective-C .gitignore file. When the Core Data option is enabled, the application is configured for AFIncrementalStore.
- Download or clone the repository
- Move the contents of
Project Templates
in the repository into the~/Library/Developer/Xcode/Templates/File Templates/
directory. You may have to create theTemplates/File Templates
directories. - Install [CocoaPods](~/Library/Developer/Xcode/Templates/File Templates/)
- In Xcode, check that installation was successful by creating a New Project (⌘⇧N), and checking for the AFNetworking section under iOS.
Immediately after you've created your project, you should close the project window, and run
pod install
in the project directory. The installation process will generate an Xcode Workspace (.xcworkspace) file containing your original project and a project for the CocoaPods static library; you should use this exclusively from that point forward.
Follow AFNetworking on Twitter (@AFNetworking)
AFNetworking Xcode Project Templates are available under the MIT license. See the LICENSE file for more info.