Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Start Your Project Off Right, with CocoaPods & AFNetworking

branch: master

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.


You can skip steps 1 & 2 by installing the AFNetworking Project Template with Alcatraz, an Xcode package manager application for Mac OS X.

  1. Download or clone the repository
  2. Move the contents of Project Templates in the repository into the ~/Library/Developer/Xcode/Templates/Application/Project Templates directory. You may have to create the Templates/Application/Project Templates directories.
  3. 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.


Follow AFNetworking on Twitter (@AFNetworking)


Mattt Thompson


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

Something went wrong with that request. Please try again.