Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check version of AFNetworking?

I am thinking about upgrading my current project, but I don't know which version I have. Is there a way to tell?

like image 715
Marcel Gruber Avatar asked Feb 11 '15 18:02

Marcel Gruber


People also ask

What is AFNetworking in iOS?

AFNetworking is an open source networking library for iOS and macOS that simplifies a developer's tasks with a RESTful networking API and creates modular request/response patterns with success, progress, and failure completion blocks. It has a very active developer community and is used in some of the best apps.

What is AFNetworking framework?

AFNetworking is a delightful networking library for iOS, macOS, watchOS, and tvOS. It's built on top of the Foundation URL Loading System, extending the powerful high-level networking abstractions built into Cocoa. It has a modular architecture with well-designed, feature-rich APIs that are a joy to use.


2 Answers

You can always check Podfile.lock it will show you the last version and all its dependencies.

like image 144
Mike.R Avatar answered Oct 01 '22 03:10

Mike.R


No, you can't.

AFNetworking saves its version to the CHANGES file, you do can't find any version mark in any source files.

If the version number is very important to your project, you can scan the UIKit+AFNetworking folder and AFNetworking folder in the source code hosting on Github. According to commit log, to diff some specific code snippet for checking if it exists in a specific version.

like image 34
Allen Avatar answered Oct 01 '22 03:10

Allen