Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94602ea642 | ||
|
|
0e39df021c | ||
|
|
b4c935c6c5 | ||
|
|
c83354c959 | ||
|
|
9b7b96a359 | ||
|
|
0d0c610678 | ||
|
|
c32927f2bd | ||
|
|
f041e631c8 |
@@ -0,0 +1 @@
|
||||
3.0.2
|
||||
@@ -0,0 +1,14 @@
|
||||
Contributing 🚀
|
||||
===============
|
||||
|
||||
For fixes, improvements or ideas, fork the repository and issue a pull request.
|
||||
|
||||
To get a pull request accepted, please adhere to these rules:
|
||||
- Work from the latest `master` branch.
|
||||
- Respect current code style and respect the [SwiftLint](https://github.com/realm/SwiftLint) rules (see swiftlint's file).
|
||||
- If this is about new features, please make sure to add enable/disable configuration.
|
||||
|
||||
Ideally, only work on one feature at a time.
|
||||
If you've done work on the code (i.e. not just fixes to the README), add yourself to the top of [`CONTRIBUTORS.md`](./CONTRIBUTORS.md).
|
||||
|
||||
Thank you, and happy coding ! 😘
|
||||
@@ -0,0 +1,9 @@
|
||||
Contributors
|
||||
============
|
||||
|
||||
Contributors to the codebase :
|
||||
|
||||
| Name | Github handle | Mail |
|
||||
| ------------- |------------- | ----- |
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
|
||||
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
|
||||
6B97E461A777A38641DFF2BB /* Pods_OpenSourceController_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 01C1ED0DAD6B8C56070C2725 /* Pods_OpenSourceController_Example.framework */; };
|
||||
767195ED1E697890005424C6 /* CONTRIBUTORS.md in Sources */ = {isa = PBXBuildFile; fileRef = 767195EC1E697890005424C6 /* CONTRIBUTORS.md */; };
|
||||
767195EF1E697896005424C6 /* CONTRIBUTING.md in Sources */ = {isa = PBXBuildFile; fileRef = 767195EE1E697896005424C6 /* CONTRIBUTING.md */; };
|
||||
DE9F38AD98FC5DFBDF7EADF1 /* Pods_OpenSourceController_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B544A0C5F114143EEFD0366A /* Pods_OpenSourceController_Tests.framework */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
@@ -54,6 +56,8 @@
|
||||
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
|
||||
64B1D807A1D310FDA418A3AD /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
|
||||
64E410A815536CB40C9EFD4D /* Pods-OpenSourceController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSourceController_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OpenSourceController_Example/Pods-OpenSourceController_Example.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
767195EC1E697890005424C6 /* CONTRIBUTORS.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTORS.md; path = ../CONTRIBUTORS.md; sourceTree = "<group>"; };
|
||||
767195EE1E697896005424C6 /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTING.md; path = ../CONTRIBUTING.md; sourceTree = "<group>"; };
|
||||
7992D734190D4686F9AF2409 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
|
||||
87501F335829155E114806FA /* Pods-OpenSourceController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSourceController_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OpenSourceController_Tests/Pods-OpenSourceController_Tests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
B544A0C5F114143EEFD0366A /* Pods_OpenSourceController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OpenSourceController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@@ -147,6 +151,8 @@
|
||||
C1CC167BCAEA652E1A800918 /* OpenSourceController.podspec */,
|
||||
64B1D807A1D310FDA418A3AD /* README.md */,
|
||||
7992D734190D4686F9AF2409 /* LICENSE */,
|
||||
767195EC1E697890005424C6 /* CONTRIBUTORS.md */,
|
||||
767195EE1E697896005424C6 /* CONTRIBUTING.md */,
|
||||
);
|
||||
name = "Podspec Metadata";
|
||||
sourceTree = "<group>";
|
||||
@@ -406,6 +412,8 @@
|
||||
files = (
|
||||
607FACD81AFB9204008FA782 /* ViewController.swift in Sources */,
|
||||
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
|
||||
767195EF1E697896005424C6 /* CONTRIBUTING.md in Sources */,
|
||||
767195ED1E697890005424C6 /* CONTRIBUTORS.md in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
||||
@@ -28,10 +28,12 @@ class ViewController: UIViewController {
|
||||
// Init with LicenceFile object
|
||||
openSourceVC.licences = [LicenceFile(title: "FacebookImagePicker",
|
||||
url: "https://raw.githubusercontent.com/terflogag/FacebookImagePicker/master/LICENSE"),
|
||||
LicenceFile(title: "JSQMessagesViewController",
|
||||
url: "https://raw.githubusercontent.com/jessesquires/JSQMessagesViewController/develop/LICENSE"),
|
||||
LicenceFile(title: "OpenSourceController",
|
||||
url: "https://raw.githubusercontent.com/terflogag/OpenSourceController/master/LICENSE")]
|
||||
// LicenceFile(title: "JSQMessagesViewController",
|
||||
// url: "https://raw.githubusercontent.com/jessesquires/JSQMessagesViewController/develop/LICENSE"),
|
||||
// LicenceFile(title: "OpenSourceController",
|
||||
// url: "https://raw.githubusercontent.com/terflogag/OpenSourceController/master/LICENSE"),
|
||||
LicenceFile(title: "Twitter & Fabric",
|
||||
url: " http://get.fabric.io/terms/opensource.txt")]
|
||||
|
||||
// Present controller
|
||||
openSourceVC.presentOpenSourceController(from: self)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'OpenSourceController'
|
||||
s.version = '1.0.2'
|
||||
s.version = '1.0.3'
|
||||
s.summary = 'Display all the librarys licence used in your application. Enjoy !'
|
||||
s.description = 'Display a screen with all licence used in your apply can be painful to maintain. OpenSourceController was built to respond to this problem. OpenSourceController is a simple parser to display the licences which are used in your application.'
|
||||
s.homepage = 'https://github.com/terflogag/OpenSourceController'
|
||||
|
||||
@@ -11,7 +11,7 @@ import Foundation
|
||||
extension Array {
|
||||
|
||||
/// Get an index safely
|
||||
public func get(at index: Int) -> Element? {
|
||||
func get(at index: Int) -> Element? {
|
||||
guard index >= 0
|
||||
&& index < count else {
|
||||
return nil
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="Prs welcome" />
|
||||
<a href="https://cocoapods.org/pods/OpenSourceController" target="_blank"><img src="https://img.shields.io/cocoapods/v/OpenSourceController.svg?style=flat" alt="Cocoapods version" /></a>
|
||||
<a href="http://cocoapods.org/pods/OpenSourceController" target="_blank"><img src="https://img.shields.io/cocoapods/l/OpenSourceController.svg?style=flat" alt="Cocoapods licence" /></a>
|
||||
<a href="http://cocoapods.org/pods/OpenSourceController" target="_blank"><img src="https://img.shields.io/cocoapods/p/OpenSourceController.svg?style=flat" alt="Cocoapods plateform" /></a>
|
||||
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="Prs welcome" />
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
@@ -23,15 +26,15 @@ Display a screen with all licences used in your application can be painful to ma
|
||||
## Features
|
||||
|
||||
- [x] Display tableView with licences used in your app
|
||||
- [x] AppStore ready
|
||||
- [x] Swift 3
|
||||
- [x] Download licence from an URL
|
||||
|
||||
## Todo
|
||||
## Todo (feel free to make PR)
|
||||
|
||||
- [ ] Download licence from Podfile (https://github.com/terflogag/OpenSourceController/issues/1)
|
||||
- [ ] Download licence from Cartfile (https://github.com/terflogag/OpenSourceController/issues/2)
|
||||
- [ ] Carthage support (feel free to make PR)
|
||||
- [ ] Unit & UI Test (feel free to make PR)
|
||||
- [ ] Download licence from local file
|
||||
- [ ] Carthage support
|
||||
- [ ] Unit & UI Test
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -83,7 +86,7 @@ OpenSourceController is currently write in english. If you need translation for
|
||||
|
||||
## Applications
|
||||
|
||||
Some applications already use this picker like :
|
||||
Some applications already use this controller like :
|
||||
- [Troll Generator](https://itunes.apple.com/fr/app/troll-generator/id1038097542?mt=8)
|
||||
- [Giraf](https://itunes.apple.com/fr/app/giraf/id1136592561?mt=8)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user