Skip to content

Commit

Permalink
Merge pull request #47 from ArtSabintsev/refactor-delegate
Browse files Browse the repository at this point in the history
Exposed currentAppStoreVersion
  • Loading branch information
ArtSabintsev committed Mar 16, 2016
2 parents 6c99998 + 375d19a commit fedf818
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Siren.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Siren"
s.version = "0.6.6"
s.version = "0.6.7"
s.summary = "Notify users when a new version of your iOS app is available, and prompt them with the App Store link.."

s.description = <<-DESC
Expand Down
8 changes: 6 additions & 2 deletions Siren/Siren.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,14 @@ public class Siren: NSObject {
Overrides the tint color for UIAlertController.
*/
public var alertControllerTintColor: UIColor?


/**
The current version of your app that is available for download on the App Store
*/
public private(set) var currentAppStoreVersion: String?

// Private
private var lastVersionCheckPerformedOnDate: NSDate?
private var currentAppStoreVersion: String?
private var updaterWindow: UIWindow?

// MARK: Initialization
Expand Down

0 comments on commit fedf818

Please sign in to comment.