/SwiftAFNetworkingDemo

Demonstrate AFNetworking function Using Swift

Primary LanguageSwift

Demo AFNetworking Functions Using Swift/iOS 8/Xcode 6 Beta 5

Functions Supported:

Download Image Cache Image Cleanup Cached Image HTTP Get

Here is the steps you need to run before opening the workspace:

1. Install Cocoapods

$ sudo gem install cocoapods

2. Create Podfile (included in source tree), to Declare dependencies and Install them

$ pod install

3. Open the workspace using Xcode 6 Beta 5

$ open SwiftAFNetworkingDemo.xcworkspace

References:

  1. http://cocoapods.org/
  2. https://medium.com/@kirualex/cocoapods-with-swift-e6f8ba8f0afc - How to create Bridging Header
  3. https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking - How to config AFNetworking in Podfile