Skip to content

Commit

Permalink
Merge pull request #64 from ArtSabintsev/improvement/version-checking
Browse files Browse the repository at this point in the history
Minor changes after PR 63
  • Loading branch information
ArtSabintsev committed May 24, 2016
2 parents c81daf1 + 07139b9 commit 29a30f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- [Justus Kandzi](https://github.com/jkandzi) for [Pull Request #108 (Harpy)](https://github.com/ArtSabintsev/Harpy/pull/108)
- [Maxim-Inv](https://github.com/Maxim-Inv) for [Pull Request #40](https://github.com/ArtSabintsev/Siren/pull/40)
- [Dirk van Oosterbosch](https://github.com/irlabs) for [Pull Request #54](https://github.com/ArtSabintsev/Siren/pull/54) and [Pull Request #55](https://github.com/ArtSabintsev/Siren/pull/55)
- [pavankataria](https://github.com/pavankataria) for [Pull Request #63](https://github.com/ArtSabintsev/Siren/pull/63)

### Harpy Project Contributors
This repo is a Swift language port of [Harpy](http://github.com/ArtSabintsev/Harpy). We couldn't have built this port without acknowledging the following developers who were instrumental in getting Harpy to v3.2.1, the version of Harpy that Siren was based on.
Expand Down
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.8.0"
s.version = "0.8.1"
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
10 changes: 2 additions & 8 deletions Siren/Siren.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=//
//
// Siren.swift
// Siren
//
Expand Down Expand Up @@ -259,13 +259,7 @@ public final class Siren: NSObject {
private var updaterWindow: UIWindow?

// Initialization
public class var sharedInstance: Siren {
struct Singleton {
static let instance = Siren()
}

return Singleton.instance
}
public static let sharedInstance = Siren()

override init() {
lastVersionCheckPerformedOnDate = NSUserDefaults.standardUserDefaults().objectForKey(SirenUserDefaults.StoredVersionCheckDate.rawValue) as? NSDate
Expand Down

0 comments on commit 29a30f6

Please sign in to comment.