Skip to content

Commit

Permalink
Change architecture for pod
Browse files Browse the repository at this point in the history
- remove folder source
Now should import SparrowKit
  • Loading branch information
ivanvorobei committed Nov 28, 2018
1 parent 5d67c4c commit 7c2edbc
Show file tree
Hide file tree
Showing 141 changed files with 670 additions and 662 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -23,9 +23,18 @@ Or via CocoaPods:
```ruby
pod 'SPPermission'
```

and import library in class:
```swift
import SparrowKit
```

## How to use
Call `SPPermission` and use func `request()`. Also passed controller, on which dialog should present
```swift
import UIKit
import SparrowKit

class ViewController: UIViewController {

override func viewDidAppear(_ animated: Bool) {
Expand Down
4 changes: 2 additions & 2 deletions SPPermission.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SPPermission"
s.version = "2.1.4"
s.version = "2.1.6"
s.summary = "Simple request permissions with dialog alert"
s.homepage = "https://github.com/IvanVorobei/RequestPermission"
s.source = { :git => "https://github.com/IvanVorobei/RequestPermission.git", :tag => s.version }
Expand All @@ -13,5 +13,5 @@ Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = "10.0"

s.source_files = "source/sparrow/**/*.swift"
s.dependency 'SparrowKit', '~> 1.0.0'
end
1,319 changes: 659 additions & 660 deletions example/request-permission.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7c2edbc

Please sign in to comment.