Skip to content

Commit 1eb9372

Browse files
author
Rogerio de Paula Assis
committed
Initial Commit
0 parents  commit 1eb9372

File tree

13 files changed

+782
-0
lines changed

13 files changed

+782
-0
lines changed

.gitignore

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData/
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata/
19+
20+
## Other
21+
*.moved-aside
22+
*.xcuserstate
23+
*.xcscmblueprint
24+
25+
## Obj-C/Swift specific
26+
*.hmap
27+
*.ipa
28+
*.dSYM.zip
29+
*.dSYM
30+
31+
## Playgrounds
32+
timeline.xctimeline
33+
playground.xcworkspace
34+
35+
# Swift Package Manager
36+
#
37+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
38+
# Packages/
39+
.build/
40+
41+
# CocoaPods
42+
#
43+
# We recommend against adding the Pods directory to your .gitignore. However
44+
# you should judge for yourself, the pros and cons are mentioned at:
45+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
46+
Pods/
47+
48+
# Carthage
49+
#
50+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
51+
Carthage/Checkouts
52+
Carthage/Build
53+
54+
# fastlane
55+
#
56+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
57+
# screenshots whenever they are needed.
58+
# For more information about the recommended setup visit:
59+
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
60+
61+
fastlane/report.xml
62+
fastlane/Preview.html
63+
fastlane/screenshots
64+
fastlane/test_output

Cartfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "ReactiveX/RxSwift" ~> 4.0

Cartfile.resolved

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "ReactiveX/RxSwift" "4.4.0"

LICENSE.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
The MIT License (MIT)
2+
=====================
3+
4+
Copyright © 2019 Rogerio de Paula Assis
5+
6+
Permission is hereby granted, free of charge, to any person
7+
obtaining a copy of this software and associated documentation
8+
files (the “Software”), to deal in the Software without
9+
restriction, including without limitation the rights to use,
10+
copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the
12+
Software is furnished to do so, subject to the following
13+
conditions:
14+
15+
The above copyright notice and this permission notice shall be
16+
included in all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
19+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25+
OTHER DEALINGS IN THE SOFTWARE.
26+

README.md

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
RxPhotos
2+
======================================
3+
4+
## About
5+
6+
N/A
7+
8+
## Usage
9+
10+
N/A
11+
12+
## Example App
13+
14+
N/A
15+
16+
## Requirements
17+
18+
* Xcode 10
19+
* Swift 4.2
20+
21+
## Installation
22+
23+
### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html)
24+
25+
**Tested with `pod --version`: `1.1.1`**
26+
27+
In your `Podfile`:
28+
29+
```ruby
30+
use_frameworks!
31+
32+
target "YOUR_TARGET_NAME" do
33+
pod "RxPhotos"
34+
end
35+
```
36+
37+
Replace `YOUR_TARGET_NAME` and then, in the same directory, run:
38+
39+
```shell
40+
pod install
41+
```
42+
43+
### [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
44+
45+
**Tested with `carthage version`: `0.18`**
46+
47+
Add this to `Cartfile`
48+
49+
```
50+
github "rpassis/RxPhotos"
51+
```
52+
53+
In the same directory, run:
54+
55+
```shell
56+
carthage update
57+
```
58+
59+
Link/Embed frameworks as explained [here](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application). Besides linking `RxPhotos`, you will also need to link `RxSwift` and `RxCocoa`.
60+
61+
## Contributing
62+
63+
Help is always appreciated!
64+
65+
```shell
66+
git clone [email protected]:rpassis/RxPhotos.git
67+
cd RxPhotos
68+
```
69+
> Or use your own forked repo.
70+
71+
```shell
72+
carthage bootstrap
73+
```
74+
> This is necessary in order to be able to build the framework on its own and run tests.
75+
However, if you prefer, you can instead develop it while it's within another project.
76+
77+
Before submitting a PR, please make sure that the tests pass.

RxPhotos.podspec

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Pod::Spec.new do |s|
2+
s.name = "RxPhotos"
3+
s.version = "1.0.0"
4+
s.summary = "Helpful classes and extensions for the iOS Photos framework"
5+
s.description = <<-DESC
6+
Helpful classes and extensions for the iOS Photos framework
7+
DESC
8+
s.homepage = "https://github.com/rpassis/RxPhotos"
9+
s.license = { :type => "MIT", :file => "LICENSE.md" }
10+
s.author = { "Rogerio de Paula Assis" => "[email protected]" }
11+
s.swift_version = "4.2"
12+
s.ios.deployment_target = "8.0"
13+
# s.osx.deployment_target = "10.10"
14+
# s.tvos.deployment_target = "9.0"
15+
# s.watchos.deployment_target = "2.0"
16+
s.source = { :git => "https://github.com/rpassis/RxPhotos.git", :tag => "#{s.version}" }
17+
# s.source_files = 'Source/Common/*.swift'
18+
s.ios.source_files = 'Source/iOS/*.swift'
19+
s.dependency "RxSwift", "~> 4.4"
20+
s.dependency "RxCocoa", "~> 4.4"
21+
end

0 commit comments

Comments
 (0)