Skip to content

Commit

Permalink
ADD: OSX support!
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Kasketis committed Jun 27, 2016
1 parent 9adfd56 commit 9934b62
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
![](https://raw.githubusercontent.com/kasketis/netfox/master/assets/netfox_logo.png)

[![Version](https://img.shields.io/badge/version-1.7.2-green.svg?style=flat-square)]()
[![Version](https://img.shields.io/badge/version-1.8-green.svg?style=flat-square)]()
[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/netfox.svg?style=flat-square)](https://github.com/cocoapods/cocoapods)
[![Carthage compatible](https://img.shields.io/badge/carthage-compatible-4BC51D.svg?style=flat-square)](https://github.com/Carthage/Carthage)
[![Platform](https://img.shields.io/cocoapods/p/netfox.svg?style=flat-square)](http://cocoadocs.org/docsets/netfox)
[![License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](https://opensource.org/licenses/MIT)

A lightweight, one line setup, network debugging library that provides a quick look on all executed network requests performed by your app.
A lightweight, one line setup, network debugging library that provides a quick look on all executed network requests performed by your iOS or OSX app.
It grabs all requests - of course yours, requests from 3rd party libraries (such as AFNetworking, Alamofire or else), UIWebViews, and more

Very useful and handy for network related issues and bugs
Expand All @@ -16,7 +16,8 @@ Implemented in Swift 2.1 - bridged also for Objective-C
Feel free to contribute :)

### Overview
![](https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif)
| ![](https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif) | ![](https://cloud.githubusercontent.com/assets/1402212/12893259/78de16ba-ce90-11e5-976f-a2b875e25cbd.png) |
|---|---|

## Installation

Expand Down Expand Up @@ -67,6 +68,11 @@ If you prefer not to use dependency managers, you can integrate netfox into your

You can do it by copying the "netfox" folder in your project (make sure that "Create groups" option is selected)

The above folder contains 3 subfolders: Core, iOS and OSX.

If you target on iOS keep only Core and iOS folders (remove OSX folder)
If you target on OSX keep only Core and OSX folders (remove iOS folder)

## Start

To start netfox add the following line in didFinishLaunchingWithOptions: method of your AppDelegate
Expand Down Expand Up @@ -155,6 +161,10 @@ Tip: You can use the url of the host (for example "https://www.github.com") to i
- If you experience any problems with request logging please check [this](https://github.com/kasketis/netfox/blob/master/Workarounds.md). If you don't get your answer please open an [issue](https://github.com/kasketis/netfox/issues)
- Due to the large size of request/response bodies, the library provides disk storage for low memory overhead

## Thanks

Special thanks to [tbaranes](https://github.com/tbaranes) and [vincedev](https://github.com/vincedev) for their contribution on OSX library!

## Licence

All source code is licensed under [MIT License](https://github.com/kasketis/netfox/blob/master/LICENSE). Which means you could do virtually anything with the code. I will appreciate it very much if you keep an attribution where appropriate.
Expand Down
2 changes: 1 addition & 1 deletion netfox-info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.7.3</string>
<string>1.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
11 changes: 5 additions & 6 deletions netfox.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "netfox"
s.version = "1.7.2"
s.summary = "A lightweight, one line setup, iOS network debugging library!"
s.version = "1.8"
s.summary = "A lightweight, one line setup, iOS/OSX network debugging library!"

s.description = <<-DESC
A lightweight, one line setup, network debugging library that provides a quick look on all executed network requests performed by your app. It grabs all requests - of course yours, requests from 3rd party libraries (such as AFNetworking or else), UIWebViews, and more. Very useful and handy for network related issues and bugs.
Expand All @@ -11,13 +11,12 @@ DESC
s.screenshots = "https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif"
s.license = 'MIT'
s.author = "Christos Kasketis"
s.source = { :git => "https://github.com/kasketis/netfox.git", :tag => '1.7.2' }
s.source = { :git => "https://github.com/kasketis/netfox.git", :tag => '1.8' }

s.platform = :ios, '8.0'
s.platform = :osx, '10.0'
s.requires_arc = true

s.source_files = "netfox/*.swift"
s.ios.source_files = "netfox/iOS/*.swift"
s.osx.source_files = "netfox/OS X/*.swift"
s.ios.source_files = "netfox/Core/*.swift" , "netfox/iOS/*.swift"
s.osx.source_files = "netfox/Core/*.swift" , "netfox/OSX/*.swift"
end

0 comments on commit 9934b62

Please sign in to comment.