Skip to content

Commit 9934b62

Browse files
author
Christos Kasketis
committed
ADD: OSX support!
1 parent 9adfd56 commit 9934b62

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
![](https://raw.githubusercontent.com/kasketis/netfox/master/assets/netfox_logo.png)
22

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

9-
A lightweight, one line setup, network debugging library that provides a quick look on all executed network requests performed by your app.
9+
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.
1010
It grabs all requests - of course yours, requests from 3rd party libraries (such as AFNetworking, Alamofire or else), UIWebViews, and more
1111

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

1818
### Overview
19-
![](https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif)
19+
| ![](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) |
20+
|---|---|
2021

2122
## Installation
2223

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

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

71+
The above folder contains 3 subfolders: Core, iOS and OSX.
72+
73+
If you target on iOS keep only Core and iOS folders (remove OSX folder)
74+
If you target on OSX keep only Core and OSX folders (remove iOS folder)
75+
7076
## Start
7177

7278
To start netfox add the following line in didFinishLaunchingWithOptions: method of your AppDelegate
@@ -155,6 +161,10 @@ Tip: You can use the url of the host (for example "https://www.github.com") to i
155161
- 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)
156162
- Due to the large size of request/response bodies, the library provides disk storage for low memory overhead
157163

164+
## Thanks
165+
166+
Special thanks to [tbaranes](https://github.com/tbaranes) and [vincedev](https://github.com/vincedev) for their contribution on OSX library!
167+
158168
## Licence
159169

160170
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.

netfox-info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.7.3</string>
18+
<string>1.8</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

netfox.podspec

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "netfox"
3-
s.version = "1.7.2"
4-
s.summary = "A lightweight, one line setup, iOS network debugging library!"
3+
s.version = "1.8"
4+
s.summary = "A lightweight, one line setup, iOS/OSX network debugging library!"
55

66
s.description = <<-DESC
77
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.
@@ -11,13 +11,12 @@ DESC
1111
s.screenshots = "https://raw.githubusercontent.com/kasketis/netfox/master/assets/overview1_5_3.gif"
1212
s.license = 'MIT'
1313
s.author = "Christos Kasketis"
14-
s.source = { :git => "https://github.com/kasketis/netfox.git", :tag => '1.7.2' }
14+
s.source = { :git => "https://github.com/kasketis/netfox.git", :tag => '1.8' }
1515

1616
s.platform = :ios, '8.0'
1717
s.platform = :osx, '10.0'
1818
s.requires_arc = true
1919

20-
s.source_files = "netfox/*.swift"
21-
s.ios.source_files = "netfox/iOS/*.swift"
22-
s.osx.source_files = "netfox/OS X/*.swift"
20+
s.ios.source_files = "netfox/Core/*.swift" , "netfox/iOS/*.swift"
21+
s.osx.source_files = "netfox/Core/*.swift" , "netfox/OSX/*.swift"
2322
end

0 commit comments

Comments
 (0)