Skip to content

Commit

Permalink
Add podspec + other doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nathankot committed Aug 5, 2015
1 parent b04405c commit e264a9e
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 27 deletions.
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Nathan Kot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
21 changes: 21 additions & 0 deletions NKMultipeer.podspec
@@ -0,0 +1,21 @@

Pod::Spec.new do |s|
s.name = "NKMultipeer"
s.version = "0.1.0"
s.summary = "Testable p2p abstraction using the adapter pattern. Comes with MultipeerConnectivity support."
s.homepage = "https://github.com/nathankot/NKMultipeer"
s.license = 'MIT'
s.author = { "Nathan Kot" => "nk@nathankot.com" }
s.source = { :git => "https://github.com/nathankot/NKMultipeer.git", :tag => s.version.to_s }

s.platform = :ios
s.ios.deployment_target = "8.0"
s.requires_arc = true

s.source_files = 'NKMultipeer/**/*'
s.resource_bundles = {}

# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'MultipeerConnectivity'
s.dependency 'RxSwift', '~> 1.8'
end
4 changes: 2 additions & 2 deletions Podfile
Expand Up @@ -4,11 +4,11 @@
use_frameworks!

target 'NKMultipeer' do
pod "RxSwift"
pod "RxSwift", "~> 1.8"
end

target 'NKMultipeerTests' do
pod "Quick", "~> 0.3.1"
pod "Nimble", "~> 1.0.0"
pod "RxSwift"
pod "RxSwift", "~> 1.8"
end
2 changes: 1 addition & 1 deletion Podfile.lock
Expand Up @@ -6,7 +6,7 @@ PODS:
DEPENDENCIES:
- Nimble (~> 1.0.0)
- Quick (~> 0.3.1)
- RxSwift
- RxSwift (~> 1.8)

SPEC CHECKSUMS:
Nimble: 8bee528e5fcc403653076545db562d2b5db7bb87
Expand Down
31 changes: 7 additions & 24 deletions README.md
Expand Up @@ -10,32 +10,15 @@ your own adapters for different protocols.
Please note that NKMultipeer makes heavy use of [RxSwift](https://github.com/kzaher/RxSwift) which you should read up on
if unfamiliar with Rx* libraries.

## Installation

```
use_frameworks!
pod "NKMultipeer"
```

## Example code

### @TODO : Testing

### @TODO : Usage

## License

The MIT License (MIT)

Copyright (c) 2015 Nathan Kot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

0 comments on commit e264a9e

Please sign in to comment.