Compare commits

...

12 Commits

Author SHA1 Message Date
Arthur Ariel Sabintsev d322afa41a Updated podspec 2017-04-26 10:34:01 -04:00
Txai Wieser a5a95c43af Update pt-BR localization (#140)
In Portuguese from Brazil you say "o aplicativo" (the application) with masculine pronoun, you can say "a aplicação" too but it's not very common, and its a little weird. So "A new version the 'Application'" would be translated to "Uma nova versão DO `Aplicativo`" and NOT "Uma nova versão DA 'Aplicação'"

Thank you! :)
2017-04-26 10:33:17 -04:00
Txai Wieser a6a521c8d1 Fixed Enum cases typo (#139) 2017-04-20 09:49:49 -04:00
Arthur Ariel Sabintsev 18a56fa45e Update README.md 2017-04-08 23:56:26 -04:00
Arthur Ariel Sabintsev 278d9e863e Update README.md 2017-04-08 23:55:37 -04:00
Arthur Ariel Sabintsev ba2bc03263 Update README.md 2017-04-08 03:13:26 -04:00
Arthur Ariel Sabintsev 28aba0f794 Updated gems 2017-04-08 03:11:25 -04:00
Arthur Ariel Sabintsev e8ac4b78e1 Update ISSUE_TEMPLATE.md 2017-04-08 02:30:53 -04:00
Arthur Ariel Sabintsev daaa063c60 Update ISSUE_TEMPLATE.md 2017-04-08 02:25:29 -04:00
Arthur Ariel Sabintsev f339fab54d Update ISSUE_TEMPLATE.md 2017-04-08 02:23:52 -04:00
Arthur Ariel Sabintsev 69d49689ce SirenVersionCheckType is now Siren.VersionCheckType. Updated docs and podspec. 2017-04-08 02:12:18 -04:00
Arthur Ariel Sabintsev bd4b17fafc Updated docs 2017-04-08 02:09:18 -04:00
31 changed files with 1056 additions and 1256 deletions
+3 -5
View File
@@ -1,10 +1,9 @@
======
Before posting an issue, please make sure your issue has not already been resolved or answered elsehwere.
Before posting an issue, please make sure your issue has not already been resolved or answered elsewhere.
Common Issue #1:
> "Error retrieving iOS version number as there was no data returned."
Check if your app is available in the US App Store, otherwise add the corresponding country code when setting up Siren: https://github.com/ArtSabintsev/Siren/blob/master/Siren/Siren.swift#L198
Check if your app is available in the US App Store, otherwise add the corresponding country code when setting up Siren.
Common Issue #2:
> "Support for macOS App Store."
@@ -14,7 +13,6 @@ Siren does not and will not support the macOS App Store.
Common Issue #3:
> "Support for prompting TestFlight users to update to the newest beta build."
Siren does not support this functionality. There is no publicly accessible TstFlight API akin to that of the public App Store API that Siren can utilize to provide this functionality.
Siren does not support this functionality. There is no publicly accessible TestFlight API akin to that of the public App Store API that Siren can utilize to provide this functionality.
Please delete this text before submitting a new issue.
======
+4 -4
View File
@@ -42,6 +42,7 @@ GEM
netrc (= 0.7.8)
cocoapods-try (1.1.0)
colored (1.2)
colored2 (3.1.2)
escape (0.0.4)
fourflusher (2.0.1)
fuzzy_match (2.0.4)
@@ -70,15 +71,14 @@ GEM
sass (3.4.23)
sqlite3 (1.3.13)
thread_safe (0.3.6)
tzinfo (1.2.2)
tzinfo (1.2.3)
thread_safe (~> 0.1)
xcinvoke (0.3.0)
liferaft (~> 0.0.6)
xcodeproj (1.4.2)
xcodeproj (1.4.4)
CFPropertyList (~> 2.3.3)
activesupport (>= 3)
claide (>= 1.0.1, < 2.0)
colored (~> 1.2)
colored2 (~> 3.1)
nanaimo (~> 0.2.3)
PLATFORMS
+18 -20
View File
@@ -1,4 +1,4 @@
# Siren
# Siren 🚨
### Notify users when a new version of your app is available and prompt them to upgrade.
@@ -50,7 +50,7 @@ If a new version is available, an alert can be presented to the user informing t
- The **left picture** forces the user to update the app.
- The **center picture** gives the user the option to update the app.
- The **right picture** gives the user the option to skip the current update.
- These options are controlled by the `SirenAlertType` enum.
- These options are controlled by the `Siren.AlertType` enum.
<img src="https://github.com/ArtSabintsev/Siren/blob/master/Assets/picForcedUpdate.png?raw=true" height="480"><img src="https://github.com/ArtSabintsev/Siren/blob/master/Assets/picOptionalUpdate.png?raw=true" height="480"><img src="https://github.com/ArtSabintsev/Siren/blob/master/Assets/picSkippedUpdate.png?raw=true" height="480">
@@ -104,15 +104,15 @@ func application(application: UIApplication, didFinishLaunchingWithOptions launc
// Siren is a singleton
let siren = Siren.shared
// Optional: Defaults to .Option
siren.alertType = <#SirenAlertType_Enum_Value#>
// Optional: Defaults to .option
siren.alertType = <#Siren.AlertType_Enum_Value#>
// Optional: Set this variable if you would only like to show an alert if your app has been available on the store for a few days.
// This default value is set to 1 to avoid this issue: https://github.com/ArtSabintsev/Siren#words-of-caution
// To show the update immediately after Apple has updated their JSON, set this value to 0. Not recommended due to aforementioned reason in https://github.com/ArtSabintsev/Siren#words-of-caution.
siren.showAlertAfterCurrentVersionHasBeenReleasedForDays = 3
// Replace .Immediately with .Daily or .Weekly to specify a maximum daily or weekly frequency for version checks.
// Replace .immediately with .daily or .weekly to specify a maximum daily or weekly frequency for version checks.
siren.checkVersion(checkType: .immediately)
return true
@@ -120,7 +120,7 @@ func application(application: UIApplication, didFinishLaunchingWithOptions launc
func applicationDidBecomeActive(application: UIApplication) {
/*
Perform daily (.Daily) or weekly (.Weekly) checks for new version of your app.
Perform daily (.daily) or weekly (.weekly) checks for new version of your app.
Useful if user returns to your app from the background after extended period of time.
Place in applicationDidBecomeActive(_:). */
@@ -129,10 +129,10 @@ func applicationDidBecomeActive(application: UIApplication) {
func applicationWillEnterForeground(application: UIApplication) {
/*
Useful if user returns to your app from the background after being sent to the
App Store, but doesn't update their app before coming back to your app.
Useful if user returns to your app from the background after being sent to the
App Store, but doesn't update their app before coming back to your app.
ONLY USE WITH SirenAlertType.Force
ONLY USE WITH Siren.AlertType.immediately
*/
Siren.shared.checkVersion(checkType: .immediately)
@@ -149,7 +149,7 @@ Some developers may want to display a less obtrusive custom interface, like a ba
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
...
siren.delegate = self
siren.alertType = .None
siren.alertType = .none
...
}
@@ -167,11 +167,11 @@ Siren will call the `sirenDidDetectNewVersionWithoutAlert(message: String)` dele
If you would like to set a different type of alert for revision, patch, minor, and/or major updates, simply add one or all of the following *optional* lines to your setup *before* calling the `checkVersion()` method:
```swift
/* Siren defaults to SirenAlertType.Option for all updates */
siren.shared.revisionUpdateAlertType = <#SirenAlertType_Enum_Value#>
siren.shared.patchUpdateAlertType = <#SirenAlertType_Enum_Value#>
siren.shared.minorUpdateAlertType = <#SirenAlertType_Enum_Value#>
siren.shared.majorUpdateAlertType = <#SirenAlertType_Enum_Value#>
/* Siren defaults to Siren.AlertType.option for all updates */
siren.shared.revisionUpdateAlertType = <#Siren.AlertType_Enum_Value#>
siren.shared.patchUpdateAlertType = <#Siren.AlertType_Enum_Value#>
siren.shared.minorUpdateAlertType = <#Siren.AlertType_Enum_Value#>
siren.shared.majorUpdateAlertType = <#Siren.AlertType_Enum_Value#>
```
## Optional Delegate and Delegate Methods
@@ -179,7 +179,7 @@ Six delegate methods allow you to handle or track the user's behavior. Each meth
``` swift
public protocol SirenDelegate: class {
func sirenDidShowUpdateDialog(alertType: SirenAlertType) // User presented with update dialog
func sirenDidShowUpdateDialog(alertType: Siren.AlertType) // User presented with update dialog
func sirenUserDidLaunchAppStore() // User did click on button that launched App Store.app
func sirenUserDidSkipVersion() // User did click on button that skips version update
func sirenUserDidCancel() // User did click on button that cancels update dialog
@@ -228,7 +228,7 @@ You may want the update dialog to *always* appear in a certain language, ignorin
You can enable it like so:
```swift
Siren.shared.forceLanguageLocalization = SirenLanguageType.<#SirenLanguageType_Enum_Value#>
Siren.shared.forceLanguageLocalization = Siren.LanguageType.<#Siren.LanguageType_Enum_Value#>
```
## Device Compatibility
If an app update is available, Siren checks to make sure that the version of iOS on the user's device is compatible with the one that is required by the app update. For example, if a user has iOS 9 installed on their device, but the app update requires iOS 10, an alert will not be shown. This takes care of the *false positive* case regarding app updating.
@@ -244,9 +244,7 @@ For your convenience, you may turn on debugging statements by setting `self.debu
The App Store reviewer will **not** see the alert. The version in the App Store will always be older than the version being reviewed.
## Words of Caution
Occassionally, the iTunes JSON will update faster than the App Store CDN, meaning the JSON may state that the new verison of the app has been release, while no new binary is made available for download via the App Store. It is for this reason, I caution developers to not use the `Force` option unless you are controlling the `Force` option with a remote configuration file (e.g., enabling Siren remotely only after you have guaranteed that the app has propogated to the App Store).
Also, in even rarer situations, the iTunes JSON may fluctuate between multiple versions of your app shortly after pushing out a new version. This is extremely rare, and has only been reported once in the five years that Siren and Harpy have been around.
Occasionally, the iTunes JSON will update faster than the App Store CDN, meaning the JSON may state that the new version of the app has been release, while no new binary is made available for download via the App Store. It is for this reason that Siren will, by default, wait 24 hours after the JSON has been updated to prompt the user to update. To change the default setting, please modify the value of `showAlertAfterCurrentVersionHasBeenReleasedForDays`.
## Ports
- **Objective-C (iOS)**
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Siren"
s.version = "2.0.0"
s.version = "2.0.2"
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
+13 -13
View File
@@ -38,7 +38,7 @@ public final class Siren: NSObject {
public lazy var debugEnabled = false
/// Determines the type of alert that should be shown.
/// See the SirenAlertType enum for full details.
/// See the Siren.AlertType enum for full details.
public var alertType = AlertType.option {
didSet {
majorUpdateAlertType = alertType
@@ -49,23 +49,23 @@ public final class Siren: NSObject {
}
/// Determines the type of alert that should be shown for major version updates: A.b.c
/// Defaults to SirenAlertType.Option.
/// See the SirenAlertType enum for full details.
/// Defaults to Siren.AlertType.option.
/// See the Siren.AlertType enum for full details.
public lazy var majorUpdateAlertType = AlertType.option
/// Determines the type of alert that should be shown for minor version updates: a.B.c
/// Defaults to SirenAlertType.Option.
/// See the SirenAlertType enum for full details.
/// Defaults to Siren.AlertType.option.
/// See the Siren.AlertType enum for full details.
public lazy var minorUpdateAlertType = AlertType.option
/// Determines the type of alert that should be shown for minor patch updates: a.b.C
/// Defaults to SirenAlertType.Option.
/// See the SirenAlertType enum for full details.
/// Defaults to Siren.AlertType.option.
/// See the Siren.AlertType enum for full details.
public lazy var patchUpdateAlertType = AlertType.option
/// Determines the type of alert that should be shown for revision updates: a.b.c.D
/// Defaults to SirenAlertType.Option.
/// See the SirenAlertType enum for full details.
/// Defaults to Siren.AlertType.option.
/// See the Siren.AlertType enum for full details.
public lazy var revisionUpdateAlertType = AlertType.option
/// The name of your app.
@@ -78,7 +78,7 @@ public final class Siren: NSObject {
public var countryCode: String?
/// Overrides the default localization of a user's device when presenting the update message and button titles in the alert.
/// See the SirenLanguageType enum for more details.
/// See the Siren.LanguageType enum for more details.
public var forceLanguageLocalization: Siren.LanguageType?
/// Overrides the tint color for UIAlertController.
@@ -111,8 +111,8 @@ public final class Siren: NSObject {
/// you should set the `countryCode` property before calling this method. Please refer to the countryCode property for more information.
///
/// - Parameters:
/// - checkType: The frequency in days in which you want a check to be performed. Please refer to the SirenVersionCheckType enum for more details.
public func checkVersion(checkType: SirenVersionCheckType) {
/// - checkType: The frequency in days in which you want a check to be performed. Please refer to the Siren.VersionCheckType enum for more details.
public func checkVersion(checkType: VersionCheckType) {
guard let _ = Bundle.bundleID() else {
printMessage(message: "Please make sure that you have set a `Bundle Identifier` in your project.")
return
@@ -495,7 +495,7 @@ public extension Siren {
/// Determines the frequency in which the the version check is performed and the user is prompted to update the app.
///
enum SirenVersionCheckType: Int {
enum VersionCheckType: Int {
/// Version check performed every time the app is launched.
case immediately = 0
+4 -9
View File
@@ -13,7 +13,7 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p><a href="index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -33,19 +33,14 @@
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
<a href="Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
+136 -49
View File
@@ -14,7 +14,7 @@
<a title="Siren Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p><a href="../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -34,19 +34,14 @@
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
<a href="../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -89,7 +84,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>The error domain for all errors created by Siren</p>
<p>The error domain for all errors created by Siren.</p>
</div>
<div class="declaration">
@@ -119,12 +114,12 @@
<p>The SirenDelegate variable, which should be set if you&rsquo;d like to be notified:</p>
<p>When a user views or interacts with the alert
- sirenDidShowUpdateDialog(alertType: SirenAlertType)
- sirenDidShowUpdateDialog(alertType: AlertType)
- sirenUserDidLaunchAppStore()
- sirenUserDidSkipVersion()
- sirenUserDidCancel()</p>
<p>When a new version has been detected, and you would like to present a localized message in a custom UI
<p>When a new version has been detected, and you would like to present a localized message in a custom UI. use this delegate method:
- sirenDidDetectNewVersionWithoutAlert(message: String)</p>
</div>
@@ -170,9 +165,9 @@ When enabled, a stream of println() statements are logged to your console when a
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren9alertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren9alertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/alertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren9alertTypeOS_14SirenAlertType">alertType</a>
<a class="token" href="#/s:vC5Siren5Siren9alertTypeOS0_9AlertType">alertType</a>
</code>
</div>
<div class="height-container">
@@ -181,14 +176,14 @@ When enabled, a stream of println() statements are logged to your console when a
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown.
See the SirenAlertType enum for full details.</p>
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">alertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">alertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -198,9 +193,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren20majorUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/majorUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren20majorUpdateAlertTypeOS_14SirenAlertType">majorUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType">majorUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -209,15 +204,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for major version updates: A.b.c
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">majorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">majorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -227,9 +222,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren20minorUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/minorUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren20minorUpdateAlertTypeOS_14SirenAlertType">minorUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType">minorUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -238,15 +233,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for minor version updates: a.B.c
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">minorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">minorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -256,9 +251,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren20patchUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/patchUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren20patchUpdateAlertTypeOS_14SirenAlertType">patchUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType">patchUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -267,15 +262,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for minor patch updates: a.b.C
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">patchUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">patchUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -285,9 +280,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren23revisionUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/revisionUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren23revisionUpdateAlertTypeOS_14SirenAlertType">revisionUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType">revisionUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -296,15 +291,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for revision updates: a.b.c.D
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">revisionUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">revisionUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -371,9 +366,9 @@ If your app is not available in the US App Store, set it to the identifier of at
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS_17SirenLanguageType_"></a>
<a name="/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_"></a>
<a name="//apple_ref/swift/Property/forceLanguageLocalization" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS_17SirenLanguageType_">forceLanguageLocalization</a>
<a class="token" href="#/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_">forceLanguageLocalization</a>
</code>
</div>
<div class="height-container">
@@ -382,14 +377,14 @@ If your app is not available in the US App Store, set it to the identifier of at
<div class="pointer"></div>
<div class="abstract">
<p>Overrides the default localization of a user&rsquo;s device when presenting the update message and button titles in the alert.
See the SirenLanguageType enum for more details.</p>
See the Siren.LanguageType enum for more details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">forceLanguageLocalization</span><span class="p">:</span> <span class="kt"><a href="../Enums/SirenLanguageType.html">SirenLanguageType</a></span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">forceLanguageLocalization</span><span class="p">:</span> <span class="kt">Siren</span><span class="o">.</span><span class="kt"><a href="../Classes/Siren/LanguageType.html">LanguageType</a></span><span class="p">?</span></code></pre>
</div>
</div>
@@ -426,9 +421,9 @@ See the SirenLanguageType enum for more details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysGSqSi_"></a>
<a name="/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi"></a>
<a name="//apple_ref/swift/Property/showAlertAfterCurrentVersionHasBeenReleasedForDays" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysGSqSi_">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
<a class="token" href="#/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
</code>
</div>
<div class="height-container">
@@ -436,14 +431,15 @@ See the SirenLanguageType enum for more details.</p>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>When this is set, the alert will only show up if the current version has already been released for X days</p>
<p>When this is set, the alert will only show up if the current version has already been released for X days
Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the app binary propogates to the App Store.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">showAlertAfterCurrentVersionHasBeenReleasedForDays</span><span class="p">:</span> <span class="kt">Int</span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">showAlertAfterCurrentVersionHasBeenReleasedForDays</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">1</span></code></pre>
</div>
</div>
@@ -470,7 +466,7 @@ See the SirenLanguageType enum for more details.</p>
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="nf">fileprivate</span><span class="p">(</span><span class="k">set</span><span class="p">)</span> <span class="k">var</span> <span class="nv">currentAppStoreVersion</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">internal(set)</span> <span class="k">var</span> <span class="nv">currentAppStoreVersion</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>
</div>
</div>
@@ -507,9 +503,9 @@ See the SirenLanguageType enum for more details.</p>
<li class="item">
<div>
<code>
<a name="/s:FC5Siren5Siren12checkVersionFT9checkTypeOS_21SirenVersionCheckType_T_"></a>
<a name="/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_"></a>
<a name="//apple_ref/swift/Method/checkVersion(checkType:)" class="dashAnchor"></a>
<a class="token" href="#/s:FC5Siren5Siren12checkVersionFT9checkTypeOS_21SirenVersionCheckType_T_">checkVersion(checkType:)</a>
<a class="token" href="#/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_">checkVersion(checkType:)</a>
</code>
</div>
<div class="height-container">
@@ -526,7 +522,7 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">checkVersion</span><span class="p">(</span><span class="nv">checkType</span><span class="p">:</span> <span class="kt"><a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a></span><span class="p">)</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">checkVersion</span><span class="p">(</span><span class="nv">checkType</span><span class="p">:</span> <span class="kt"><a href="../Classes/Siren/VersionCheckType.html">VersionCheckType</a></span><span class="p">)</span></code></pre>
</div>
</div>
@@ -542,7 +538,7 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
</td>
<td>
<div>
<p>The frequency in days in which you want a check to be performed. Please refer to the SirenVersionCheckType enum for more details.</p>
<p>The frequency in days in which you want a check to be performed. Please refer to the Siren.VersionCheckType enum for more details.</p>
</div>
</td>
@@ -555,6 +551,97 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:OC5Siren5Siren9AlertType"></a>
<a name="//apple_ref/swift/Enum/AlertType" class="dashAnchor"></a>
<a class="token" href="#/s:OC5Siren5Siren9AlertType">AlertType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert to present after a successful version check has been performed.</p>
<a href="../Classes/Siren/AlertType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">AlertType</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:OC5Siren5Siren16VersionCheckType"></a>
<a name="//apple_ref/swift/Enum/VersionCheckType" class="dashAnchor"></a>
<a class="token" href="#/s:OC5Siren5Siren16VersionCheckType">VersionCheckType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the frequency in which the the version check is performed and the user is prompted to update the app.</p>
<a href="../Classes/Siren/VersionCheckType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">VersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:OC5Siren5Siren12LanguageType"></a>
<a name="//apple_ref/swift/Enum/LanguageType" class="dashAnchor"></a>
<a class="token" href="#/s:OC5Siren5Siren12LanguageType">LanguageType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the available languages in which the update message and alert button titles should appear.</p>
<p>By default, the operating system&rsquo;s default lanuage setting is used. However, you can force a specific language
by setting the forceLanguageLocalization property before calling checkVersion()</p>
<a href="../Classes/Siren/LanguageType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
</section>
</section>
<section id="footer">
@@ -1,60 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SirenAlertType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<title>AlertType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../../js/jquery.min.js" defer></script>
<script src="../../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SirenAlertType" class="dashAnchor"></a>
<a title="SirenAlertType Enum Reference"></a>
<a name="//apple_ref/swift/Enum/AlertType" class="dashAnchor"></a>
<a title="AlertType Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
<p><a href="../../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">Siren Reference</a>
<img id="carat" src="../img/carat.png" />
SirenAlertType Enum Reference
<a href="../../index.html">Siren Reference</a>
<img id="carat" src="../../img/carat.png" />
AlertType Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<a href="../../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
<a href="../../Classes/Siren.html">Siren</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/SirenDelegate.html">SirenDelegate</a>
<a href="../../Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
@@ -63,10 +58,10 @@
<article class="main-content">
<section>
<section class="section">
<h1>SirenAlertType</h1>
<h1>AlertType</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenAlertType</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">AlertType</span></code></pre>
</div>
</div>
@@ -79,9 +74,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType5forceFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/force" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType5forceFMS0_S0_">force</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_">force</a>
</code>
</div>
<div class="height-container">
@@ -110,9 +105,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType6optionFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/option" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType6optionFMS0_S0_">option</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_">option</a>
</code>
</div>
<div class="height-container">
@@ -141,9 +136,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType4skipFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/skip" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType4skipFMS0_S0_">skip</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_">skip</a>
</code>
</div>
<div class="height-container">
@@ -172,9 +167,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType4noneFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/none" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType4noneFMS0_S0_">none</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_">none</a>
</code>
</div>
<div class="height-container">
@@ -182,7 +177,8 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Doesn&rsquo;t show the alert, but instead returns a localized message for use in a custom UI within the sirenDidDetectNewVersionWithoutAlert() delegate method.</p>
<p>Doesn&rsquo;t show the alert, but instead returns a localized message
for use in a custom UI within the sirenDidDetectNewVersionWithoutAlert() delegate method.</p>
</div>
<div class="declaration">
@@ -1,60 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SirenLanguageType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<title>LanguageType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../../js/jquery.min.js" defer></script>
<script src="../../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SirenLanguageType" class="dashAnchor"></a>
<a title="SirenLanguageType Enum Reference"></a>
<a name="//apple_ref/swift/Enum/LanguageType" class="dashAnchor"></a>
<a title="LanguageType Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
<p><a href="../../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">Siren Reference</a>
<img id="carat" src="../img/carat.png" />
SirenLanguageType Enum Reference
<a href="../../index.html">Siren Reference</a>
<img id="carat" src="../../img/carat.png" />
LanguageType Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<a href="../../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
<a href="../../Classes/Siren.html">Siren</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/SirenDelegate.html">SirenDelegate</a>
<a href="../../Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
@@ -63,10 +58,10 @@
<article class="main-content">
<section>
<section class="section">
<h1>SirenLanguageType</h1>
<h1>LanguageType</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -82,9 +77,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6ArabicFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Arabic" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6ArabicFMS0_S0_">Arabic</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_">Arabic</a>
</code>
</div>
<div class="height-container">
@@ -99,7 +94,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -113,9 +108,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8ArmenianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Armenian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8ArmenianFMS0_S0_">Armenian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_">Armenian</a>
</code>
</div>
<div class="height-container">
@@ -130,7 +125,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -144,9 +139,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6BasqueFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Basque" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6BasqueFMS0_S0_">Basque</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_">Basque</a>
</code>
</div>
<div class="height-container">
@@ -161,7 +156,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -175,9 +170,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType17ChineseSimplifiedFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/ChineseSimplified" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType17ChineseSimplifiedFMS0_S0_">ChineseSimplified</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_">ChineseSimplified</a>
</code>
</div>
<div class="height-container">
@@ -192,7 +187,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -206,9 +201,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType18ChineseTraditionalFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/ChineseTraditional" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType18ChineseTraditionalFMS0_S0_">ChineseTraditional</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_">ChineseTraditional</a>
</code>
</div>
<div class="height-container">
@@ -223,7 +218,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -237,9 +232,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8CroatianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Croatian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8CroatianFMS0_S0_">Croatian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_">Croatian</a>
</code>
</div>
<div class="height-container">
@@ -254,7 +249,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -268,9 +263,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6DanishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Danish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6DanishFMS0_S0_">Danish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_">Danish</a>
</code>
</div>
<div class="height-container">
@@ -285,7 +280,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -299,9 +294,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType5DutchFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Dutch" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType5DutchFMS0_S0_">Dutch</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_">Dutch</a>
</code>
</div>
<div class="height-container">
@@ -316,7 +311,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -330,9 +325,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7EnglishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/English" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7EnglishFMS0_S0_">English</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_">English</a>
</code>
</div>
<div class="height-container">
@@ -347,7 +342,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -361,9 +356,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8EstonianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Estonian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8EstonianFMS0_S0_">Estonian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_">Estonian</a>
</code>
</div>
<div class="height-container">
@@ -378,7 +373,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -392,9 +387,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7FinnishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Finnish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7FinnishFMS0_S0_">Finnish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_">Finnish</a>
</code>
</div>
<div class="height-container">
@@ -409,7 +404,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -423,9 +418,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6FrenchFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/French" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6FrenchFMS0_S0_">French</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_">French</a>
</code>
</div>
<div class="height-container">
@@ -440,7 +435,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -454,9 +449,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6GermanFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/German" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6GermanFMS0_S0_">German</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_">German</a>
</code>
</div>
<div class="height-container">
@@ -471,7 +466,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -485,9 +480,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType5GreekFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Greek" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType5GreekFMS0_S0_">Greek</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_">Greek</a>
</code>
</div>
<div class="height-container">
@@ -502,7 +497,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -516,9 +511,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6HebrewFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Hebrew" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6HebrewFMS0_S0_">Hebrew</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_">Hebrew</a>
</code>
</div>
<div class="height-container">
@@ -533,7 +528,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -547,9 +542,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType9HungarianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Hungarian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType9HungarianFMS0_S0_">Hungarian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_">Hungarian</a>
</code>
</div>
<div class="height-container">
@@ -564,7 +559,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -578,9 +573,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType10IndonesianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Indonesian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType10IndonesianFMS0_S0_">Indonesian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_">Indonesian</a>
</code>
</div>
<div class="height-container">
@@ -595,7 +590,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -609,9 +604,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7ItalianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Italian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7ItalianFMS0_S0_">Italian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_">Italian</a>
</code>
</div>
<div class="height-container">
@@ -626,7 +621,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -640,9 +635,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8JapaneseFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Japanese" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8JapaneseFMS0_S0_">Japanese</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_">Japanese</a>
</code>
</div>
<div class="height-container">
@@ -657,7 +652,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -671,9 +666,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6KoreanFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Korean" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6KoreanFMS0_S0_">Korean</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_">Korean</a>
</code>
</div>
<div class="height-container">
@@ -688,7 +683,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -702,9 +697,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7LatvianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Latvian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7LatvianFMS0_S0_">Latvian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_">Latvian</a>
</code>
</div>
<div class="height-container">
@@ -719,7 +714,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -733,9 +728,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType10LithuanianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Lithuanian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType10LithuanianFMS0_S0_">Lithuanian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_">Lithuanian</a>
</code>
</div>
<div class="height-container">
@@ -750,7 +745,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -764,9 +759,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType5MalayFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Malay" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType5MalayFMS0_S0_">Malay</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_">Malay</a>
</code>
</div>
<div class="height-container">
@@ -781,7 +776,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -795,9 +790,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType9NorwegianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Norwegian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType9NorwegianFMS0_S0_">Norwegian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_">Norwegian</a>
</code>
</div>
<div class="height-container">
@@ -812,7 +807,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -826,9 +821,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6PolishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Polish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6PolishFMS0_S0_">Polish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_">Polish</a>
</code>
</div>
<div class="height-container">
@@ -843,7 +838,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -857,9 +852,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType16PortugueseBrazilFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/PortugueseBrazil" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType16PortugueseBrazilFMS0_S0_">PortugueseBrazil</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_">PortugueseBrazil</a>
</code>
</div>
<div class="height-container">
@@ -874,7 +869,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -888,9 +883,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType18PortuguesePortugalFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/PortuguesePortugal" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType18PortuguesePortugalFMS0_S0_">PortuguesePortugal</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_">PortuguesePortugal</a>
</code>
</div>
<div class="height-container">
@@ -905,7 +900,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -919,9 +914,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7RussianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Russian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7RussianFMS0_S0_">Russian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_">Russian</a>
</code>
</div>
<div class="height-container">
@@ -936,7 +931,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -950,9 +945,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType15SerbianCyrillicFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/SerbianCyrillic" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType15SerbianCyrillicFMS0_S0_">SerbianCyrillic</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_">SerbianCyrillic</a>
</code>
</div>
<div class="height-container">
@@ -967,7 +962,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -981,9 +976,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType12SerbianLatinFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/SerbianLatin" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType12SerbianLatinFMS0_S0_">SerbianLatin</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_">SerbianLatin</a>
</code>
</div>
<div class="height-container">
@@ -998,7 +993,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1012,9 +1007,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType9SlovenianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Slovenian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType9SlovenianFMS0_S0_">Slovenian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_">Slovenian</a>
</code>
</div>
<div class="height-container">
@@ -1029,7 +1024,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1043,9 +1038,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7SpanishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Spanish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7SpanishFMS0_S0_">Spanish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_">Spanish</a>
</code>
</div>
<div class="height-container">
@@ -1060,7 +1055,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1074,9 +1069,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7SwedishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Swedish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7SwedishFMS0_S0_">Swedish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_">Swedish</a>
</code>
</div>
<div class="height-container">
@@ -1091,7 +1086,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1105,9 +1100,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType4ThaiFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Thai" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType4ThaiFMS0_S0_">Thai</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_">Thai</a>
</code>
</div>
<div class="height-container">
@@ -1122,7 +1117,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1136,9 +1131,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7TurkishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Turkish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7TurkishFMS0_S0_">Turkish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_">Turkish</a>
</code>
</div>
<div class="height-container">
@@ -1153,7 +1148,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1167,9 +1162,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType10VietnameseFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Vietnamese" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType10VietnameseFMS0_S0_">Vietnamese</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_">Vietnamese</a>
</code>
</div>
<div class="height-container">
@@ -1184,7 +1179,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1,60 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SirenVersionCheckType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<title>VersionCheckType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../../js/jquery.min.js" defer></script>
<script src="../../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SirenVersionCheckType" class="dashAnchor"></a>
<a title="SirenVersionCheckType Enum Reference"></a>
<a name="//apple_ref/swift/Enum/VersionCheckType" class="dashAnchor"></a>
<a title="VersionCheckType Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
<p><a href="../../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">Siren Reference</a>
<img id="carat" src="../img/carat.png" />
SirenVersionCheckType Enum Reference
<a href="../../index.html">Siren Reference</a>
<img id="carat" src="../../img/carat.png" />
VersionCheckType Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<a href="../../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
<a href="../../Classes/Siren.html">Siren</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/SirenDelegate.html">SirenDelegate</a>
<a href="../../Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
@@ -63,14 +58,14 @@
<article class="main-content">
<section>
<section class="section">
<h1>SirenVersionCheckType</h1>
<h1>VersionCheckType</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenVersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">VersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
</div>
</div>
<p>Determines the frequency in which the the version check is performed.</p>
<p>Determines the frequency in which the the version check is performed and the user is prompted to update the app.</p>
</section>
<section class="section task-group-section">
@@ -79,9 +74,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren21SirenVersionCheckType11immediatelyFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/immediately" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren21SirenVersionCheckType11immediatelyFMS0_S0_">immediately</a>
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_">immediately</a>
</code>
</div>
<div class="height-container">
@@ -110,9 +105,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren21SirenVersionCheckType5dailyFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/daily" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren21SirenVersionCheckType5dailyFMS0_S0_">daily</a>
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_">daily</a>
</code>
</div>
<div class="height-container">
@@ -141,9 +136,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren21SirenVersionCheckType6weeklyFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/weekly" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren21SirenVersionCheckType6weeklyFMS0_S0_">weekly</a>
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_">weekly</a>
</code>
</div>
<div class="height-container">
-178
View File
@@ -1,178 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Enums Reference</title>
<link rel="stylesheet" type="text/css" href="css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="css/highlight.css" />
<meta charset='utf-8'>
<script src="js/jquery.min.js" defer></script>
<script src="js/jazzy.js" defer></script>
</head>
<body>
<a title="Enums Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="index.html">Siren Reference</a>
<img id="carat" src="img/carat.png" />
Enums Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
</ul>
</nav>
<article class="main-content">
<section>
<section class="section">
<h1>Enums</h1>
<p>The following enums are available globally.</p>
</section>
<section class="section task-group-section">
<div class="task-group">
<div class="task-name-container">
<a name="/SirenDelegate%20Protocol%20Extension"></a>
<a name="//apple_ref/swift/Section/SirenDelegate Protocol Extension" class="dashAnchor"></a>
<a href="#/SirenDelegate%20Protocol%20Extension">
<h3 class="section-name">SirenDelegate Protocol Extension</h3>
</a>
</div>
<ul>
<li class="item">
<div>
<code>
<a name="/s:O5Siren14SirenAlertType"></a>
<a name="//apple_ref/swift/Enum/SirenAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:O5Siren14SirenAlertType">SirenAlertType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert to present after a successful version check has been performed.</p>
<a href="Enums/SirenAlertType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenAlertType</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:O5Siren21SirenVersionCheckType"></a>
<a name="//apple_ref/swift/Enum/SirenVersionCheckType" class="dashAnchor"></a>
<a class="token" href="#/s:O5Siren21SirenVersionCheckType">SirenVersionCheckType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the frequency in which the the version check is performed.</p>
<a href="Enums/SirenVersionCheckType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenVersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:O5Siren17SirenLanguageType"></a>
<a name="//apple_ref/swift/Enum/SirenLanguageType" class="dashAnchor"></a>
<a class="token" href="#/s:O5Siren17SirenLanguageType">SirenLanguageType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the available languages in which the update message and alert button titles should appear.</p>
<p>By default, the operating system&rsquo;s default lanuage setting is used. However, you can force a specific language
by setting the forceLanguageLocalization property before calling checkVersion()</p>
<a href="Enums/SirenLanguageType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
</section>
</section>
<section id="footer">
<p>© 2015-2017 <a class="link" href="http://www.sabintsev.com" target="_blank" rel="external">Arthur Ariel Sabintsev</a></p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
</body>
</div>
</html>
+4 -9
View File
@@ -13,7 +13,7 @@
<a title="Protocols Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p><a href="index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -33,19 +33,14 @@
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
<a href="Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
+14 -19
View File
@@ -14,7 +14,7 @@
<a title="SirenDelegate Protocol Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p><a href="../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -34,19 +34,14 @@
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
<a href="../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -79,9 +74,9 @@
<li class="item">
<div>
<code>
<a name="/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOS_14SirenAlertType_T_"></a>
<a name="/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_"></a>
<a name="//apple_ref/swift/Method/sirenDidShowUpdateDialog(alertType:)" class="dashAnchor"></a>
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOS_14SirenAlertType_T_">sirenDidShowUpdateDialog(alertType:)</a>
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_">sirenDidShowUpdateDialog(alertType:)</a>
</code>
<span class="declaration-note">
Default implementation
@@ -92,7 +87,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User presented with update dialog</p>
<p>User presented with update dialog.</p>
</div>
<h4>Default Implementation</h4>
@@ -103,7 +98,7 @@
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidShowUpdateDialog</span><span class="p">(</span><span class="nv">alertType</span><span class="p">:</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="p">)</span></code></pre>
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidShowUpdateDialog</span><span class="p">(</span><span class="nv">alertType</span><span class="p">:</span> <span class="kt"><a href="../Classes/Siren.html">Siren</a></span><span class="o">.</span><span class="kt">AlertType</span><span class="p">)</span></code></pre>
</div>
</div>
@@ -126,7 +121,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User did click on button that launched App Store.app</p>
<p>User did click on button that launched App Store.app.</p>
</div>
<h4>Default Implementation</h4>
@@ -160,7 +155,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User did click on button that skips version update</p>
<p>User did click on button that skips version update.</p>
</div>
<h4>Default Implementation</h4>
@@ -194,7 +189,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User did click on button that cancels update dialog</p>
<p>User did click on button that cancels update dialog.</p>
</div>
<h4>Default Implementation</h4>
@@ -228,7 +223,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Siren failed to perform version check (may return system-level error)</p>
<p>Siren failed to perform version check (may return system-level error).</p>
</div>
<h4>Default Implementation</h4>
@@ -262,7 +257,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Siren performed version check and did not display alert</p>
<p>Siren performed version check and did not display alert.</p>
</div>
<h4>Default Implementation</h4>
@@ -296,7 +291,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Siren performed version check and latest version is installed</p>
<p>Siren performed version check and latest version is installed.</p>
</div>
<h4>Default Implementation</h4>
+1 -1
View File
@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="128" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h93v20H0z"/><path fill="#dfb317" d="M93 0h35v20H93z"/><path fill="url(#b)" d="M0 0h128v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="46.5" y="15" fill="#010101" fill-opacity=".3">documentation</text><text x="46.5" y="14">documentation</text><text x="109.5" y="15" fill="#010101" fill-opacity=".3">54%</text><text x="109.5" y="14">54%</text></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="128" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h93v20H0z"/><path fill="#dfb317" d="M93 0h35v20H93z"/><path fill="url(#b)" d="M0 0h128v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="46.5" y="15" fill="#010101" fill-opacity=".3">documentation</text><text x="46.5" y="14">documentation</text><text x="109.5" y="15" fill="#010101" fill-opacity=".3">55%</text><text x="109.5" y="14">55%</text></g></svg>

Before

Width:  |  Height:  |  Size: 808 B

After

Width:  |  Height:  |  Size: 808 B

@@ -13,7 +13,7 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p><a href="index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -33,19 +33,14 @@
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
<a href="Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -14,7 +14,7 @@
<a title="Siren Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p><a href="../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -34,19 +34,14 @@
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
<a href="../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -89,7 +84,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>The error domain for all errors created by Siren</p>
<p>The error domain for all errors created by Siren.</p>
</div>
<div class="declaration">
@@ -119,12 +114,12 @@
<p>The SirenDelegate variable, which should be set if you&rsquo;d like to be notified:</p>
<p>When a user views or interacts with the alert
- sirenDidShowUpdateDialog(alertType: SirenAlertType)
- sirenDidShowUpdateDialog(alertType: AlertType)
- sirenUserDidLaunchAppStore()
- sirenUserDidSkipVersion()
- sirenUserDidCancel()</p>
<p>When a new version has been detected, and you would like to present a localized message in a custom UI
<p>When a new version has been detected, and you would like to present a localized message in a custom UI. use this delegate method:
- sirenDidDetectNewVersionWithoutAlert(message: String)</p>
</div>
@@ -170,9 +165,9 @@ When enabled, a stream of println() statements are logged to your console when a
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren9alertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren9alertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/alertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren9alertTypeOS_14SirenAlertType">alertType</a>
<a class="token" href="#/s:vC5Siren5Siren9alertTypeOS0_9AlertType">alertType</a>
</code>
</div>
<div class="height-container">
@@ -181,14 +176,14 @@ When enabled, a stream of println() statements are logged to your console when a
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown.
See the SirenAlertType enum for full details.</p>
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">alertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">alertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -198,9 +193,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren20majorUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/majorUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren20majorUpdateAlertTypeOS_14SirenAlertType">majorUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType">majorUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -209,15 +204,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for major version updates: A.b.c
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">majorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">majorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -227,9 +222,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren20minorUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/minorUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren20minorUpdateAlertTypeOS_14SirenAlertType">minorUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType">minorUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -238,15 +233,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for minor version updates: a.B.c
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">minorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">minorUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -256,9 +251,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren20patchUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/patchUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren20patchUpdateAlertTypeOS_14SirenAlertType">patchUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType">patchUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -267,15 +262,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for minor patch updates: a.b.C
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">patchUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">patchUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -285,9 +280,9 @@ See the SirenAlertType enum for full details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren23revisionUpdateAlertTypeOS_14SirenAlertType"></a>
<a name="/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType"></a>
<a name="//apple_ref/swift/Property/revisionUpdateAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren23revisionUpdateAlertTypeOS_14SirenAlertType">revisionUpdateAlertType</a>
<a class="token" href="#/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType">revisionUpdateAlertType</a>
</code>
</div>
<div class="height-container">
@@ -296,15 +291,15 @@ See the SirenAlertType enum for full details.</p>
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert that should be shown for revision updates: a.b.c.D
Defaults to SirenAlertType.Option.
See the SirenAlertType enum for full details.</p>
Defaults to Siren.AlertType.option.
See the Siren.AlertType enum for full details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">revisionUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">lazy</span> <span class="k">var</span> <span class="nv">revisionUpdateAlertType</span> <span class="o">=</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span><span class="o">.</span><span class="n">option</span></code></pre>
</div>
</div>
@@ -371,9 +366,9 @@ If your app is not available in the US App Store, set it to the identifier of at
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS_17SirenLanguageType_"></a>
<a name="/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_"></a>
<a name="//apple_ref/swift/Property/forceLanguageLocalization" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS_17SirenLanguageType_">forceLanguageLocalization</a>
<a class="token" href="#/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_">forceLanguageLocalization</a>
</code>
</div>
<div class="height-container">
@@ -382,14 +377,14 @@ If your app is not available in the US App Store, set it to the identifier of at
<div class="pointer"></div>
<div class="abstract">
<p>Overrides the default localization of a user&rsquo;s device when presenting the update message and button titles in the alert.
See the SirenLanguageType enum for more details.</p>
See the Siren.LanguageType enum for more details.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">forceLanguageLocalization</span><span class="p">:</span> <span class="kt"><a href="../Enums/SirenLanguageType.html">SirenLanguageType</a></span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">forceLanguageLocalization</span><span class="p">:</span> <span class="kt">Siren</span><span class="o">.</span><span class="kt"><a href="../Classes/Siren/LanguageType.html">LanguageType</a></span><span class="p">?</span></code></pre>
</div>
</div>
@@ -426,9 +421,9 @@ See the SirenLanguageType enum for more details.</p>
<li class="item">
<div>
<code>
<a name="/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysGSqSi_"></a>
<a name="/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi"></a>
<a name="//apple_ref/swift/Property/showAlertAfterCurrentVersionHasBeenReleasedForDays" class="dashAnchor"></a>
<a class="token" href="#/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysGSqSi_">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
<a class="token" href="#/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
</code>
</div>
<div class="height-container">
@@ -436,14 +431,15 @@ See the SirenLanguageType enum for more details.</p>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>When this is set, the alert will only show up if the current version has already been released for X days</p>
<p>When this is set, the alert will only show up if the current version has already been released for X days
Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the app binary propogates to the App Store.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">showAlertAfterCurrentVersionHasBeenReleasedForDays</span><span class="p">:</span> <span class="kt">Int</span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">showAlertAfterCurrentVersionHasBeenReleasedForDays</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">1</span></code></pre>
</div>
</div>
@@ -470,7 +466,7 @@ See the SirenLanguageType enum for more details.</p>
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="nf">fileprivate</span><span class="p">(</span><span class="k">set</span><span class="p">)</span> <span class="k">var</span> <span class="nv">currentAppStoreVersion</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">internal(set)</span> <span class="k">var</span> <span class="nv">currentAppStoreVersion</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>
</div>
</div>
@@ -507,9 +503,9 @@ See the SirenLanguageType enum for more details.</p>
<li class="item">
<div>
<code>
<a name="/s:FC5Siren5Siren12checkVersionFT9checkTypeOS_21SirenVersionCheckType_T_"></a>
<a name="/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_"></a>
<a name="//apple_ref/swift/Method/checkVersion(checkType:)" class="dashAnchor"></a>
<a class="token" href="#/s:FC5Siren5Siren12checkVersionFT9checkTypeOS_21SirenVersionCheckType_T_">checkVersion(checkType:)</a>
<a class="token" href="#/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_">checkVersion(checkType:)</a>
</code>
</div>
<div class="height-container">
@@ -526,7 +522,7 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">checkVersion</span><span class="p">(</span><span class="nv">checkType</span><span class="p">:</span> <span class="kt"><a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a></span><span class="p">)</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">checkVersion</span><span class="p">(</span><span class="nv">checkType</span><span class="p">:</span> <span class="kt"><a href="../Classes/Siren/VersionCheckType.html">VersionCheckType</a></span><span class="p">)</span></code></pre>
</div>
</div>
@@ -542,7 +538,7 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
</td>
<td>
<div>
<p>The frequency in days in which you want a check to be performed. Please refer to the SirenVersionCheckType enum for more details.</p>
<p>The frequency in days in which you want a check to be performed. Please refer to the Siren.VersionCheckType enum for more details.</p>
</div>
</td>
@@ -555,6 +551,97 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:OC5Siren5Siren9AlertType"></a>
<a name="//apple_ref/swift/Enum/AlertType" class="dashAnchor"></a>
<a class="token" href="#/s:OC5Siren5Siren9AlertType">AlertType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert to present after a successful version check has been performed.</p>
<a href="../Classes/Siren/AlertType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">AlertType</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:OC5Siren5Siren16VersionCheckType"></a>
<a name="//apple_ref/swift/Enum/VersionCheckType" class="dashAnchor"></a>
<a class="token" href="#/s:OC5Siren5Siren16VersionCheckType">VersionCheckType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the frequency in which the the version check is performed and the user is prompted to update the app.</p>
<a href="../Classes/Siren/VersionCheckType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">VersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:OC5Siren5Siren12LanguageType"></a>
<a name="//apple_ref/swift/Enum/LanguageType" class="dashAnchor"></a>
<a class="token" href="#/s:OC5Siren5Siren12LanguageType">LanguageType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the available languages in which the update message and alert button titles should appear.</p>
<p>By default, the operating system&rsquo;s default lanuage setting is used. However, you can force a specific language
by setting the forceLanguageLocalization property before calling checkVersion()</p>
<a href="../Classes/Siren/LanguageType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
</section>
</section>
<section id="footer">
@@ -1,60 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SirenAlertType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<title>AlertType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../../js/jquery.min.js" defer></script>
<script src="../../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SirenAlertType" class="dashAnchor"></a>
<a title="SirenAlertType Enum Reference"></a>
<a name="//apple_ref/swift/Enum/AlertType" class="dashAnchor"></a>
<a title="AlertType Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
<p><a href="../../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">Siren Reference</a>
<img id="carat" src="../img/carat.png" />
SirenAlertType Enum Reference
<a href="../../index.html">Siren Reference</a>
<img id="carat" src="../../img/carat.png" />
AlertType Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<a href="../../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
<a href="../../Classes/Siren.html">Siren</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/SirenDelegate.html">SirenDelegate</a>
<a href="../../Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
@@ -63,10 +58,10 @@
<article class="main-content">
<section>
<section class="section">
<h1>SirenAlertType</h1>
<h1>AlertType</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenAlertType</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">AlertType</span></code></pre>
</div>
</div>
@@ -79,9 +74,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType5forceFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/force" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType5forceFMS0_S0_">force</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_">force</a>
</code>
</div>
<div class="height-container">
@@ -110,9 +105,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType6optionFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/option" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType6optionFMS0_S0_">option</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_">option</a>
</code>
</div>
<div class="height-container">
@@ -141,9 +136,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType4skipFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/skip" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType4skipFMS0_S0_">skip</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_">skip</a>
</code>
</div>
<div class="height-container">
@@ -172,9 +167,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren14SirenAlertType4noneFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/none" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren14SirenAlertType4noneFMS0_S0_">none</a>
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_">none</a>
</code>
</div>
<div class="height-container">
@@ -182,7 +177,8 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Doesn&rsquo;t show the alert, but instead returns a localized message for use in a custom UI within the sirenDidDetectNewVersionWithoutAlert() delegate method.</p>
<p>Doesn&rsquo;t show the alert, but instead returns a localized message
for use in a custom UI within the sirenDidDetectNewVersionWithoutAlert() delegate method.</p>
</div>
<div class="declaration">
@@ -1,60 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SirenLanguageType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<title>LanguageType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../../js/jquery.min.js" defer></script>
<script src="../../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SirenLanguageType" class="dashAnchor"></a>
<a title="SirenLanguageType Enum Reference"></a>
<a name="//apple_ref/swift/Enum/LanguageType" class="dashAnchor"></a>
<a title="LanguageType Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
<p><a href="../../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">Siren Reference</a>
<img id="carat" src="../img/carat.png" />
SirenLanguageType Enum Reference
<a href="../../index.html">Siren Reference</a>
<img id="carat" src="../../img/carat.png" />
LanguageType Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<a href="../../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
<a href="../../Classes/Siren.html">Siren</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/SirenDelegate.html">SirenDelegate</a>
<a href="../../Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
@@ -63,10 +58,10 @@
<article class="main-content">
<section>
<section class="section">
<h1>SirenLanguageType</h1>
<h1>LanguageType</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -82,9 +77,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6ArabicFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Arabic" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6ArabicFMS0_S0_">Arabic</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_">Arabic</a>
</code>
</div>
<div class="height-container">
@@ -99,7 +94,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -113,9 +108,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8ArmenianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Armenian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8ArmenianFMS0_S0_">Armenian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_">Armenian</a>
</code>
</div>
<div class="height-container">
@@ -130,7 +125,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -144,9 +139,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6BasqueFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Basque" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6BasqueFMS0_S0_">Basque</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_">Basque</a>
</code>
</div>
<div class="height-container">
@@ -161,7 +156,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -175,9 +170,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType17ChineseSimplifiedFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/ChineseSimplified" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType17ChineseSimplifiedFMS0_S0_">ChineseSimplified</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_">ChineseSimplified</a>
</code>
</div>
<div class="height-container">
@@ -192,7 +187,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -206,9 +201,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType18ChineseTraditionalFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/ChineseTraditional" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType18ChineseTraditionalFMS0_S0_">ChineseTraditional</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_">ChineseTraditional</a>
</code>
</div>
<div class="height-container">
@@ -223,7 +218,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -237,9 +232,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8CroatianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Croatian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8CroatianFMS0_S0_">Croatian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_">Croatian</a>
</code>
</div>
<div class="height-container">
@@ -254,7 +249,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -268,9 +263,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6DanishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Danish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6DanishFMS0_S0_">Danish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_">Danish</a>
</code>
</div>
<div class="height-container">
@@ -285,7 +280,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -299,9 +294,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType5DutchFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Dutch" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType5DutchFMS0_S0_">Dutch</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_">Dutch</a>
</code>
</div>
<div class="height-container">
@@ -316,7 +311,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -330,9 +325,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7EnglishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/English" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7EnglishFMS0_S0_">English</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_">English</a>
</code>
</div>
<div class="height-container">
@@ -347,7 +342,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -361,9 +356,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8EstonianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Estonian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8EstonianFMS0_S0_">Estonian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_">Estonian</a>
</code>
</div>
<div class="height-container">
@@ -378,7 +373,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -392,9 +387,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7FinnishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Finnish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7FinnishFMS0_S0_">Finnish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_">Finnish</a>
</code>
</div>
<div class="height-container">
@@ -409,7 +404,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -423,9 +418,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6FrenchFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/French" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6FrenchFMS0_S0_">French</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_">French</a>
</code>
</div>
<div class="height-container">
@@ -440,7 +435,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -454,9 +449,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6GermanFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/German" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6GermanFMS0_S0_">German</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_">German</a>
</code>
</div>
<div class="height-container">
@@ -471,7 +466,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -485,9 +480,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType5GreekFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Greek" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType5GreekFMS0_S0_">Greek</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_">Greek</a>
</code>
</div>
<div class="height-container">
@@ -502,7 +497,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -516,9 +511,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6HebrewFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Hebrew" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6HebrewFMS0_S0_">Hebrew</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_">Hebrew</a>
</code>
</div>
<div class="height-container">
@@ -533,7 +528,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -547,9 +542,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType9HungarianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Hungarian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType9HungarianFMS0_S0_">Hungarian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_">Hungarian</a>
</code>
</div>
<div class="height-container">
@@ -564,7 +559,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -578,9 +573,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType10IndonesianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Indonesian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType10IndonesianFMS0_S0_">Indonesian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_">Indonesian</a>
</code>
</div>
<div class="height-container">
@@ -595,7 +590,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -609,9 +604,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7ItalianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Italian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7ItalianFMS0_S0_">Italian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_">Italian</a>
</code>
</div>
<div class="height-container">
@@ -626,7 +621,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -640,9 +635,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType8JapaneseFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Japanese" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType8JapaneseFMS0_S0_">Japanese</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_">Japanese</a>
</code>
</div>
<div class="height-container">
@@ -657,7 +652,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -671,9 +666,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6KoreanFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Korean" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6KoreanFMS0_S0_">Korean</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_">Korean</a>
</code>
</div>
<div class="height-container">
@@ -688,7 +683,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -702,9 +697,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7LatvianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Latvian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7LatvianFMS0_S0_">Latvian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_">Latvian</a>
</code>
</div>
<div class="height-container">
@@ -719,7 +714,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -733,9 +728,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType10LithuanianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Lithuanian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType10LithuanianFMS0_S0_">Lithuanian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_">Lithuanian</a>
</code>
</div>
<div class="height-container">
@@ -750,7 +745,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -764,9 +759,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType5MalayFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Malay" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType5MalayFMS0_S0_">Malay</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_">Malay</a>
</code>
</div>
<div class="height-container">
@@ -781,7 +776,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -795,9 +790,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType9NorwegianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Norwegian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType9NorwegianFMS0_S0_">Norwegian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_">Norwegian</a>
</code>
</div>
<div class="height-container">
@@ -812,7 +807,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -826,9 +821,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType6PolishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Polish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType6PolishFMS0_S0_">Polish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_">Polish</a>
</code>
</div>
<div class="height-container">
@@ -843,7 +838,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -857,9 +852,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType16PortugueseBrazilFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/PortugueseBrazil" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType16PortugueseBrazilFMS0_S0_">PortugueseBrazil</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_">PortugueseBrazil</a>
</code>
</div>
<div class="height-container">
@@ -874,7 +869,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -888,9 +883,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType18PortuguesePortugalFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/PortuguesePortugal" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType18PortuguesePortugalFMS0_S0_">PortuguesePortugal</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_">PortuguesePortugal</a>
</code>
</div>
<div class="height-container">
@@ -905,7 +900,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -919,9 +914,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7RussianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Russian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7RussianFMS0_S0_">Russian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_">Russian</a>
</code>
</div>
<div class="height-container">
@@ -936,7 +931,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -950,9 +945,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType15SerbianCyrillicFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/SerbianCyrillic" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType15SerbianCyrillicFMS0_S0_">SerbianCyrillic</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_">SerbianCyrillic</a>
</code>
</div>
<div class="height-container">
@@ -967,7 +962,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -981,9 +976,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType12SerbianLatinFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/SerbianLatin" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType12SerbianLatinFMS0_S0_">SerbianLatin</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_">SerbianLatin</a>
</code>
</div>
<div class="height-container">
@@ -998,7 +993,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1012,9 +1007,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType9SlovenianFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Slovenian" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType9SlovenianFMS0_S0_">Slovenian</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_">Slovenian</a>
</code>
</div>
<div class="height-container">
@@ -1029,7 +1024,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1043,9 +1038,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7SpanishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Spanish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7SpanishFMS0_S0_">Spanish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_">Spanish</a>
</code>
</div>
<div class="height-container">
@@ -1060,7 +1055,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1074,9 +1069,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7SwedishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Swedish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7SwedishFMS0_S0_">Swedish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_">Swedish</a>
</code>
</div>
<div class="height-container">
@@ -1091,7 +1086,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1105,9 +1100,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType4ThaiFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Thai" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType4ThaiFMS0_S0_">Thai</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_">Thai</a>
</code>
</div>
<div class="height-container">
@@ -1122,7 +1117,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1136,9 +1131,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType7TurkishFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Turkish" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType7TurkishFMS0_S0_">Turkish</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_">Turkish</a>
</code>
</div>
<div class="height-container">
@@ -1153,7 +1148,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1167,9 +1162,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<li class="item">
<div>
<code>
<a name="/s:FO5Siren17SirenLanguageType10VietnameseFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/Vietnamese" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren17SirenLanguageType10VietnameseFMS0_S0_">Vietnamese</a>
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_">Vietnamese</a>
</code>
</div>
<div class="height-container">
@@ -1184,7 +1179,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">LanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
@@ -1,60 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>SirenVersionCheckType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<title>VersionCheckType Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../../js/jquery.min.js" defer></script>
<script src="../../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SirenVersionCheckType" class="dashAnchor"></a>
<a title="SirenVersionCheckType Enum Reference"></a>
<a name="//apple_ref/swift/Enum/VersionCheckType" class="dashAnchor"></a>
<a title="VersionCheckType Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
<p><a href="../../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">Siren Reference</a>
<img id="carat" src="../img/carat.png" />
SirenVersionCheckType Enum Reference
<a href="../../index.html">Siren Reference</a>
<img id="carat" src="../../img/carat.png" />
VersionCheckType Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<a href="../../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
<a href="../../Classes/Siren.html">Siren</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/SirenDelegate.html">SirenDelegate</a>
<a href="../../Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
@@ -63,14 +58,14 @@
<article class="main-content">
<section>
<section class="section">
<h1>SirenVersionCheckType</h1>
<h1>VersionCheckType</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenVersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
<pre class="highlight"><code><span class="kd">enum</span> <span class="kt">VersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
</div>
</div>
<p>Determines the frequency in which the the version check is performed.</p>
<p>Determines the frequency in which the the version check is performed and the user is prompted to update the app.</p>
</section>
<section class="section task-group-section">
@@ -79,9 +74,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren21SirenVersionCheckType11immediatelyFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/immediately" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren21SirenVersionCheckType11immediatelyFMS0_S0_">immediately</a>
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_">immediately</a>
</code>
</div>
<div class="height-container">
@@ -110,9 +105,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren21SirenVersionCheckType5dailyFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/daily" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren21SirenVersionCheckType5dailyFMS0_S0_">daily</a>
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_">daily</a>
</code>
</div>
<div class="height-container">
@@ -141,9 +136,9 @@
<li class="item">
<div>
<code>
<a name="/s:FO5Siren21SirenVersionCheckType6weeklyFMS0_S0_"></a>
<a name="/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_"></a>
<a name="//apple_ref/swift/Element/weekly" class="dashAnchor"></a>
<a class="token" href="#/s:FO5Siren21SirenVersionCheckType6weeklyFMS0_S0_">weekly</a>
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_">weekly</a>
</code>
</div>
<div class="height-container">
@@ -1,178 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Enums Reference</title>
<link rel="stylesheet" type="text/css" href="css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="css/highlight.css" />
<meta charset='utf-8'>
<script src="js/jquery.min.js" defer></script>
<script src="js/jazzy.js" defer></script>
</head>
<body>
<a title="Enums Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="index.html">Siren Reference</a>
<img id="carat" src="img/carat.png" />
Enums Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Protocols/SirenDelegate.html">SirenDelegate</a>
</li>
</ul>
</li>
</ul>
</nav>
<article class="main-content">
<section>
<section class="section">
<h1>Enums</h1>
<p>The following enums are available globally.</p>
</section>
<section class="section task-group-section">
<div class="task-group">
<div class="task-name-container">
<a name="/SirenDelegate%20Protocol%20Extension"></a>
<a name="//apple_ref/swift/Section/SirenDelegate Protocol Extension" class="dashAnchor"></a>
<a href="#/SirenDelegate%20Protocol%20Extension">
<h3 class="section-name">SirenDelegate Protocol Extension</h3>
</a>
</div>
<ul>
<li class="item">
<div>
<code>
<a name="/s:O5Siren14SirenAlertType"></a>
<a name="//apple_ref/swift/Enum/SirenAlertType" class="dashAnchor"></a>
<a class="token" href="#/s:O5Siren14SirenAlertType">SirenAlertType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the type of alert to present after a successful version check has been performed.</p>
<a href="Enums/SirenAlertType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenAlertType</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:O5Siren21SirenVersionCheckType"></a>
<a name="//apple_ref/swift/Enum/SirenVersionCheckType" class="dashAnchor"></a>
<a class="token" href="#/s:O5Siren21SirenVersionCheckType">SirenVersionCheckType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the frequency in which the the version check is performed.</p>
<a href="Enums/SirenVersionCheckType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenVersionCheckType</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:O5Siren17SirenLanguageType"></a>
<a name="//apple_ref/swift/Enum/SirenLanguageType" class="dashAnchor"></a>
<a class="token" href="#/s:O5Siren17SirenLanguageType">SirenLanguageType</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Determines the available languages in which the update message and alert button titles should appear.</p>
<p>By default, the operating system&rsquo;s default lanuage setting is used. However, you can force a specific language
by setting the forceLanguageLocalization property before calling checkVersion()</p>
<a href="Enums/SirenLanguageType.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SirenLanguageType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
</section>
</section>
<section id="footer">
<p>© 2015-2017 <a class="link" href="http://www.sabintsev.com" target="_blank" rel="external">Arthur Ariel Sabintsev</a></p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.5</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
</body>
</div>
</html>
@@ -13,7 +13,7 @@
<a title="Protocols Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p><a href="index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -33,19 +33,14 @@
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
<a href="Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -14,7 +14,7 @@
<a title="SirenDelegate Protocol Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">Siren Docs</a> (54% documented)</p>
<p><a href="../index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="../img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -34,19 +34,14 @@
<li class="nav-group-task">
<a href="../Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/SirenAlertType.html">SirenAlertType</a>
<a href="../Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="../Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="../Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -79,9 +74,9 @@
<li class="item">
<div>
<code>
<a name="/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOS_14SirenAlertType_T_"></a>
<a name="/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_"></a>
<a name="//apple_ref/swift/Method/sirenDidShowUpdateDialog(alertType:)" class="dashAnchor"></a>
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOS_14SirenAlertType_T_">sirenDidShowUpdateDialog(alertType:)</a>
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_">sirenDidShowUpdateDialog(alertType:)</a>
</code>
<span class="declaration-note">
Default implementation
@@ -92,7 +87,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User presented with update dialog</p>
<p>User presented with update dialog.</p>
</div>
<h4>Default Implementation</h4>
@@ -103,7 +98,7 @@
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidShowUpdateDialog</span><span class="p">(</span><span class="nv">alertType</span><span class="p">:</span> <span class="kt"><a href="../Enums/SirenAlertType.html">SirenAlertType</a></span><span class="p">)</span></code></pre>
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidShowUpdateDialog</span><span class="p">(</span><span class="nv">alertType</span><span class="p">:</span> <span class="kt"><a href="../Classes/Siren.html">Siren</a></span><span class="o">.</span><span class="kt">AlertType</span><span class="p">)</span></code></pre>
</div>
</div>
@@ -126,7 +121,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User did click on button that launched App Store.app</p>
<p>User did click on button that launched App Store.app.</p>
</div>
<h4>Default Implementation</h4>
@@ -160,7 +155,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User did click on button that skips version update</p>
<p>User did click on button that skips version update.</p>
</div>
<h4>Default Implementation</h4>
@@ -194,7 +189,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>User did click on button that cancels update dialog</p>
<p>User did click on button that cancels update dialog.</p>
</div>
<h4>Default Implementation</h4>
@@ -228,7 +223,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Siren failed to perform version check (may return system-level error)</p>
<p>Siren failed to perform version check (may return system-level error).</p>
</div>
<h4>Default Implementation</h4>
@@ -262,7 +257,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Siren performed version check and did not display alert</p>
<p>Siren performed version check and did not display alert.</p>
</div>
<h4>Default Implementation</h4>
@@ -296,7 +291,7 @@
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Siren performed version check and latest version is installed</p>
<p>Siren performed version check and latest version is installed.</p>
</div>
<h4>Default Implementation</h4>
@@ -13,7 +13,7 @@
<a title="Siren Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p><a href="index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -33,19 +33,14 @@
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
<a href="Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -66,6 +61,24 @@
<a href='#siren' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h1 id='siren'>Siren</h1>
<a href='#notify-users-when-a-new-version-of-your-app-is-available-and-prompt-them-to-upgrade' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='notify-users-when-a-new-version-of-your-app-is-available-and-prompt-them-to-upgrade'>Notify users when a new version of your app is available and prompt them to upgrade.</h3>
<a href='#a-href-https-dashboard-buddybuild-com-apps-58c4d0d85601d40100c5c51d-build-latest-branch-master-img-src-https-dashboard-buddybuild-com-api-statusimage-appid-58c4d0d85601d40100c5c51d-branch-master-build-latest-alt-buddybuild-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-v-siren-svg-alt-cocoapods-a-a-href-https-github-com-carthage-carthage-img-src-https-img-shields-io-badge-carthage-compatible-4bc51d-svg-style-flat-alt-carthage-compatible-a-a-href-https-swift-org-package-manager-img-src-https-img-shields-io-badge-swiftpm-compatible-brightgreen-svg-alt-swiftpm-compatible-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dt-siren-svg-alt-cocoapods-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dm-siren-svg-alt-cocoapods-a' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='a-href-https-dashboard-buddybuild-com-apps-58c4d0d85601d40100c5c51d-build-latest-branch-master-img-src-https-dashboard-buddybuild-com-api-statusimage-appid-58c4d0d85601d40100c5c51d-branch-master-build-latest-alt-buddybuild-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-v-siren-svg-alt-cocoapods-a-a-href-https-github-com-carthage-carthage-img-src-https-img-shields-io-badge-carthage-compatible-4bc51d-svg-style-flat-alt-carthage-compatible-a-a-href-https-swift-org-package-manager-img-src-https-img-shields-io-badge-swiftpm-compatible-brightgreen-svg-alt-swiftpm-compatible-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dt-siren-svg-alt-cocoapods-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dm-siren-svg-alt-cocoapods-a'><a href="https://dashboard.buddybuild.com/apps/58c4d0d85601d40100c5c51d/build/latest?branch=master"><img src="https://dashboard.buddybuild.com/api/statusImage?appID=58c4d0d85601d40100c5c51d&branch=master&build=latest" alt="BuddyBuild"></a> <a href="https://cocoapods.org/pods/Siren"><img src="https://img.shields.io/cocoapods/v/Siren.svg" alt="CocoaPods"></a> <a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage Compatible"></a> <a href="https://swift.org/package-manager/"><img src="https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg" alt="SwiftPM Compatible"></a> <a href="https://cocoapods.org/pods/Siren"><img src="https://img.shields.io/cocoapods/dt/Siren.svg" alt="CocoaPods"></a> <a href="https://cocoapods.org/pods/Siren"><img src="https://img.shields.io/cocoapods/dm/Siren.svg" alt="CocoaPods"></a></h2>
<a href='#table-of-contents' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='table-of-contents'>Table of Contents</h2>
<ul>
<li><a href="https://github.com/ArtSabintsev/Siren#about">About</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#features">Features</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#screenshots">Screenshots</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#installation-instructions">Installation Instructions</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#example-code">Example Code</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#granular-version-update-management">Granular/Differentiated Version Management</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#optional-delegate-and-delegate-methods">Delegates (Optional)</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#localization">Localization</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#device-compatibility">Device Compatibility</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#testing-siren">Testing Siren</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#app-store-submissions">App Store Review &amp; Submissions</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#words-of-caution">Words of Caution</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#ports">Ports</a></li>
</ul>
<a href='#a-href-https-github-com-artsabintsev-siren-created-and-maintained-by-attribution-a' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='a-href-https-github-com-artsabintsev-siren-created-and-maintained-by-attribution-a'>- <a href="https://github.com/ArtSabintsev/Siren#created-and-maintained-by">Attribution</a></h2>
<a href='#about' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='about'>About</h2>
<p><strong>Siren</strong> checks a user&rsquo;s currently installed version of your iOS app against the version that is currently available in the App Store.</p>
@@ -81,45 +94,23 @@
</ul></li>
<li>Siren is actively maintained by <a href="http://github.com/ArtSabintsev"><strong>Arthur Sabintsev</strong></a> and <a href="http://twitter.com/getaaron"><strong>Aaron Brager</strong></a></li>
</ul>
<a href='#readme-translations' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='readme-translations'>README Translations</h2>
<a href='#readme-translations' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='readme-translations'>README Translations</h3>
<ul>
<li><a href="README.zh_CN.md"><strong>简体中文</strong></a> (by <a href="http://www.jianshu.com/u/d8bbc4831623"><strong>Daniel Hu</strong></a>)</li>
</ul>
<a href='#ports' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='ports'>Ports</h2>
<ul>
<li><strong>Objective-C (iOS)</strong>
<ul>
<li><a href="http://github.com/ArtSabintsev/Harpy"><strong>Harpy</strong></a></li>
<li>Siren was ported <em>from</em> Harpy, as Siren and Harpy are maintained by the same developer.</li>
</ul></li>
<li><strong>Java (Android)</strong>
<ul>
<li><a href="https://github.com/eggheadgames/Siren"><strong>Egghead Games&rsquo; Siren library</strong></a></li>
<li>The Siren Swift library inspired the Java library.</li>
</ul></li>
<li><strong>React Native (iOS)</strong>
<ul>
<li><a href="https://github.com/GantMan/react-native-siren"><strong>Gant Laborde&rsquo;s Siren library</strong></a></li>
<li>The Siren Swift library inspired the React Native library.</li>
</ul></li>
</ul>
<a href='#features' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='features'>Features</h2>
<ul>
<li>[x] CocoaPods Support</li>
<li>[x] Carthage Support</li>
<li>[x] Swift Package Manager Support</li>
<li>[x] Localized for 30+ languages (See <strong>Localization</strong>)</li>
<li>[x] Pre-Update Device Compatibility Check (See <strong>Device Compatibility</strong>)</li>
<li>[x] Three types of alerts (see <strong>Screenshots</strong>)</li>
<li>[x] Optional delegate methods (see <strong>Optional Delegate</strong>)</li>
<li>[x] Localized for 30+ languages (see <a href="https://github.com/ArtSabintsev/Siren#localization">Localization</a>)</li>
<li>[x] Pre-Update Device Compatibility Check (see <a href="https://github.com/ArtSabintsev/Siren#device-compatibility">Device Compatibility</a></li>
<li>[x] Three types of alerts (see <a href="https://github.com/ArtSabintsev/Siren#screenshots">Screenshots</a>)</li>
<li>[x] Optional delegate methods (see <a href="https://github.com/ArtSabintsev/Siren#optional-delegate-and-delegate-methods">Delegates (Optional)</a></li>
<li>[x] Unit Tests</li>
<li>[x] Documentation can be found at <a href="http://sabintsev.com/Siren">http://sabintsev.com/Siren</a></li>
<li>[x] Documentation can be found at <a href="http://sabintsev.com/Siren">http://sabintsev.com/Siren</a>.</li>
</ul>
<a href='#screenshots' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='screenshots'>Screenshots</h2>
@@ -158,24 +149,28 @@ pod &#39;Siren&#39;, &#39;0.9.5&#39;
<pre class="highlight swift"><code><span class="n">github</span> <span class="s">"ArtSabintsev/Siren"</span> <span class="s">"swift2.3"</span>
</code></pre>
<a href='#swift-package-manager' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='swift-package-manager'>Swift Package Manager</h3>
<pre class="highlight swift"><code><span class="o">.</span><span class="kt">Package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/ArtSabintsev/Siren.git"</span><span class="p">,</span> <span class="nv">majorVersion</span><span class="p">:</span> <span class="mi">1</span><span class="p">)</span>
<pre class="highlight swift"><code><span class="o">.</span><span class="kt">Package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/ArtSabintsev/Siren.git"</span><span class="p">,</span> <span class="nv">majorVersion</span><span class="p">:</span> <span class="mi">2</span><span class="p">)</span>
</code></pre>
<a href='#setup' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='setup'>Setup</h2>
<a href='#example-code' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='example-code'>Example Code</h2>
<p>Here&rsquo;s some commented sample code. Adapt this to meet your app&rsquo;s needs. For a full list of optional settings/preferences, please refer to <a href="https://github.com/ArtSabintsev/Siren/blob/master/Sample%20App/Sample%20App/AppDelegate.swift">https://github.com/ArtSabintsev/Siren/blob/master/Sample%20App/Sample%20App/AppDelegate.swift</a> in the Sample Project.</p>
<p>Below is some commented sample code. Adapt this to meet your app&rsquo;s needs.</p>
<p>For a full list of optional settings/preferences, please refer to <a href="https://github.com/ArtSabintsev/Siren/blob/master/SirenExample/SirenExample/AppDelegate.swift">https://github.com/ArtSabintsev/Siren/blob/master/SirenExample/SirenExample/AppDelegate.swift</a> in the Sample Project.</p>
<pre class="highlight plaintext"><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
/* Siren code should go below window?.makeKeyAndVisible() */
// Siren is a singleton
let siren = Siren.shared
// Siren is a singleton
let siren = Siren.shared
// Optional: Defaults to .Option
siren.alertType = &lt;#SirenAlertType_Enum_Value#&gt;
// Optional: Defaults to .Option
siren.alertType = &lt;#SirenAlertType_Enum_Value#&gt;
/*
Replace .Immediately with .Daily or .Weekly to specify a maximum daily or weekly frequency for version
checks.
*/
// Optional: Set this variable if you would only like to show an alert if your app has been available on the store for a few days.
// This default value is set to 1 to avoid this issue: https://github.com/ArtSabintsev/Siren#words-of-caution
// To show the update immediately after Apple has updated their JSON, set this value to 0. Not recommended due to aforementioned reason in https://github.com/ArtSabintsev/Siren#words-of-caution.
siren.showAlertAfterCurrentVersionHasBeenReleasedForDays = 3
// Replace .Immediately with .Daily or .Weekly to specify a maximum daily or weekly frequency for version checks.
siren.checkVersion(checkType: .immediately)
return true
@@ -222,7 +217,7 @@ func applicationWillEnterForeground(application: UIApplication) {
</code></pre>
<p>Siren will call the <code>sirenDidDetectNewVersionWithoutAlert(message: String)</code> delegate method, passing a localized, suggested update string suitable for display. Implement this method to display your own messaging, optionally using <code>message</code>.</p>
<a href='#differentiated-alerts-for-revision-patch-minor-and-major-updates' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='differentiated-alerts-for-revision-patch-minor-and-major-updates'>Differentiated Alerts for Revision, Patch, Minor, and Major Updates</h2>
<a href='#granular-version-update-management' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='granular-version-update-management'>Granular Version Update Management</h2>
<p>If you would like to set a different type of alert for revision, patch, minor, and/or major updates, simply add one or all of the following <em>optional</em> lines to your setup <em>before</em> calling the <code>checkVersion()</code> method:</p>
<pre class="highlight swift"><code> <span class="cm">/* Siren defaults to SirenAlertType.Option for all updates */</span>
@@ -297,6 +292,33 @@ func applicationWillEnterForeground(application: UIApplication) {
<a href='#app-store-submissions' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='app-store-submissions'>App Store Submissions</h2>
<p>The App Store reviewer will <strong>not</strong> see the alert. The version in the App Store will always be older than the version being reviewed.</p>
<a href='#words-of-caution' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='words-of-caution'>Words of Caution</h2>
<p>Occasionally, the iTunes JSON will update faster than the App Store CDN, meaning the JSON may state that the new version of the app has been release, while no new binary is made available for download via the App Store. It is for this reason, I caution developers to not use the <code>Force</code> option unless you are controlling the <code>Force</code> option with a remote configuration file (e.g., enabling Siren remotely only after you have guaranteed that the app has propagated to the App Store).</p>
<p>Also, in even rarer situations, the iTunes JSON may fluctuate between multiple versions of your app shortly after pushing out a new version. This is extremely rare, and has only been reported once in the five years that Siren and Harpy have been around.</p>
<a href='#ports' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='ports'>Ports</h2>
<ul>
<li><strong>Objective-C (iOS)</strong>
<ul>
<li><a href="http://github.com/ArtSabintsev/Harpy"><strong>Harpy</strong></a></li>
<li>Siren was ported <em>from</em> Harpy, as Siren and Harpy are maintained by the same developer.</li>
</ul></li>
<li><strong>Java (Android)</strong>
<ul>
<li><a href="https://github.com/eggheadgames/Siren"><strong>Egghead Games&rsquo; Siren library</strong></a></li>
<li>The Siren Swift library inspired the Java library.</li>
</ul></li>
<li><strong>React Native (iOS)</strong>
<ul>
<li><a href="https://github.com/GantMan/react-native-siren"><strong>Gant Laborde&rsquo;s Siren library</strong></a></li>
<li>The Siren Swift library inspired the React Native library.</li>
</ul></li>
</ul>
<a href='#created-and-maintained-by' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='created-and-maintained-by'>Created and maintained by</h2>
<p><a href="http://www.sabintsev.com/">Arthur Ariel Sabintsev</a> &amp; <a href="http://twitter.com/getaaron">Aaron Brager</a></p>
File diff suppressed because one or more lines are too long
@@ -2,253 +2,253 @@
"warnings": [
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 82,
"symbol": "SirenLanguageType.Arabic",
"line": 514,
"symbol": "Siren.LanguageType.Arabic",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 83,
"symbol": "SirenLanguageType.Armenian",
"line": 515,
"symbol": "Siren.LanguageType.Armenian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 84,
"symbol": "SirenLanguageType.Basque",
"line": 516,
"symbol": "Siren.LanguageType.Basque",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 85,
"symbol": "SirenLanguageType.ChineseSimplified",
"line": 517,
"symbol": "Siren.LanguageType.ChineseSimplified",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 86,
"symbol": "SirenLanguageType.ChineseTraditional",
"line": 518,
"symbol": "Siren.LanguageType.ChineseTraditional",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 87,
"symbol": "SirenLanguageType.Croatian",
"line": 519,
"symbol": "Siren.LanguageType.Croatian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 88,
"symbol": "SirenLanguageType.Danish",
"line": 520,
"symbol": "Siren.LanguageType.Danish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 89,
"symbol": "SirenLanguageType.Dutch",
"line": 521,
"symbol": "Siren.LanguageType.Dutch",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 90,
"symbol": "SirenLanguageType.English",
"line": 522,
"symbol": "Siren.LanguageType.English",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 91,
"symbol": "SirenLanguageType.Estonian",
"line": 523,
"symbol": "Siren.LanguageType.Estonian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 92,
"symbol": "SirenLanguageType.Finnish",
"line": 524,
"symbol": "Siren.LanguageType.Finnish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 93,
"symbol": "SirenLanguageType.French",
"line": 525,
"symbol": "Siren.LanguageType.French",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 94,
"symbol": "SirenLanguageType.German",
"line": 526,
"symbol": "Siren.LanguageType.German",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 95,
"symbol": "SirenLanguageType.Greek",
"line": 527,
"symbol": "Siren.LanguageType.Greek",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 96,
"symbol": "SirenLanguageType.Hebrew",
"line": 528,
"symbol": "Siren.LanguageType.Hebrew",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 97,
"symbol": "SirenLanguageType.Hungarian",
"line": 529,
"symbol": "Siren.LanguageType.Hungarian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 98,
"symbol": "SirenLanguageType.Indonesian",
"line": 530,
"symbol": "Siren.LanguageType.Indonesian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 99,
"symbol": "SirenLanguageType.Italian",
"line": 531,
"symbol": "Siren.LanguageType.Italian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 100,
"symbol": "SirenLanguageType.Japanese",
"line": 532,
"symbol": "Siren.LanguageType.Japanese",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 101,
"symbol": "SirenLanguageType.Korean",
"line": 533,
"symbol": "Siren.LanguageType.Korean",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 102,
"symbol": "SirenLanguageType.Latvian",
"line": 534,
"symbol": "Siren.LanguageType.Latvian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 103,
"symbol": "SirenLanguageType.Lithuanian",
"line": 535,
"symbol": "Siren.LanguageType.Lithuanian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 104,
"symbol": "SirenLanguageType.Malay",
"line": 536,
"symbol": "Siren.LanguageType.Malay",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 105,
"symbol": "SirenLanguageType.Norwegian",
"line": 537,
"symbol": "Siren.LanguageType.Norwegian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 106,
"symbol": "SirenLanguageType.Polish",
"line": 538,
"symbol": "Siren.LanguageType.Polish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 107,
"symbol": "SirenLanguageType.PortugueseBrazil",
"line": 539,
"symbol": "Siren.LanguageType.PortugueseBrazil",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 108,
"symbol": "SirenLanguageType.PortuguesePortugal",
"line": 540,
"symbol": "Siren.LanguageType.PortuguesePortugal",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 109,
"symbol": "SirenLanguageType.Russian",
"line": 541,
"symbol": "Siren.LanguageType.Russian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 110,
"symbol": "SirenLanguageType.SerbianCyrillic",
"line": 542,
"symbol": "Siren.LanguageType.SerbianCyrillic",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 111,
"symbol": "SirenLanguageType.SerbianLatin",
"line": 543,
"symbol": "Siren.LanguageType.SerbianLatin",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 112,
"symbol": "SirenLanguageType.Slovenian",
"line": 544,
"symbol": "Siren.LanguageType.Slovenian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 113,
"symbol": "SirenLanguageType.Spanish",
"line": 545,
"symbol": "Siren.LanguageType.Spanish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 114,
"symbol": "SirenLanguageType.Swedish",
"line": 546,
"symbol": "Siren.LanguageType.Swedish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 115,
"symbol": "SirenLanguageType.Thai",
"line": 547,
"symbol": "Siren.LanguageType.Thai",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 116,
"symbol": "SirenLanguageType.Turkish",
"line": 548,
"symbol": "Siren.LanguageType.Turkish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 117,
"symbol": "SirenLanguageType.Vietnamese",
"line": 549,
"symbol": "Siren.LanguageType.Vietnamese",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
}
Binary file not shown.
+71 -49
View File
@@ -13,7 +13,7 @@
<a title="Siren Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">Siren Docs</a> (54% documented)</p>
<p><a href="index.html">Siren Docs</a> (55% documented)</p>
<p class="header-right"><a href="https://github.com/artsabintsev/siren"><img src="img/gh.png"/>View on GitHub</a></p>
</div>
</header>
@@ -33,19 +33,14 @@
<li class="nav-group-task">
<a href="Classes/Siren.html">Siren</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Enums/SirenAlertType.html">SirenAlertType</a>
<a href="Classes/Siren/AlertType.html"> AlertType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenLanguageType.html">SirenLanguageType</a>
<a href="Classes/Siren/VersionCheckType.html"> VersionCheckType</a>
</li>
<li class="nav-group-task">
<a href="Enums/SirenVersionCheckType.html">SirenVersionCheckType</a>
<a href="Classes/Siren/LanguageType.html"> LanguageType</a>
</li>
</ul>
</li>
@@ -66,6 +61,24 @@
<a href='#siren' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h1 id='siren'>Siren</h1>
<a href='#notify-users-when-a-new-version-of-your-app-is-available-and-prompt-them-to-upgrade' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='notify-users-when-a-new-version-of-your-app-is-available-and-prompt-them-to-upgrade'>Notify users when a new version of your app is available and prompt them to upgrade.</h3>
<a href='#a-href-https-dashboard-buddybuild-com-apps-58c4d0d85601d40100c5c51d-build-latest-branch-master-img-src-https-dashboard-buddybuild-com-api-statusimage-appid-58c4d0d85601d40100c5c51d-branch-master-build-latest-alt-buddybuild-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-v-siren-svg-alt-cocoapods-a-a-href-https-github-com-carthage-carthage-img-src-https-img-shields-io-badge-carthage-compatible-4bc51d-svg-style-flat-alt-carthage-compatible-a-a-href-https-swift-org-package-manager-img-src-https-img-shields-io-badge-swiftpm-compatible-brightgreen-svg-alt-swiftpm-compatible-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dt-siren-svg-alt-cocoapods-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dm-siren-svg-alt-cocoapods-a' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='a-href-https-dashboard-buddybuild-com-apps-58c4d0d85601d40100c5c51d-build-latest-branch-master-img-src-https-dashboard-buddybuild-com-api-statusimage-appid-58c4d0d85601d40100c5c51d-branch-master-build-latest-alt-buddybuild-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-v-siren-svg-alt-cocoapods-a-a-href-https-github-com-carthage-carthage-img-src-https-img-shields-io-badge-carthage-compatible-4bc51d-svg-style-flat-alt-carthage-compatible-a-a-href-https-swift-org-package-manager-img-src-https-img-shields-io-badge-swiftpm-compatible-brightgreen-svg-alt-swiftpm-compatible-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dt-siren-svg-alt-cocoapods-a-a-href-https-cocoapods-org-pods-siren-img-src-https-img-shields-io-cocoapods-dm-siren-svg-alt-cocoapods-a'><a href="https://dashboard.buddybuild.com/apps/58c4d0d85601d40100c5c51d/build/latest?branch=master"><img src="https://dashboard.buddybuild.com/api/statusImage?appID=58c4d0d85601d40100c5c51d&branch=master&build=latest" alt="BuddyBuild"></a> <a href="https://cocoapods.org/pods/Siren"><img src="https://img.shields.io/cocoapods/v/Siren.svg" alt="CocoaPods"></a> <a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage Compatible"></a> <a href="https://swift.org/package-manager/"><img src="https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg" alt="SwiftPM Compatible"></a> <a href="https://cocoapods.org/pods/Siren"><img src="https://img.shields.io/cocoapods/dt/Siren.svg" alt="CocoaPods"></a> <a href="https://cocoapods.org/pods/Siren"><img src="https://img.shields.io/cocoapods/dm/Siren.svg" alt="CocoaPods"></a></h2>
<a href='#table-of-contents' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='table-of-contents'>Table of Contents</h2>
<ul>
<li><a href="https://github.com/ArtSabintsev/Siren#about">About</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#features">Features</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#screenshots">Screenshots</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#installation-instructions">Installation Instructions</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#example-code">Example Code</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#granular-version-update-management">Granular/Differentiated Version Management</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#optional-delegate-and-delegate-methods">Delegates (Optional)</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#localization">Localization</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#device-compatibility">Device Compatibility</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#testing-siren">Testing Siren</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#app-store-submissions">App Store Review &amp; Submissions</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#words-of-caution">Words of Caution</a></li>
<li><a href="https://github.com/ArtSabintsev/Siren#ports">Ports</a></li>
</ul>
<a href='#a-href-https-github-com-artsabintsev-siren-created-and-maintained-by-attribution-a' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='a-href-https-github-com-artsabintsev-siren-created-and-maintained-by-attribution-a'>- <a href="https://github.com/ArtSabintsev/Siren#created-and-maintained-by">Attribution</a></h2>
<a href='#about' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='about'>About</h2>
<p><strong>Siren</strong> checks a user&rsquo;s currently installed version of your iOS app against the version that is currently available in the App Store.</p>
@@ -81,45 +94,23 @@
</ul></li>
<li>Siren is actively maintained by <a href="http://github.com/ArtSabintsev"><strong>Arthur Sabintsev</strong></a> and <a href="http://twitter.com/getaaron"><strong>Aaron Brager</strong></a></li>
</ul>
<a href='#readme-translations' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='readme-translations'>README Translations</h2>
<a href='#readme-translations' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='readme-translations'>README Translations</h3>
<ul>
<li><a href="README.zh_CN.md"><strong>简体中文</strong></a> (by <a href="http://www.jianshu.com/u/d8bbc4831623"><strong>Daniel Hu</strong></a>)</li>
</ul>
<a href='#ports' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='ports'>Ports</h2>
<ul>
<li><strong>Objective-C (iOS)</strong>
<ul>
<li><a href="http://github.com/ArtSabintsev/Harpy"><strong>Harpy</strong></a></li>
<li>Siren was ported <em>from</em> Harpy, as Siren and Harpy are maintained by the same developer.</li>
</ul></li>
<li><strong>Java (Android)</strong>
<ul>
<li><a href="https://github.com/eggheadgames/Siren"><strong>Egghead Games&rsquo; Siren library</strong></a></li>
<li>The Siren Swift library inspired the Java library.</li>
</ul></li>
<li><strong>React Native (iOS)</strong>
<ul>
<li><a href="https://github.com/GantMan/react-native-siren"><strong>Gant Laborde&rsquo;s Siren library</strong></a></li>
<li>The Siren Swift library inspired the React Native library.</li>
</ul></li>
</ul>
<a href='#features' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='features'>Features</h2>
<ul>
<li>[x] CocoaPods Support</li>
<li>[x] Carthage Support</li>
<li>[x] Swift Package Manager Support</li>
<li>[x] Localized for 30+ languages (See <strong>Localization</strong>)</li>
<li>[x] Pre-Update Device Compatibility Check (See <strong>Device Compatibility</strong>)</li>
<li>[x] Three types of alerts (see <strong>Screenshots</strong>)</li>
<li>[x] Optional delegate methods (see <strong>Optional Delegate</strong>)</li>
<li>[x] Localized for 30+ languages (see <a href="https://github.com/ArtSabintsev/Siren#localization">Localization</a>)</li>
<li>[x] Pre-Update Device Compatibility Check (see <a href="https://github.com/ArtSabintsev/Siren#device-compatibility">Device Compatibility</a></li>
<li>[x] Three types of alerts (see <a href="https://github.com/ArtSabintsev/Siren#screenshots">Screenshots</a>)</li>
<li>[x] Optional delegate methods (see <a href="https://github.com/ArtSabintsev/Siren#optional-delegate-and-delegate-methods">Delegates (Optional)</a></li>
<li>[x] Unit Tests</li>
<li>[x] Documentation can be found at <a href="http://sabintsev.com/Siren">http://sabintsev.com/Siren</a></li>
<li>[x] Documentation can be found at <a href="http://sabintsev.com/Siren">http://sabintsev.com/Siren</a>.</li>
</ul>
<a href='#screenshots' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='screenshots'>Screenshots</h2>
@@ -158,24 +149,28 @@ pod &#39;Siren&#39;, &#39;0.9.5&#39;
<pre class="highlight swift"><code><span class="n">github</span> <span class="s">"ArtSabintsev/Siren"</span> <span class="s">"swift2.3"</span>
</code></pre>
<a href='#swift-package-manager' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='swift-package-manager'>Swift Package Manager</h3>
<pre class="highlight swift"><code><span class="o">.</span><span class="kt">Package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/ArtSabintsev/Siren.git"</span><span class="p">,</span> <span class="nv">majorVersion</span><span class="p">:</span> <span class="mi">1</span><span class="p">)</span>
<pre class="highlight swift"><code><span class="o">.</span><span class="kt">Package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/ArtSabintsev/Siren.git"</span><span class="p">,</span> <span class="nv">majorVersion</span><span class="p">:</span> <span class="mi">2</span><span class="p">)</span>
</code></pre>
<a href='#setup' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='setup'>Setup</h2>
<a href='#example-code' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='example-code'>Example Code</h2>
<p>Here&rsquo;s some commented sample code. Adapt this to meet your app&rsquo;s needs. For a full list of optional settings/preferences, please refer to <a href="https://github.com/ArtSabintsev/Siren/blob/master/Sample%20App/Sample%20App/AppDelegate.swift">https://github.com/ArtSabintsev/Siren/blob/master/Sample%20App/Sample%20App/AppDelegate.swift</a> in the Sample Project.</p>
<p>Below is some commented sample code. Adapt this to meet your app&rsquo;s needs.</p>
<p>For a full list of optional settings/preferences, please refer to <a href="https://github.com/ArtSabintsev/Siren/blob/master/SirenExample/SirenExample/AppDelegate.swift">https://github.com/ArtSabintsev/Siren/blob/master/SirenExample/SirenExample/AppDelegate.swift</a> in the Sample Project.</p>
<pre class="highlight plaintext"><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
/* Siren code should go below window?.makeKeyAndVisible() */
// Siren is a singleton
let siren = Siren.shared
// Siren is a singleton
let siren = Siren.shared
// Optional: Defaults to .Option
siren.alertType = &lt;#SirenAlertType_Enum_Value#&gt;
// Optional: Defaults to .Option
siren.alertType = &lt;#SirenAlertType_Enum_Value#&gt;
/*
Replace .Immediately with .Daily or .Weekly to specify a maximum daily or weekly frequency for version
checks.
*/
// Optional: Set this variable if you would only like to show an alert if your app has been available on the store for a few days.
// This default value is set to 1 to avoid this issue: https://github.com/ArtSabintsev/Siren#words-of-caution
// To show the update immediately after Apple has updated their JSON, set this value to 0. Not recommended due to aforementioned reason in https://github.com/ArtSabintsev/Siren#words-of-caution.
siren.showAlertAfterCurrentVersionHasBeenReleasedForDays = 3
// Replace .Immediately with .Daily or .Weekly to specify a maximum daily or weekly frequency for version checks.
siren.checkVersion(checkType: .immediately)
return true
@@ -222,7 +217,7 @@ func applicationWillEnterForeground(application: UIApplication) {
</code></pre>
<p>Siren will call the <code>sirenDidDetectNewVersionWithoutAlert(message: String)</code> delegate method, passing a localized, suggested update string suitable for display. Implement this method to display your own messaging, optionally using <code>message</code>.</p>
<a href='#differentiated-alerts-for-revision-patch-minor-and-major-updates' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='differentiated-alerts-for-revision-patch-minor-and-major-updates'>Differentiated Alerts for Revision, Patch, Minor, and Major Updates</h2>
<a href='#granular-version-update-management' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='granular-version-update-management'>Granular Version Update Management</h2>
<p>If you would like to set a different type of alert for revision, patch, minor, and/or major updates, simply add one or all of the following <em>optional</em> lines to your setup <em>before</em> calling the <code>checkVersion()</code> method:</p>
<pre class="highlight swift"><code> <span class="cm">/* Siren defaults to SirenAlertType.Option for all updates */</span>
@@ -297,6 +292,33 @@ func applicationWillEnterForeground(application: UIApplication) {
<a href='#app-store-submissions' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='app-store-submissions'>App Store Submissions</h2>
<p>The App Store reviewer will <strong>not</strong> see the alert. The version in the App Store will always be older than the version being reviewed.</p>
<a href='#words-of-caution' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='words-of-caution'>Words of Caution</h2>
<p>Occasionally, the iTunes JSON will update faster than the App Store CDN, meaning the JSON may state that the new version of the app has been release, while no new binary is made available for download via the App Store. It is for this reason, I caution developers to not use the <code>Force</code> option unless you are controlling the <code>Force</code> option with a remote configuration file (e.g., enabling Siren remotely only after you have guaranteed that the app has propagated to the App Store).</p>
<p>Also, in even rarer situations, the iTunes JSON may fluctuate between multiple versions of your app shortly after pushing out a new version. This is extremely rare, and has only been reported once in the five years that Siren and Harpy have been around.</p>
<a href='#ports' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='ports'>Ports</h2>
<ul>
<li><strong>Objective-C (iOS)</strong>
<ul>
<li><a href="http://github.com/ArtSabintsev/Harpy"><strong>Harpy</strong></a></li>
<li>Siren was ported <em>from</em> Harpy, as Siren and Harpy are maintained by the same developer.</li>
</ul></li>
<li><strong>Java (Android)</strong>
<ul>
<li><a href="https://github.com/eggheadgames/Siren"><strong>Egghead Games&rsquo; Siren library</strong></a></li>
<li>The Siren Swift library inspired the Java library.</li>
</ul></li>
<li><strong>React Native (iOS)</strong>
<ul>
<li><a href="https://github.com/GantMan/react-native-siren"><strong>Gant Laborde&rsquo;s Siren library</strong></a></li>
<li>The Siren Swift library inspired the React Native library.</li>
</ul></li>
</ul>
<a href='#created-and-maintained-by' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='created-and-maintained-by'>Created and maintained by</h2>
<p><a href="http://www.sabintsev.com/">Arthur Ariel Sabintsev</a> &amp; <a href="http://twitter.com/getaaron">Aaron Brager</a></p>
+1 -1
View File
File diff suppressed because one or more lines are too long
+72 -72
View File
@@ -2,253 +2,253 @@
"warnings": [
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 82,
"symbol": "SirenLanguageType.Arabic",
"line": 514,
"symbol": "Siren.LanguageType.Arabic",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 83,
"symbol": "SirenLanguageType.Armenian",
"line": 515,
"symbol": "Siren.LanguageType.Armenian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 84,
"symbol": "SirenLanguageType.Basque",
"line": 516,
"symbol": "Siren.LanguageType.Basque",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 85,
"symbol": "SirenLanguageType.ChineseSimplified",
"line": 517,
"symbol": "Siren.LanguageType.ChineseSimplified",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 86,
"symbol": "SirenLanguageType.ChineseTraditional",
"line": 518,
"symbol": "Siren.LanguageType.ChineseTraditional",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 87,
"symbol": "SirenLanguageType.Croatian",
"line": 519,
"symbol": "Siren.LanguageType.Croatian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 88,
"symbol": "SirenLanguageType.Danish",
"line": 520,
"symbol": "Siren.LanguageType.Danish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 89,
"symbol": "SirenLanguageType.Dutch",
"line": 521,
"symbol": "Siren.LanguageType.Dutch",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 90,
"symbol": "SirenLanguageType.English",
"line": 522,
"symbol": "Siren.LanguageType.English",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 91,
"symbol": "SirenLanguageType.Estonian",
"line": 523,
"symbol": "Siren.LanguageType.Estonian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 92,
"symbol": "SirenLanguageType.Finnish",
"line": 524,
"symbol": "Siren.LanguageType.Finnish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 93,
"symbol": "SirenLanguageType.French",
"line": 525,
"symbol": "Siren.LanguageType.French",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 94,
"symbol": "SirenLanguageType.German",
"line": 526,
"symbol": "Siren.LanguageType.German",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 95,
"symbol": "SirenLanguageType.Greek",
"line": 527,
"symbol": "Siren.LanguageType.Greek",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 96,
"symbol": "SirenLanguageType.Hebrew",
"line": 528,
"symbol": "Siren.LanguageType.Hebrew",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 97,
"symbol": "SirenLanguageType.Hungarian",
"line": 529,
"symbol": "Siren.LanguageType.Hungarian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 98,
"symbol": "SirenLanguageType.Indonesian",
"line": 530,
"symbol": "Siren.LanguageType.Indonesian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 99,
"symbol": "SirenLanguageType.Italian",
"line": 531,
"symbol": "Siren.LanguageType.Italian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 100,
"symbol": "SirenLanguageType.Japanese",
"line": 532,
"symbol": "Siren.LanguageType.Japanese",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 101,
"symbol": "SirenLanguageType.Korean",
"line": 533,
"symbol": "Siren.LanguageType.Korean",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 102,
"symbol": "SirenLanguageType.Latvian",
"line": 534,
"symbol": "Siren.LanguageType.Latvian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 103,
"symbol": "SirenLanguageType.Lithuanian",
"line": 535,
"symbol": "Siren.LanguageType.Lithuanian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 104,
"symbol": "SirenLanguageType.Malay",
"line": 536,
"symbol": "Siren.LanguageType.Malay",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 105,
"symbol": "SirenLanguageType.Norwegian",
"line": 537,
"symbol": "Siren.LanguageType.Norwegian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 106,
"symbol": "SirenLanguageType.Polish",
"line": 538,
"symbol": "Siren.LanguageType.Polish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 107,
"symbol": "SirenLanguageType.PortugueseBrazil",
"line": 539,
"symbol": "Siren.LanguageType.PortugueseBrazil",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 108,
"symbol": "SirenLanguageType.PortuguesePortugal",
"line": 540,
"symbol": "Siren.LanguageType.PortuguesePortugal",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 109,
"symbol": "SirenLanguageType.Russian",
"line": 541,
"symbol": "Siren.LanguageType.Russian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 110,
"symbol": "SirenLanguageType.SerbianCyrillic",
"line": 542,
"symbol": "Siren.LanguageType.SerbianCyrillic",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 111,
"symbol": "SirenLanguageType.SerbianLatin",
"line": 543,
"symbol": "Siren.LanguageType.SerbianLatin",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 112,
"symbol": "SirenLanguageType.Slovenian",
"line": 544,
"symbol": "Siren.LanguageType.Slovenian",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 113,
"symbol": "SirenLanguageType.Spanish",
"line": 545,
"symbol": "Siren.LanguageType.Spanish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 114,
"symbol": "SirenLanguageType.Swedish",
"line": 546,
"symbol": "Siren.LanguageType.Swedish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 115,
"symbol": "SirenLanguageType.Thai",
"line": 547,
"symbol": "Siren.LanguageType.Thai",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 116,
"symbol": "SirenLanguageType.Turkish",
"line": 548,
"symbol": "Siren.LanguageType.Turkish",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
},
{
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
"line": 117,
"symbol": "SirenLanguageType.Vietnamese",
"line": 549,
"symbol": "Siren.LanguageType.Vietnamese",
"symbol_kind": "source.lang.swift.decl.enumelement",
"warning": "undocumented"
}