/Xcode-Project-Templates

Start Your Project Off Right, with CocoaPods & AFNetworking

Primary LanguageObjective-CMIT LicenseMIT

AFNetworking Xcode Project Templates

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.

Installation

  1. Download or clone the repository
  2. Move the contents of Project Templates in the repository into the ~/Library/Developer/Xcode/Templates/File Templates/ directory. You may have to create the Templates/File Templates directories.
  3. Install [CocoaPods](~/Library/Developer/Xcode/Templates/File Templates/)
  4. In Xcode, check that installation was successful by creating a New Project (⌘⇧N), and checking for the AFNetworking section under iOS.

Xcode Project Template Screenshot 1

Xcode Project Template Screenshot 2

Xcode Project Template Screenshot 3

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.

Contact

Follow AFNetworking on Twitter (@AFNetworking)

Creators

Mattt Thompson
@mattt

License

AFNetworking Xcode Project Templates are available under the MIT license. See the LICENSE file for more info.