NetworkEye can monitor all HTTP requests in App and display all information related to requests, which is convenient for network debugging of App development.

Can detect including web pages, NSURLConnecttion NSURLSession, AFNetworking, third-party libraries, such as third party SDK HTTP request, a very convenient and practical.

Podfile

Platform :ios, '7.0' pod "NetworkEye", "~> 0.9.3"

Use:

Note that using NetworkEye in DEBUG mode, add the following code to appdelegate. m

#import "NEHTTPEye.h"
#if defined(DEBUG)||defined(_DEBUG)
    [NSURLProtocol registerClass:[NEHTTPEye class]];
#endif

The NEHTTPEyeViewController can also be presented directly with the following code.

#if defined(DEBUG)||defined(_DEBUG)
    NEHTTPEyeViewController *vc=[[NEHTTPEyeViewController alloc] init];
    [self presentViewController:vc animated:YES completion:nil];
#endif

There are two configurable parameters in nehttpeye. h: the default database password is networkeye and the default monitors up to 300 requests. The requests are stored in the cache directory networkeye.sqlite.

#define kSQLitePassword @"networkeye"

#define kSaveRequestMaxCount 300

NetworkEye uses Aspects and relies on the repository SQLCipher. Aspects is used for a shake gesture and SQLCipher is used to encrypt the database.

The monitoring data interface of NetworkEye is shown as follows: