Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Commit

Permalink
[General] Use internal for rx_permissionInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinejr committed Apr 16, 2016
1 parent 8bc02e4 commit c5a98dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions RxPermission.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ Pod::Spec.new do |s|
s.name = "RxPermission"
s.version = "0.1.0"
s.summary = "RxSwift bindings for Permissions API in iOS."
s.description = <<-DESC
s.description = <<-EOS
RxSwift binding for [Permission](https://github.com/delba/Permission) API that helps you with Permissions in iOS.
DESC
EOS
s.homepage = "https://github.com/sunshinejr/RxPermission"
s.license = 'MIT'
s.author = { "Sunshinejr" => "[email protected]" }
s.author = { "Łukasz Mróz" => "[email protected]" }
s.source = { :git => "https://github.com/sunshinejr/RxPermission.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/thesunshinejr'
s.platform = :ios, '8.0'
s.ios.deployment_target = '8.0'
s.source_files = 'Source/*.swift'
s.dependency 'Permission', '~> 1.2'
Expand Down
2 changes: 1 addition & 1 deletion Source/RxPermission.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public extension Permission {
return rx_permissionInstance.asObservable()
}

var rx_permissionInstance: PublishSubject<PermissionStatus> {
private var rx_permissionInstance: PublishSubject<PermissionStatus> {
get {
var permission: PublishSubject<PermissionStatus>!
doLocked {
Expand Down

0 comments on commit c5a98dc

Please sign in to comment.