Compare commits
35 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 42c5ab103d | |||
| a82d13d1a2 | |||
| 77cda5f933 | |||
| a5bd175373 | |||
| a95766201b | |||
| 6a7901f443 | |||
| 97b23f2804 | |||
| e475b18892 | |||
| c41f146a2d | |||
| 12ec30958c | |||
| cdb05f36a1 | |||
| 8a85468354 | |||
| 54e91577a7 | |||
| 171250c580 | |||
| 1b07f76f59 | |||
| b7819acbd5 | |||
| 2c10d82f7f | |||
| d7514471ba | |||
| b918235b4e | |||
| 6d1e626036 | |||
| e235f46b3b | |||
| 17f9952d8b | |||
| 5abf8ede8d | |||
| 8caddf0f8c | |||
| f6219ccb90 | |||
| 21e5f579e2 | |||
| 7c7791c17a | |||
| b03b7d12bf | |||
| 01e439d523 | |||
| 1701df1c72 | |||
| 6d5070cdb4 | |||
| 9460160937 | |||
| afeadfddfa | |||
| d234e8c472 | |||
| ca33c8f2c8 |
@@ -1 +1 @@
|
||||
3.0
|
||||
4.0
|
||||
|
||||
@@ -5,6 +5,7 @@ included:
|
||||
|
||||
disabled_rules:
|
||||
- cyclomatic_complexity
|
||||
- nesting
|
||||
- unused_optional_binding
|
||||
- variable_name
|
||||
|
||||
|
||||
@@ -31,19 +31,24 @@
|
||||
- [Vladislav Jevremović](https://github.com/VladislavJevremovic) for [Pull Request #98](https://github.com/ArtSabintsev/Siren/pull/98)
|
||||
- [Stefan Kieleithner](https://github.com/steviki) for [Pull Request #99](https://github.com/ArtSabintsev/Siren/pull/99)
|
||||
- [Konstantinos N.](https://github.com/kwstasna) for [Pull Request #101](https://github.com/ArtSabintsev/Siren/pull/101)
|
||||
- [Christoph Mantler](https://github.com/ChrisixFlash) for [Pull Request #103](https://github.com/ArtSabintsev/Siren/pull/103)
|
||||
- [Christoph Mantler](https://github.com/ChrisixFlash) for [Pull Request #106](https://github.com/ArtSabintsev/Siren/pull/106)
|
||||
- [Christoph Mantler](https://github.com/ChrisixFlash) for [Pull Request #103](https://github.com/ArtSabintsev/Siren/pull/103) and [Pull Request #106](https://github.com/ArtSabintsev/Siren/pull/106)
|
||||
- [xedla](https://github.com/xedla) for [Pull Request #107](https://github.com/ArtSabintsev/Siren/pull/107)
|
||||
- [Daniel Hu](https://github.com/zongmumask) for [Pull Request #116](https://github.com/ArtSabintsev/Siren/pull/116)
|
||||
- [Jakob Krigovsky](https://github.com/sonicdoe) for [Pull Request #118](https://github.com/ArtSabintsev/Siren/pull/118)
|
||||
- [germ4n](https://github.com/glm4) for [Pull Request #122](https://github.com/ArtSabintsev/Siren/pull/122)
|
||||
- [Txai Wieser](https://github.com/txaiwieser) for [Pull Request #139](https://github.com/ArtSabintsev/Siren/pull/107)
|
||||
- [Txai Wieser](https://github.com/txaiwieser) for [Pull Request #140](https://github.com/ArtSabintsev/Siren/pull/107)
|
||||
- [Txai Wieser](https://github.com/txaiwieser) for [Pull Request #139](https://github.com/ArtSabintsev/Siren/pull/139) and [Pull Request #140](https://github.com/ArtSabintsev/Siren/pull/140)
|
||||
- [premyslvlcek](https://github.com/premyslvlcek) for [Pull Request #143](https://github.com/ArtSabintsev/Siren/pull/143)
|
||||
- [Seyed Mojtaba Hosseini Zeidabadi](https://github.com/MojtabaHs) for [Pull Request #144](https://github.com/ArtSabintsev/Siren/pull/143)
|
||||
- [Chanchal Raj](https://github.com/RajChanchal) for [Pull Request #171 *Harpy)](https://github.com/ArtSabintsev/harpy/pull/171)
|
||||
- [Ryoh Tsukahara](https://github.com/nixnoughtnothing) for [Pull Request #150](https://github.com/ArtSabintsev/Siren/pull/150)
|
||||
- [Ryoh Tsukahara](https://github.com/nixnoughtnothing) for [Pull Request #159](https://github.com/ArtSabintsev/Siren/pull/159)
|
||||
- [Chanchal Raj](https://github.com/RajChanchal) for [Pull Request #171 (Harpy)](https://github.com/ArtSabintsev/harpy/pull/171)
|
||||
- [Ryoh Tsukahara](https://github.com/nixnoughtnothing) for [Pull Request #150](https://github.com/ArtSabintsev/Siren/pull/150) and [Pull Request #159](https://github.com/ArtSabintsev/Siren/pull/159)
|
||||
- [Jason Wade](https://github.com/iJasonWade) for [Pull Request #162](https://github.com/ArtSabintsev/Siren/pull/162)
|
||||
- [JussiSuojanen](https://github.com/JussiSuojanen) for [Pull Request #171](https://github.com/ArtSabintsev/Siren/pull/171)
|
||||
- [Dmytro Cheverda](https://github.com/dimacheverda) for [Pull Request #175](https://github.com/ArtSabintsev/Siren/pull/175)
|
||||
- [Vladislav Jevremovic](https://github.com/VladislavJevremovic) for [Pull Request #176](https://github.com/ArtSabintsev/Siren/pull/176)
|
||||
- [NSemakov](https://github.com/NSemakov) for [Pull Request #179](https://github.com/ArtSabintsev/Siren/pull/179)
|
||||
- [Attia Mo](https://github.com/attiamo) for [Pull Request #182](https://github.com/ArtSabintsev/Siren/pull/182)
|
||||
- [wbison](https://github.com/wbison) for [Pull Request #185 (Harpy)](https://github.com/ArtSabintsev/Harpy/pull/185)
|
||||
|
||||
|
||||
### Harpy Project Contributors
|
||||
This repo is a Swift language port of [Harpy](http://github.com/ArtSabintsev/Harpy). We couldn't have built this port without acknowledging the following developers who were instrumental in getting Harpy to v3.2.1, the version of Harpy that Siren was based on.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
### Notify users when a new version of your app is available and prompt them to upgrade.
|
||||
|
||||

|
||||
|
||||
[](https://dashboard.buddybuild.com/apps/58c4d0d85601d40100c5c51d/build/latest?branch=master) [](https://cocoapods.org/pods/Siren) [](https://github.com/Carthage/Carthage) [](https://swift.org/package-manager/) [](https://cocoapods.org/pods/Siren) [](https://cocoapods.org/pods/Siren)
|
||||
---
|
||||
|
||||
@@ -58,15 +60,27 @@ If a new version is available, an alert can be presented to the user informing t
|
||||
|
||||
## Installation Instructions
|
||||
|
||||
| Swift Version | Branch Name | Will Continue to Receive Updates?
|
||||
| ------------- | ------------- | -------------
|
||||
| 4.0 | master | **Yes**
|
||||
| 3.2 | swift3.2 | No
|
||||
| 3.1 | swift3.1 | No
|
||||
| 2.3 | swift2.3 | No
|
||||
|
||||
### CocoaPods
|
||||
For Swift 3 support:
|
||||
For Swift 4 support:
|
||||
```ruby
|
||||
pod 'Siren'
|
||||
```
|
||||
|
||||
For Swift 4 support:
|
||||
For Swift 3.2 support:
|
||||
```ruby
|
||||
pod 'Siren', :git => 'https://github.com/ArtSabintsev/Siren.git', :branch => 'swift4'
|
||||
pod 'Siren', :git => 'https://github.com/ArtSabintsev/Siren.git', :branch => 'swift3.2'
|
||||
```
|
||||
|
||||
For Swift 3.1 support:
|
||||
```ruby
|
||||
pod 'Siren', :git => 'https://github.com/ArtSabintsev/Siren.git', :branch => 'swift3.1'
|
||||
```
|
||||
|
||||
For Swift 2.3 support:
|
||||
@@ -75,15 +89,21 @@ pod 'Siren', :git => 'https://github.com/ArtSabintsev/Siren.git', :branch => 'sw
|
||||
```
|
||||
|
||||
### Carthage
|
||||
For Swift 3 support:
|
||||
|
||||
For Swift 4 support:
|
||||
```swift
|
||||
github "ArtSabintsev/Siren"
|
||||
```
|
||||
|
||||
For Swift 4 support:
|
||||
For Swift 3.2 support:
|
||||
|
||||
```swift
|
||||
github "ArtSabintsev/Siren", "swift4"
|
||||
github "ArtSabintsev/Siren", "swift3.2"
|
||||
```
|
||||
|
||||
For Swift 3.1 support:
|
||||
|
||||
```swift
|
||||
github "ArtSabintsev/Siren", "swift3.1"
|
||||
```
|
||||
|
||||
For Swift 2.3 support:
|
||||
@@ -94,7 +114,7 @@ github "ArtSabintsev/Siren", "swift2.3"
|
||||
|
||||
### Swift Package Manager
|
||||
```swift
|
||||
.Package(url: "https://github.com/ArtSabintsev/Siren.git", majorVersion: 2)
|
||||
.Package(url: "https://github.com/ArtSabintsev/Siren.git", majorVersion: 3)
|
||||
```
|
||||
|
||||
## Example Code
|
||||
@@ -113,6 +133,13 @@ func application(application: UIApplication, didFinishLaunchingWithOptions launc
|
||||
// Optional: Defaults to .option
|
||||
siren.alertType = <#Siren.AlertType_Enum_Value#>
|
||||
|
||||
// Optional: Change the various UIAlertController and UIAlertAction messaging. One or more values can be changes. If only a subset of values are changed, the defaults with which Siren comes with will be used.
|
||||
siren.alertMessaging = SirenAlertMessaging(updateTitle: "New Fancy Title",
|
||||
updateMessage: "New message goes here!",
|
||||
updateButtonMessage: "Update Now, Plz!?",
|
||||
nextTimeButtonMessage: "OK, next time it is!",
|
||||
skipVersionButtonMessage: "Please don't push skip, please don't!")
|
||||
|
||||
// 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.
|
||||
@@ -186,11 +213,11 @@ Six delegate methods allow you to handle or track the user's behavior. Each meth
|
||||
|
||||
``` swift
|
||||
public protocol SirenDelegate: class {
|
||||
func sirenDidShowUpdateDialog(alertType: Siren.AlertType) // 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
|
||||
func sirenDidFailVersionCheck(error: NSError) // Siren failed to perform version check (may return system-level error)
|
||||
func sirenDidFailVersionCheck(error: Error) // Siren failed to perform version check (may return system-level error)
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String) // Siren performed version check and did not display alert
|
||||
}
|
||||
```
|
||||
@@ -231,6 +258,7 @@ Siren is localized for
|
||||
- Swedish
|
||||
- Thai
|
||||
- Turkish
|
||||
- Ukrainian
|
||||
- Urdu
|
||||
- Vietnamese
|
||||
|
||||
@@ -255,10 +283,14 @@ 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.
|
||||
|
||||
## Phased Releases
|
||||
In 2017, Apple announced the [ability to rollout app updates gradually (a.k.a. Phased Releases)](https://itunespartner.apple.com/en/apps/faq/Managing%20Your%20Apps_Submission%20Process). Siren will continue to work as it has in the past, presenting an update modal to _all_ users. If you opt-in to a phased rollout for a specific version, you will need to remotely disable Siren until the rollout is done.
|
||||
In 2017, Apple announced the [ability to rollout app updates gradually (a.k.a. Phased Releases)](https://itunespartner.apple.com/en/apps/faq/Managing%20Your%20Apps_Submission%20Process). Siren will continue to work as it has in the past, presenting an update modal to _all_ users. If you opt-in to a phased rollout for a specific version, you have a few choices:
|
||||
|
||||
- You can leave Siren configured as normal. Phased rollout will continue to auto-update apps. Since all users can still manually update your app directly, Siren will ignore the phase rollout and will prompt users to update.
|
||||
- You can set `showAlertAfterCurrentVersionHasBeenReleasedForDays` to `7`, and Siren will not prompt any users until the latest version is 7 days old, after phased rollout is complete.
|
||||
- You can remotely disable Siren until the rollout is done using your own API / backend logic.
|
||||
|
||||
## Words of Caution
|
||||
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`.
|
||||
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 released, 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,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "Siren"
|
||||
s.version = "2.0.8"
|
||||
s.version = "3.2.0"
|
||||
s.summary = "Notify users that a new version of your iOS app is available, and prompt them with the App Store link."
|
||||
|
||||
s.description = <<-DESC
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
55EC36601E6BB99B00726F13 /* Siren.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 55EC365E1E6BB99B00726F13 /* Siren.bundle */; };
|
||||
55EC36611E6BB99B00726F13 /* Siren.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55EC365F1E6BB99B00726F13 /* Siren.swift */; };
|
||||
8E1635A91E6A0B9C0060CE27 /* SirenTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EE6C74C1E6A0AE100DBE454 /* SirenTests.swift */; };
|
||||
8E2499BF1FD83DDF00F384BA /* SirenAlertMessaging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E2499BE1FD83DDF00F384BA /* SirenAlertMessaging.swift */; };
|
||||
8E43D6231E8223EE00ECFFC8 /* SirenDateExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E43D6221E8223EE00ECFFC8 /* SirenDateExtension.swift */; };
|
||||
8E528A301E989A7A00B643C4 /* SirenDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E528A2F1E989A7A00B643C4 /* SirenDelegate.swift */; };
|
||||
8E528A321E989E0A00B643C4 /* SirenTestHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E528A311E989E0A00B643C4 /* SirenTestHelper.swift */; };
|
||||
@@ -20,11 +21,13 @@
|
||||
8E9C238B1E7CDB42000ED3DA /* SirenBundleExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C238A1E7CDB42000ED3DA /* SirenBundleExtension.swift */; };
|
||||
8E9C238D1E7CDD31000ED3DA /* SirenUIAlertControllerExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C238C1E7CDD31000ED3DA /* SirenUIAlertControllerExtension.swift */; };
|
||||
8E9C238F1E7CDDE7000ED3DA /* SirenViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C238E1E7CDDE7000ED3DA /* SirenViewController.swift */; };
|
||||
8EBDF8251E6A0C41006C87B4 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8EBDF8211E6A0C41006C87B4 /* LaunchScreen.xib */; };
|
||||
8EBDF8261E6A0C41006C87B4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8EBDF8231E6A0C41006C87B4 /* Main.storyboard */; };
|
||||
8EE6C7431E6A0AA500DBE454 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EE6C7411E6A0AA500DBE454 /* AppDelegate.swift */; };
|
||||
8EE6C7441E6A0AA500DBE454 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EE6C7421E6A0AA500DBE454 /* ViewController.swift */; };
|
||||
8EE6C7481E6A0AB800DBE454 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8EE6C7461E6A0AB800DBE454 /* Images.xcassets */; };
|
||||
8EACA9701F37F327003134CA /* SirenLookupModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EACA96F1F37F327003134CA /* SirenLookupModel.swift */; };
|
||||
8EACA9711F380294003134CA /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8EACA9671F37F2D3003134CA /* LaunchScreen.xib */; };
|
||||
8EACA9721F380294003134CA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8EACA9691F37F2D3003134CA /* Main.storyboard */; };
|
||||
8EACA9731F380294003134CA /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8EACA96B1F37F2D3003134CA /* Images.xcassets */; };
|
||||
8EACA9741F38029B003134CA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EACA9661F37F2D3003134CA /* AppDelegate.swift */; };
|
||||
8EACA9751F38029B003134CA /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EACA96D1F37F2D3003134CA /* ViewController.swift */; };
|
||||
8EACA9771F38113E003134CA /* SirenError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EACA9761F38113D003134CA /* SirenError.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
@@ -64,6 +67,7 @@
|
||||
55EC364A1E6BB98A00726F13 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
55EC365E1E6BB99B00726F13 /* Siren.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Siren.bundle; path = ../../Sources/Siren.bundle; sourceTree = "<group>"; };
|
||||
55EC365F1E6BB99B00726F13 /* Siren.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Siren.swift; path = ../../Sources/Siren.swift; sourceTree = "<group>"; };
|
||||
8E2499BE1FD83DDF00F384BA /* SirenAlertMessaging.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SirenAlertMessaging.swift; path = ../../Sources/SirenAlertMessaging.swift; sourceTree = "<group>"; };
|
||||
8E3A6C041D07CB6F00A8B7CF /* SirenExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SirenExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8E43D6221E8223EE00ECFFC8 /* SirenDateExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SirenDateExtension.swift; path = ../../Sources/SirenDateExtension.swift; sourceTree = "<group>"; };
|
||||
8E528A2F1E989A7A00B643C4 /* SirenDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SirenDelegate.swift; path = ../../Sources/SirenDelegate.swift; sourceTree = "<group>"; };
|
||||
@@ -72,13 +76,15 @@
|
||||
8E9C238A1E7CDB42000ED3DA /* SirenBundleExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SirenBundleExtension.swift; path = ../../Sources/SirenBundleExtension.swift; sourceTree = "<group>"; };
|
||||
8E9C238C1E7CDD31000ED3DA /* SirenUIAlertControllerExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SirenUIAlertControllerExtension.swift; path = ../../Sources/SirenUIAlertControllerExtension.swift; sourceTree = "<group>"; };
|
||||
8E9C238E1E7CDDE7000ED3DA /* SirenViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SirenViewController.swift; path = ../../Sources/SirenViewController.swift; sourceTree = "<group>"; };
|
||||
8EBDF8221E6A0C41006C87B4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = SirenExample/Base.lproj/LaunchScreen.xib; sourceTree = SOURCE_ROOT; };
|
||||
8EBDF8241E6A0C41006C87B4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = SirenExample/Base.lproj/Main.storyboard; sourceTree = SOURCE_ROOT; };
|
||||
8EACA9661F37F2D3003134CA /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
8EACA9681F37F2D3003134CA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
|
||||
8EACA96A1F37F2D3003134CA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
||||
8EACA96B1F37F2D3003134CA /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
|
||||
8EACA96C1F37F2D3003134CA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
8EACA96D1F37F2D3003134CA /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
|
||||
8EACA96F1F37F327003134CA /* SirenLookupModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SirenLookupModel.swift; path = ../../Sources/SirenLookupModel.swift; sourceTree = "<group>"; };
|
||||
8EACA9761F38113D003134CA /* SirenError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SirenError.swift; path = ../../Sources/SirenError.swift; sourceTree = "<group>"; };
|
||||
8EC391811A58B465001C121E /* SirenExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SirenExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8EE6C7411E6A0AA500DBE454 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = SirenExample/AppDelegate.swift; sourceTree = SOURCE_ROOT; };
|
||||
8EE6C7421E6A0AA500DBE454 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ViewController.swift; path = SirenExample/ViewController.swift; sourceTree = SOURCE_ROOT; };
|
||||
8EE6C7461E6A0AB800DBE454 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = SirenExample/Images.xcassets; sourceTree = SOURCE_ROOT; };
|
||||
8EE6C7471E6A0AB800DBE454 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SirenExample/Info.plist; sourceTree = SOURCE_ROOT; };
|
||||
8EE6C74B1E6A0AE100DBE454 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
8EE6C74C1E6A0AE100DBE454 /* SirenTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SirenTests.swift; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
@@ -114,10 +120,13 @@
|
||||
children = (
|
||||
55EC365E1E6BB99B00726F13 /* Siren.bundle */,
|
||||
55EC365F1E6BB99B00726F13 /* Siren.swift */,
|
||||
8E528A2F1E989A7A00B643C4 /* SirenDelegate.swift */,
|
||||
8E2499BE1FD83DDF00F384BA /* SirenAlertMessaging.swift */,
|
||||
8E9C238A1E7CDB42000ED3DA /* SirenBundleExtension.swift */,
|
||||
8E43D6221E8223EE00ECFFC8 /* SirenDateExtension.swift */,
|
||||
8E528A2F1E989A7A00B643C4 /* SirenDelegate.swift */,
|
||||
8EACA9761F38113D003134CA /* SirenError.swift */,
|
||||
8E5D15B01F3632D7001C0960 /* SirenLog.swift */,
|
||||
8EACA96F1F37F327003134CA /* SirenLookupModel.swift */,
|
||||
8E528A311E989E0A00B643C4 /* SirenTestHelper.swift */,
|
||||
8E9C238C1E7CDD31000ED3DA /* SirenUIAlertControllerExtension.swift */,
|
||||
8E9C238E1E7CDDE7000ED3DA /* SirenViewController.swift */,
|
||||
@@ -127,34 +136,33 @@
|
||||
path = Siren;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8E1005DE1A5DD02300509B14 /* SirenExample */ = {
|
||||
8EACA9651F37F2D3003134CA /* SirenExample */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8EE6C7411E6A0AA500DBE454 /* AppDelegate.swift */,
|
||||
8E528A331E98AED300B643C4 /* Supporting Files */,
|
||||
8EACA9661F37F2D3003134CA /* AppDelegate.swift */,
|
||||
8EACA96E1F37F2DD003134CA /* Supporting Files */,
|
||||
);
|
||||
name = SirenExample;
|
||||
path = "Sample App";
|
||||
path = SirenExample;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8E528A331E98AED300B643C4 /* Supporting Files */ = {
|
||||
8EACA96E1F37F2DD003134CA /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8EE6C7421E6A0AA500DBE454 /* ViewController.swift */,
|
||||
8EBDF8211E6A0C41006C87B4 /* LaunchScreen.xib */,
|
||||
8EBDF8231E6A0C41006C87B4 /* Main.storyboard */,
|
||||
8EE6C7461E6A0AB800DBE454 /* Images.xcassets */,
|
||||
8EE6C7471E6A0AB800DBE454 /* Info.plist */,
|
||||
8EACA9671F37F2D3003134CA /* LaunchScreen.xib */,
|
||||
8EACA9691F37F2D3003134CA /* Main.storyboard */,
|
||||
8EACA96B1F37F2D3003134CA /* Images.xcassets */,
|
||||
8EACA96C1F37F2D3003134CA /* Info.plist */,
|
||||
8EACA96D1F37F2D3003134CA /* ViewController.swift */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
path = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8EC391781A58B465001C121E = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8E1005DE1A5DD02300509B14 /* SirenExample */,
|
||||
8EE6C74A1E6A0AE100DBE454 /* SirenExampleTests */,
|
||||
55EC36481E6BB98A00726F13 /* Siren */,
|
||||
8EACA9651F37F2D3003134CA /* SirenExample */,
|
||||
8EE6C74A1E6A0AE100DBE454 /* SirenExampleTests */,
|
||||
8EC391821A58B465001C121E /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
@@ -256,24 +264,24 @@
|
||||
attributes = {
|
||||
LastSwiftMigration = 0700;
|
||||
LastSwiftUpdateCheck = 0730;
|
||||
LastUpgradeCheck = 0820;
|
||||
LastUpgradeCheck = 0900;
|
||||
ORGANIZATIONNAME = "Sabintsev iOS Projects";
|
||||
TargetAttributes = {
|
||||
55EC36461E6BB98A00726F13 = {
|
||||
CreatedOnToolsVersion = 8.2.1;
|
||||
LastSwiftMigration = 0820;
|
||||
LastSwiftMigration = 0900;
|
||||
ProvisioningStyle = Automatic;
|
||||
};
|
||||
8E3A6C031D07CB6F00A8B7CF = {
|
||||
CreatedOnToolsVersion = 7.3.1;
|
||||
LastSwiftMigration = 0800;
|
||||
LastSwiftMigration = 0900;
|
||||
TestTargetID = 8EC391801A58B465001C121E;
|
||||
};
|
||||
8EC391801A58B465001C121E = {
|
||||
CreatedOnToolsVersion = 6.1.1;
|
||||
DevelopmentTeam = HT94948NDD;
|
||||
DevelopmentTeamName = "Arthur Sabintsev";
|
||||
LastSwiftMigration = 0800;
|
||||
LastSwiftMigration = 0900;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -317,9 +325,9 @@
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8EBDF8261E6A0C41006C87B4 /* Main.storyboard in Resources */,
|
||||
8EBDF8251E6A0C41006C87B4 /* LaunchScreen.xib in Resources */,
|
||||
8EE6C7481E6A0AB800DBE454 /* Images.xcassets in Resources */,
|
||||
8EACA9711F380294003134CA /* LaunchScreen.xib in Resources */,
|
||||
8EACA9721F380294003134CA /* Main.storyboard in Resources */,
|
||||
8EACA9731F380294003134CA /* Images.xcassets in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -349,11 +357,14 @@
|
||||
files = (
|
||||
8E528A321E989E0A00B643C4 /* SirenTestHelper.swift in Sources */,
|
||||
8E9C238F1E7CDDE7000ED3DA /* SirenViewController.swift in Sources */,
|
||||
8EACA9771F38113E003134CA /* SirenError.swift in Sources */,
|
||||
55EC36611E6BB99B00726F13 /* Siren.swift in Sources */,
|
||||
8E43D6231E8223EE00ECFFC8 /* SirenDateExtension.swift in Sources */,
|
||||
8E5D15B11F3632D7001C0960 /* SirenLog.swift in Sources */,
|
||||
8E9C238B1E7CDB42000ED3DA /* SirenBundleExtension.swift in Sources */,
|
||||
8E528A301E989A7A00B643C4 /* SirenDelegate.swift in Sources */,
|
||||
8E2499BF1FD83DDF00F384BA /* SirenAlertMessaging.swift in Sources */,
|
||||
8EACA9701F37F327003134CA /* SirenLookupModel.swift in Sources */,
|
||||
8E9C238D1E7CDD31000ED3DA /* SirenUIAlertControllerExtension.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
@@ -370,8 +381,8 @@
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8EE6C7431E6A0AA500DBE454 /* AppDelegate.swift in Sources */,
|
||||
8EE6C7441E6A0AA500DBE454 /* ViewController.swift in Sources */,
|
||||
8EACA9741F38029B003134CA /* AppDelegate.swift in Sources */,
|
||||
8EACA9751F38029B003134CA /* ViewController.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -391,18 +402,18 @@
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
8EBDF8211E6A0C41006C87B4 /* LaunchScreen.xib */ = {
|
||||
8EACA9671F37F2D3003134CA /* LaunchScreen.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
8EBDF8221E6A0C41006C87B4 /* Base */,
|
||||
8EACA9681F37F2D3003134CA /* Base */,
|
||||
);
|
||||
name = LaunchScreen.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8EBDF8231E6A0C41006C87B4 /* Main.storyboard */ = {
|
||||
8EACA9691F37F2D3003134CA /* Main.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
8EBDF8241E6A0C41006C87B4 /* Base */,
|
||||
8EACA96A1F37F2D3003134CA /* Base */,
|
||||
);
|
||||
name = Main.storyboard;
|
||||
sourceTree = "<group>";
|
||||
@@ -427,12 +438,13 @@
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.sabintsev.Siren;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.apple.itunesconnect.mobile.tests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 3.0;
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
||||
SWIFT_VERSION = 4.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
@@ -457,11 +469,12 @@
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.sabintsev.Siren;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.apple.itunesconnect.mobile.tests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
SWIFT_VERSION = 3.0;
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
||||
SWIFT_VERSION = 4.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
@@ -471,6 +484,7 @@
|
||||
8E3A6C0B1D07CB6F00A8B7CF /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
@@ -480,7 +494,8 @@
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.sabintsev.SirenTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 3.0;
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
||||
SWIFT_VERSION = 4.0;
|
||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SirenExample.app/SirenExample";
|
||||
};
|
||||
name = Debug;
|
||||
@@ -488,6 +503,7 @@
|
||||
8E3A6C0C1D07CB6F00A8B7CF /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
@@ -499,7 +515,8 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.sabintsev.SirenTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
SWIFT_VERSION = 3.0;
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
||||
SWIFT_VERSION = 4.0;
|
||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SirenExample.app/SirenExample";
|
||||
};
|
||||
name = Release;
|
||||
@@ -512,14 +529,20 @@
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
@@ -558,14 +581,20 @@
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
@@ -593,12 +622,13 @@
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
INFOPLIST_FILE = "$(SRCROOT)/SirenExample/Info.plist";
|
||||
INFOPLIST_FILE = "$(SRCROOT)/SirenExample/Supporting Files/Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.apple.itunesconnect.mobile;
|
||||
PRODUCT_NAME = SirenExample;
|
||||
SWIFT_VERSION = 3.0;
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
||||
SWIFT_VERSION = 4.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -607,13 +637,14 @@
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
INFOPLIST_FILE = "$(SRCROOT)/SirenExample/Info.plist";
|
||||
INFOPLIST_FILE = "$(SRCROOT)/SirenExample/Supporting Files/Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.apple.itunesconnect.mobile;
|
||||
PRODUCT_NAME = SirenExample;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
SWIFT_VERSION = 3.0;
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
||||
SWIFT_VERSION = 4.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0820"
|
||||
LastUpgradeVersion = "0900"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0820"
|
||||
LastUpgradeVersion = "0900"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
@@ -34,6 +34,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
// Optional - Change the name of your app. Useful if you have a long app name and want to display a shortened version in the update dialog (e.g., the UIAlertController).
|
||||
// siren.appName = "Test App Name"
|
||||
|
||||
// Optional - Change the various UIAlertController and UIAlertAction messaging. One or more values can be changes. If only a subset of values are changed, the defaults with which Siren comes with will be used.
|
||||
// siren.alertMessaging = SirenAlertMessaging(updateTitle: "New Fancy Title",
|
||||
// updateMessage: "New message goes here!",
|
||||
// updateButtonMessage: "Update Now, Plz!?",
|
||||
// nextTimeButtonMessage: "OK, next time it is!",
|
||||
// skipVersionButtonMessage: "Please don't push skip, please don't!")
|
||||
|
||||
// Optional - Defaults to .Option
|
||||
// siren.alertType = .option // or .force, .skip, .none
|
||||
|
||||
@@ -44,9 +51,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
siren.revisionUpdateAlertType = .option
|
||||
|
||||
// Optional - Sets all messages to appear in Russian. Siren supports many other languages, not just English and Russian.
|
||||
// siren.forceLanguageLocalization = .Russian
|
||||
// siren.forceLanguageLocalization = .russian
|
||||
|
||||
// Optional - Set this variable if your app is not available in the U.S. App Store. List of codes: https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Appendices/AppStoreTerritories.html
|
||||
// Optional - Set this variable if your app is not available in the U.S. App Store. List of codes: https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/AppStoreTerritories.html
|
||||
// siren.countryCode = ""
|
||||
|
||||
// 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.
|
||||
@@ -87,7 +94,7 @@ extension AppDelegate: SirenDelegate
|
||||
print(#function)
|
||||
}
|
||||
|
||||
func sirenDidFailVersionCheck(error: NSError) {
|
||||
func sirenDidFailVersionCheck(error: Error) {
|
||||
print(#function, error)
|
||||
}
|
||||
|
||||
@@ -96,7 +103,7 @@ extension AppDelegate: SirenDelegate
|
||||
}
|
||||
|
||||
// This delegate method is only hit when alertType is initialized to .none
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String) {
|
||||
print(#function, "\(message)")
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String, updateType: UpdateType) {
|
||||
print(#function, "\(message).\nRelease type: \(updateType.rawValue.capitalized)")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,683 +139,700 @@ extension SirenTests {
|
||||
extension SirenTests {
|
||||
|
||||
func testArabicLocalization() {
|
||||
let language: Siren.LanguageType = .Arabic
|
||||
let language: Siren.LanguageType = .arabic
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "التجديد متوفر")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "التحديث متوفر")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "المرة التالية")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "المرة التالية")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "تخطى عن هذه النسخة")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "تخطى عن هذه النسخة")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "تجديد")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "تحديث")
|
||||
}
|
||||
|
||||
func testArmenianLocalization() {
|
||||
let language: Siren.LanguageType = .Armenian
|
||||
let language: Siren.LanguageType = .armenian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Թարմացումը հասանելի Է")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Թարմացումը հասանելի Է")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Հաջորդ անգամ")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Հաջորդ անգամ")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Բաց թողնել այս տարբերակը")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Բաց թողնել այս տարբերակը")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Թարմացնել")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Թարմացնել")
|
||||
}
|
||||
|
||||
func testBasqueLocalization() {
|
||||
let language: Siren.LanguageType = .Basque
|
||||
let language: Siren.LanguageType = .basque
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Eguneratzea erabilgarri")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Eguneratzea erabilgarri")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Hurrengo batean")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Hurrengo batean")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Bertsio honetatik jauzi egin")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Bertsio honetatik jauzi egin")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Eguneratu")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Eguneratu")
|
||||
}
|
||||
|
||||
func testChineseSimplifiedLocalization() {
|
||||
let language: Siren.LanguageType = .ChineseSimplified
|
||||
let language: Siren.LanguageType = .chineseSimplified
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "更新可用")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "更新可用")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "下一次")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "下一次")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "跳过此版本")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "跳过此版本")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "更新")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "更新")
|
||||
}
|
||||
|
||||
func testChineseTraditionalLocalization() {
|
||||
let language: Siren.LanguageType = .ChineseTraditional
|
||||
let language: Siren.LanguageType = .chineseTraditional
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "有更新可用")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "有更新可用")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "下次")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "下次")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "跳過此版本")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "跳過此版本")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "更新")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "更新")
|
||||
}
|
||||
|
||||
func testCroatianLocalization() {
|
||||
let language: Siren.LanguageType = .Croatian
|
||||
let language: Siren.LanguageType = .croatian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Nova ažuriranje je stigla")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Nova ažuriranje je stigla")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Sljedeći put")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Sljedeći put")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Preskoči ovu verziju")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Preskoči ovu verziju")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Ažuriraj")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Ažuriraj")
|
||||
}
|
||||
|
||||
func testCzechLocalization() {
|
||||
let language: Siren.LanguageType = .Czech
|
||||
let language: Siren.LanguageType = .czech
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Aktualizace dostupná")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Aktualizace dostupná")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Příště")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Příště")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Přeskočit tuto verzi")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Přeskočit tuto verzi")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Aktualizovat")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Aktualizovat")
|
||||
}
|
||||
|
||||
func testDanishLocalization() {
|
||||
let language: Siren.LanguageType = .Danish
|
||||
let language: Siren.LanguageType = .danish
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Tilgængelig opdatering")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Tilgængelig opdatering")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Næste gang")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Næste gang")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Spring denne version over")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Spring denne version over")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Opdater")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Opdater")
|
||||
}
|
||||
|
||||
func testDutchLocalization() {
|
||||
let language: Siren.LanguageType = .Dutch
|
||||
let language: Siren.LanguageType = .dutch
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Update Beschikbaar")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Update beschikbaar")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Volgende keer")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Volgende keer")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Sla deze versie over")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Sla deze versie over")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Updaten")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Updaten")
|
||||
}
|
||||
|
||||
func testEstonianLocalization() {
|
||||
let language: Siren.LanguageType = .Estonian
|
||||
let language: Siren.LanguageType = .estonian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Uuendus saadaval")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Uuendus saadaval")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Järgmisel korral")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Järgmisel korral")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Jäta see version vahele")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Jäta see version vahele")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Uuenda")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Uuenda")
|
||||
}
|
||||
|
||||
func testFinnishLocalization() {
|
||||
let language: Siren.LanguageType = .Finnish
|
||||
let language: Siren.LanguageType = .finnish
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Päivitys saatavilla")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Päivitys saatavilla")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Ensi kerralla")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Ensi kerralla")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Jätä tämä versio väliin")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Jätä tämä versio väliin")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Päivitys")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Päivitys")
|
||||
}
|
||||
|
||||
func testFrenchLocalization() {
|
||||
let language: Siren.LanguageType = .French
|
||||
let language: Siren.LanguageType = .french
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Mise à jour disponible")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Mise à jour disponible")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "La prochaine fois")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "La prochaine fois")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Sauter cette version")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Sauter cette version")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Mettre à jour")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Mettre à jour")
|
||||
}
|
||||
|
||||
func testGermanLocalization() {
|
||||
let language: Siren.LanguageType = .German
|
||||
let language: Siren.LanguageType = .german
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Update erhältlich")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Update erhältlich")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Später")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Später")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Diese Version überspringen")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Diese Version überspringen")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Update")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Update")
|
||||
}
|
||||
|
||||
func testGreekLocalization() {
|
||||
let language: Siren.LanguageType = .Greek
|
||||
let language: Siren.LanguageType = .greek
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Διαθέσιμη Ενημέρωση")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Διαθέσιμη Ενημέρωση")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Άλλη φορά")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Άλλη φορά")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Αγνόησε αυτήν την έκδοση")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Αγνόησε αυτήν την έκδοση")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Αναβάθμιση")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Αναβάθμιση")
|
||||
}
|
||||
|
||||
func testHebrewLocalization() {
|
||||
let language: Siren.LanguageType = .Hebrew
|
||||
let language: Siren.LanguageType = .hebrew
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "עדכון זמין")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "עדכון זמין")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "בפעם הבאה")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "בפעם הבאה")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "דלג על גרסה זו")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "דלג על גרסה זו")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "עדכן")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "עדכן")
|
||||
}
|
||||
|
||||
func testHungarianLocalization() {
|
||||
let language: Siren.LanguageType = .Hungarian
|
||||
let language: Siren.LanguageType = .hungarian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Új frissítés érhető el")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Új frissítés érhető el")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Később")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Később")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Ennél a verziónál ne figyelmeztessen")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Ennél a verziónál ne figyelmeztessen")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Frissítés")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Frissítés")
|
||||
}
|
||||
|
||||
func testIndonesianLocalization() {
|
||||
let language: Siren.LanguageType = .Indonesian
|
||||
let language: Siren.LanguageType = .indonesian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Pembaruan Tersedia")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Pembaruan Tersedia")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Lain kali")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Lain kali")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Lewati versi ini")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Lewati versi ini")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Perbarui")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Perbarui")
|
||||
}
|
||||
|
||||
func testItalianLocalization() {
|
||||
let language: Siren.LanguageType = .Italian
|
||||
let language: Siren.LanguageType = .italian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Aggiornamento disponibile")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Aggiornamento disponibile")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "La prossima volta")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "La prossima volta")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Salta questa versione")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Salta questa versione")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Aggiorna")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Aggiorna")
|
||||
}
|
||||
|
||||
func testJapaneseLocalization() {
|
||||
let language: Siren.LanguageType = .Japanese
|
||||
let language: Siren.LanguageType = .japanese
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "アップデートのお知らせ")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "アップデートのお知らせ")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "次回")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "次回")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "このバージョンをスキップ")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "このバージョンをスキップ")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "アップデート")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "アップデート")
|
||||
}
|
||||
|
||||
func testKoreanLocalization() {
|
||||
let language: Siren.LanguageType = .Korean
|
||||
let language: Siren.LanguageType = .korean
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "업데이트 가능")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "업데이트 가능")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "다음에")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "다음에")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "이 버전 건너뜀")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "이 버전 건너뜀")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "업데이트")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "업데이트")
|
||||
}
|
||||
|
||||
func testLatvianLocalization() {
|
||||
let language: Siren.LanguageType = .Latvian
|
||||
let language: Siren.LanguageType = .latvian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Atjauninājums pieejams")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Atjauninājums pieejams")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Nākamreiz")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Nākamreiz")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Izlaist šo versiju")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Izlaist šo versiju")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Atjaunināt")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Atjaunināt")
|
||||
}
|
||||
|
||||
func testLithuanianLocalization() {
|
||||
let language: Siren.LanguageType = .Lithuanian
|
||||
let language: Siren.LanguageType = .lithuanian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Atnaujinimas")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Atnaujinimas")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Kitą kartą")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Kitą kartą")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Praleisti šią versiją")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Praleisti šią versiją")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Atnaujinti")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Atnaujinti")
|
||||
}
|
||||
|
||||
func testMalayLocalization() {
|
||||
let language: Siren.LanguageType = .Malay
|
||||
let language: Siren.LanguageType = .malay
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Versi Terkini")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Versi Terkini")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Lain kali")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Lain kali")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Langkau versi ini")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Langkau versi ini")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Muat turun")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Muat turun")
|
||||
}
|
||||
|
||||
func testNorwegianLocalization() {
|
||||
let language: Siren.LanguageType = .Norwegian
|
||||
let language: Siren.LanguageType = .norwegian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Oppdatering tilgjengelig")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Oppdatering tilgjengelig")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Neste gang")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Neste gang")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Hopp over denne versjonen")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Hopp over denne versjonen")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Oppdater")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Oppdater")
|
||||
}
|
||||
|
||||
func testPersianLocalization() {
|
||||
let language: Siren.LanguageType = .Persian
|
||||
let language: Siren.LanguageType = .persian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "بروزرسانی در دسترس")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "بروزرسانی در دسترس")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "دفعه بعد")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "دفعه بعد")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "رد این نسخه")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "رد این نسخه")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "بروزرسانی")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "بروزرسانی")
|
||||
}
|
||||
|
||||
func testPersianAfghanistanLocalization() {
|
||||
let language: Siren.LanguageType = .PersianAfghanistan
|
||||
let language: Siren.LanguageType = .persianAfghanistan
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "بروزرسانی در دسترس")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "بروزرسانی در دسترس")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "دگر بار")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "دگر بار")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "رد این نسخه")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "رد این نسخه")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "بروزرسانی")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "بروزرسانی")
|
||||
}
|
||||
|
||||
func testPersianIranLocalization() {
|
||||
let language: Siren.LanguageType = .PersianIran
|
||||
let language: Siren.LanguageType = .persianIran
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "بروزرسانی در دسترس")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "بروزرسانی در دسترس")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "دفعه بعد")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "دفعه بعد")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "رد این نسخه")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "رد این نسخه")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "بروزرسانی")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "بروزرسانی")
|
||||
}
|
||||
|
||||
func testPolishLocalization() {
|
||||
let language: Siren.LanguageType = .Polish
|
||||
let language: Siren.LanguageType = .polish
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Aktualizacja dostępna")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Aktualizacja dostępna")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Następnym razem")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Następnym razem")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Pomiń wersję")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Pomiń wersję")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Zaktualizuj")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Zaktualizuj")
|
||||
}
|
||||
|
||||
func testPortugueseBrazilLocalization() {
|
||||
let language: Siren.LanguageType = .PortugueseBrazil
|
||||
let language: Siren.LanguageType = .portugueseBrazil
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Atualização disponível")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Atualização disponível")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Próxima vez")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Próxima vez")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Ignorar esta versão")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Ignorar esta versão")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Atualizar")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Atualizar")
|
||||
}
|
||||
|
||||
func testPortuguesePortugalLocalization() {
|
||||
let language: Siren.LanguageType = .PortuguesePortugal
|
||||
let language: Siren.LanguageType = .portuguesePortugal
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Nova actualização disponível")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Nova actualização disponível")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Próxima vez")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Próxima vez")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Ignorar esta versão")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Ignorar esta versão")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Actualizar")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Actualizar")
|
||||
}
|
||||
|
||||
func testRussianLocalization() {
|
||||
let language: Siren.LanguageType = .Russian
|
||||
let language: Siren.LanguageType = .russian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Доступно обновление")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Доступно обновление")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "В следующий раз")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "В следующий раз")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Пропустить эту версию")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Пропустить эту версию")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Обновить")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Обновить")
|
||||
}
|
||||
|
||||
func testSerbianCyrillicLocalization() {
|
||||
let language: Siren.LanguageType = .SerbianCyrillic
|
||||
let language: Siren.LanguageType = .serbianCyrillic
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Ажурирање доступно")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Ажурирање доступно")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Следећи пут")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Следећи пут")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Прескочи ову верзију")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Прескочи ову верзију")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Ажурирај")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Ажурирај")
|
||||
}
|
||||
|
||||
func testSerbianLatinLocalization() {
|
||||
let language: Siren.LanguageType = .SerbianLatin
|
||||
let language: Siren.LanguageType = .serbianLatin
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Ažuriranje dostupno")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Ažuriranje dostupno")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Sledeći put")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Sledeći put")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Preskoči ovu verziju")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Preskoči ovu verziju")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Ažuriraj")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Ažuriraj")
|
||||
}
|
||||
|
||||
func testSlovenianLocalization() {
|
||||
let language: Siren.LanguageType = .Slovenian
|
||||
let language: Siren.LanguageType = .slovenian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Posodobitev aplikacije")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Posodobitev aplikacije")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Naslednjič")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Naslednjič")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Ne želim")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Ne želim")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Namesti")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Namesti")
|
||||
}
|
||||
|
||||
func testSpanishLocalization() {
|
||||
let language: Siren.LanguageType = .Spanish
|
||||
let language: Siren.LanguageType = .spanish
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Actualización disponible")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Actualización disponible")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "La próxima vez")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "La próxima vez")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Saltar esta versión")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Saltar esta versión")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Actualizar")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Actualizar")
|
||||
}
|
||||
|
||||
func testSwedishLocalization() {
|
||||
let language: Siren.LanguageType = .Swedish
|
||||
let language: Siren.LanguageType = .swedish
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Tillgänglig uppdatering")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Tillgänglig uppdatering")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Nästa gång")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Nästa gång")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Hoppa över den här versionen")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Hoppa över den här versionen")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Uppdatera")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Uppdatera")
|
||||
}
|
||||
|
||||
func testThaiLocalization() {
|
||||
let language: Siren.LanguageType = .Thai
|
||||
let language: Siren.LanguageType = .thai
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "มีการอัพเดท")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "มีการอัพเดท")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "ไว้คราวหน้า")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "ไว้คราวหน้า")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "ข้ามเวอร์ชั่นนี้")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "ข้ามเวอร์ชั่นนี้")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "อัพเดท")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "อัพเดท")
|
||||
}
|
||||
|
||||
func testTurkishLocalization() {
|
||||
let language: Siren.LanguageType = .Turkish
|
||||
let language: Siren.LanguageType = .turkish
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Güncelleme Mevcut")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Güncelleme Mevcut")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Daha sonra")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Daha sonra")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Boşver")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Boşver")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Güncelle")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Güncelle")
|
||||
}
|
||||
|
||||
func testUkrainianLocalization() {
|
||||
let language: Siren.LanguageType = .ukrainian
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Доступне Оновлення")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Наступного разу")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Пропустити версію")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Оновити")
|
||||
}
|
||||
|
||||
func testUrduLocalization() {
|
||||
let language: Siren.LanguageType = .Urdu
|
||||
let language: Siren.LanguageType = .urdu
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "نیا اپڈیٹ")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "نیا اپڈیٹ")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "اگلی مرتبہ")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "اگلی مرتبہ")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "اس ورزن کو چھوڑ دیں")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "اس ورزن کو چھوڑ دیں")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "اپڈیٹ کریں")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "اپڈیٹ کریں")
|
||||
}
|
||||
|
||||
func testVietnameseLocalization() {
|
||||
let language: Siren.LanguageType = .Vietnamese
|
||||
let language: Siren.LanguageType = .vietnamese
|
||||
siren.forceLanguageLocalization = language
|
||||
|
||||
// Update Available
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update Available", forceLanguageLocalization: language), "Cập nhật mới")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update Available", forceLanguageLocalization: language), "Cập nhật mới")
|
||||
|
||||
// Next time
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Next time", forceLanguageLocalization: language), "Lần tới")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Next time", forceLanguageLocalization: language), "Lần tới")
|
||||
|
||||
// Skip this version
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Skip this version", forceLanguageLocalization: language), "Bỏ qua phiên bản này")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Skip this version", forceLanguageLocalization: language), "Bỏ qua phiên bản này")
|
||||
|
||||
// Update
|
||||
XCTAssertEqual(Bundle().testLocalizedString(stringKey: "Update", forceLanguageLocalization: language), "Cập nhật")
|
||||
XCTAssertEqual(Bundle().testLocalizedString(forKey: "Update", forceLanguageLocalization: language), "Cập nhật")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import UIKit
|
||||
|
||||
// MARK: - Siren
|
||||
|
||||
/// The Siren Class. A singleton that is initialized using the shared() method.
|
||||
/// The Siren Class. A singleton that is initialized using the `shared` constant.
|
||||
public final class Siren: NSObject {
|
||||
|
||||
/// Current installed version of your app.
|
||||
@@ -39,7 +39,7 @@ public final class Siren: NSObject {
|
||||
|
||||
/// Determines the type of alert that should be shown.
|
||||
/// See the Siren.AlertType enum for full details.
|
||||
public var alertType = AlertType.option {
|
||||
public var alertType: AlertType = .option {
|
||||
didSet {
|
||||
majorUpdateAlertType = alertType
|
||||
minorUpdateAlertType = alertType
|
||||
@@ -51,26 +51,30 @@ public final class Siren: NSObject {
|
||||
/// Determines the type of alert that should be shown for major version updates: A.b.c
|
||||
/// Defaults to Siren.AlertType.option.
|
||||
/// See the Siren.AlertType enum for full details.
|
||||
public lazy var majorUpdateAlertType = AlertType.option
|
||||
public lazy var majorUpdateAlertType: AlertType = .option
|
||||
|
||||
/// Determines the type of alert that should be shown for minor version updates: a.B.c
|
||||
/// Defaults to Siren.AlertType.option.
|
||||
/// See the Siren.AlertType enum for full details.
|
||||
public lazy var minorUpdateAlertType = AlertType.option
|
||||
public lazy var minorUpdateAlertType: AlertType = .option
|
||||
|
||||
/// Determines the type of alert that should be shown for minor patch updates: a.b.C
|
||||
/// Defaults to Siren.AlertType.option.
|
||||
/// See the Siren.AlertType enum for full details.
|
||||
public lazy var patchUpdateAlertType = AlertType.option
|
||||
public lazy var patchUpdateAlertType: AlertType = .option
|
||||
|
||||
/// Determines the type of alert that should be shown for revision updates: a.b.c.D
|
||||
/// Defaults to Siren.AlertType.option.
|
||||
/// See the Siren.AlertType enum for full details.
|
||||
public lazy var revisionUpdateAlertType = AlertType.option
|
||||
public lazy var revisionUpdateAlertType: AlertType = .option
|
||||
|
||||
/// The name of your app.
|
||||
/// By default, it's set to the name of the app that's stored in your plist.
|
||||
public lazy var appName: String = Bundle.main.bestMatchingAppName()
|
||||
public lazy var appName = Bundle.bestMatchingAppName()
|
||||
|
||||
/// Overrides all the Strings to which Siren defaults.
|
||||
/// Defaults to the values defined in `SirenAlertMessaging.Constants`
|
||||
public var alertMessaging = SirenAlertMessaging()
|
||||
|
||||
/// The region or country of an App Store in which your app is available.
|
||||
/// By default, all version checks are performed against the US App Store.
|
||||
@@ -96,6 +100,9 @@ public final class Siren: NSObject {
|
||||
fileprivate var lastVersionCheckPerformedOnDate: Date?
|
||||
fileprivate lazy var alertViewIsVisible: Bool = false
|
||||
|
||||
/// Type of the available update
|
||||
fileprivate var updateType: UpdateType = .unknown
|
||||
|
||||
/// The App's Singleton
|
||||
public static let shared = Siren()
|
||||
|
||||
@@ -113,7 +120,9 @@ public final class Siren: NSObject {
|
||||
/// - Parameters:
|
||||
/// - 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 {
|
||||
updateType = .unknown
|
||||
|
||||
guard Bundle.bundleID() != nil else {
|
||||
printMessage("Please make sure that you have set a `Bundle Identifier` in your project.")
|
||||
return
|
||||
}
|
||||
@@ -129,7 +138,7 @@ public final class Siren: NSObject {
|
||||
if Date.days(since: lastVersionCheckPerformedOnDate) >= checkType.rawValue {
|
||||
performVersionCheck()
|
||||
} else {
|
||||
postError(.recentlyCheckedAlready, underlyingError: nil)
|
||||
postError(.recentlyCheckedAlready)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -140,12 +149,12 @@ public final class Siren: NSObject {
|
||||
/// - Developer built a custom alert modal and needs to be able to call this function when the user chooses to update the app in the aforementioned custom modal.
|
||||
public func launchAppStore() {
|
||||
guard let appID = appID,
|
||||
let iTunesURL = URL(string: "https://itunes.apple.com/app/id\(appID)") else {
|
||||
let url = URL(string: "https://itunes.apple.com/app/id\(appID)") else {
|
||||
return
|
||||
}
|
||||
|
||||
DispatchQueue.main.async {
|
||||
UIApplication.shared.openURL(iTunesURL)
|
||||
UIApplication.shared.openURL(url)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162,70 +171,51 @@ private extension Siren {
|
||||
URLSession.shared.dataTask(with: request, completionHandler: { [unowned self] (data, response, error) in
|
||||
self.processResults(withData: data, response: response, error: error)
|
||||
}).resume()
|
||||
} catch let error as NSError {
|
||||
postError(.malformedURL, underlyingError: error)
|
||||
} catch _ {
|
||||
postError(.malformedURL)
|
||||
}
|
||||
}
|
||||
|
||||
func processResults(withData data: Data?, response: URLResponse?, error: Error?) {
|
||||
if let error = error {
|
||||
postError(.appStoreDataRetrievalFailure, underlyingError: error)
|
||||
postError(.appStoreDataRetrievalFailure(underlyingError: error))
|
||||
} else {
|
||||
guard let data = data else {
|
||||
postError(.appStoreDataRetrievalFailure, underlyingError: nil)
|
||||
postError(.appStoreDataRetrievalFailure(underlyingError: nil))
|
||||
return
|
||||
}
|
||||
|
||||
do {
|
||||
let jsonData = try JSONSerialization.jsonObject(with: data, options: [])
|
||||
guard let appData = jsonData as? [String: Any],
|
||||
isUpdateCompatibleWithDeviceOS(appData: appData) else {
|
||||
postError(.appStoreJSONParsingFailure, underlyingError: nil)
|
||||
return
|
||||
}
|
||||
let decoder = JSONDecoder()
|
||||
let decodedData = try decoder.decode(SirenLookupModel.self, from: data)
|
||||
|
||||
DispatchQueue.main.async { [unowned self] in
|
||||
// Print iTunesLookup results from appData
|
||||
self.printMessage("JSON results: \(appData)")
|
||||
self.printMessage("Decoded JSON results: \(decodedData)")
|
||||
|
||||
// Process Results (e.g., extract current version that is available on the AppStore)
|
||||
self.processVersionCheck(with: appData)
|
||||
self.processVersionCheck(with: decodedData)
|
||||
}
|
||||
|
||||
} catch let error as NSError {
|
||||
postError(.appStoreDataRetrievalFailure, underlyingError: error)
|
||||
postError(.appStoreJSONParsingFailure(underlyingError: error))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func processVersionCheck(with payload: [String: Any]) {
|
||||
storeVersionCheckDate() // Store version comparison date
|
||||
|
||||
guard let results = payload[JSONKeys.results] as? [[String: Any]] else {
|
||||
postError(.appStoreVersionNumberFailure, underlyingError: nil)
|
||||
func processVersionCheck(with model: SirenLookupModel) {
|
||||
guard isUpdateCompatibleWithDeviceOS(for: model) else {
|
||||
return
|
||||
}
|
||||
|
||||
/// Condition satisfied when app not in App Store
|
||||
guard !results.isEmpty else {
|
||||
postError(.appStoreDataRetrievalFailure, underlyingError: nil)
|
||||
return
|
||||
}
|
||||
|
||||
guard let info = results.first else {
|
||||
postError(.appStoreDataRetrievalFailure, underlyingError: nil)
|
||||
return
|
||||
}
|
||||
|
||||
guard let appID = info[JSONKeys.appID] as? Int else {
|
||||
postError(.appStoreAppIDFailure, underlyingError: nil)
|
||||
guard let appID = model.results.first?.appID else {
|
||||
postError(.appStoreAppIDFailure)
|
||||
return
|
||||
}
|
||||
|
||||
self.appID = appID
|
||||
|
||||
guard let currentAppStoreVersion = info[JSONKeys.version] as? String else {
|
||||
postError(.appStoreVersionArrayFailure, underlyingError: nil)
|
||||
guard let currentAppStoreVersion = model.results.first?.version else {
|
||||
postError(.appStoreVersionArrayFailure)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -233,11 +223,11 @@ private extension Siren {
|
||||
|
||||
guard isAppStoreVersionNewer() else {
|
||||
delegate?.sirenLatestVersionInstalled()
|
||||
postError(.noUpdateAvailable, underlyingError: nil)
|
||||
postError(.noUpdateAvailable)
|
||||
return
|
||||
}
|
||||
|
||||
guard let currentVersionReleaseDate = info[JSONKeys.currentVersionReleaseDate] as? String,
|
||||
guard let currentVersionReleaseDate = model.results.first?.currentVersionReleaseDate,
|
||||
let daysSinceRelease = Date.days(since: currentVersionReleaseDate) else {
|
||||
return
|
||||
}
|
||||
@@ -267,7 +257,7 @@ private extension Siren {
|
||||
components.queryItems = items
|
||||
|
||||
guard let url = components.url, !url.absoluteString.isEmpty else {
|
||||
throw SirenError.malformedURL
|
||||
throw SirenError.Known.malformedURL
|
||||
}
|
||||
|
||||
return url
|
||||
@@ -291,7 +281,10 @@ private extension Siren {
|
||||
}
|
||||
|
||||
func showAlert() {
|
||||
let updateAvailableMessage = Bundle().localizedString(stringKey: "Update Available", forceLanguageLocalization: forceLanguageLocalization)
|
||||
storeVersionCheckDate()
|
||||
|
||||
let updateAvailableMessage = Bundle.localizedString(forKey: alertMessaging.updateTitle, forceLanguageLocalization: forceLanguageLocalization)
|
||||
|
||||
let newVersionMessage = localizedNewVersionMessage()
|
||||
|
||||
let alertController = UIAlertController(title: updateAvailableMessage, message: newVersionMessage, preferredStyle: .alert)
|
||||
@@ -311,7 +304,7 @@ private extension Siren {
|
||||
alertController.addAction(updateAlertAction())
|
||||
alertController.addAction(skipAlertAction())
|
||||
case .none:
|
||||
delegate?.sirenDidDetectNewVersionWithoutAlert(message: newVersionMessage)
|
||||
delegate?.sirenDidDetectNewVersionWithoutAlert(message: newVersionMessage, updateType: updateType)
|
||||
}
|
||||
|
||||
if alertType != .none && !alertViewIsVisible {
|
||||
@@ -370,8 +363,8 @@ private extension Siren {
|
||||
return .option
|
||||
}
|
||||
|
||||
let oldVersion = (currentInstalledVersion).characters.split {$0 == "."}.map { String($0) }.map {Int($0) ?? 0}
|
||||
let newVersion = (currentAppStoreVersion).characters.split {$0 == "."}.map { String($0) }.map {Int($0) ?? 0}
|
||||
let oldVersion = (currentInstalledVersion).split {$0 == "."}.map { String($0) }.map {Int($0) ?? 0}
|
||||
let newVersion = (currentAppStoreVersion).split {$0 == "."}.map { String($0) }.map {Int($0) ?? 0}
|
||||
|
||||
guard let newVersionFirst = newVersion.first, let oldVersionFirst = oldVersion.first else {
|
||||
return alertType // Default value is .Option
|
||||
@@ -379,12 +372,16 @@ private extension Siren {
|
||||
|
||||
if newVersionFirst > oldVersionFirst { // A.b.c.d
|
||||
alertType = majorUpdateAlertType
|
||||
updateType = .major
|
||||
} else if newVersion.count > 1 && (oldVersion.count <= 1 || newVersion[1] > oldVersion[1]) { // a.B.c.d
|
||||
alertType = minorUpdateAlertType
|
||||
updateType = .minor
|
||||
} else if newVersion.count > 2 && (oldVersion.count <= 2 || newVersion[2] > oldVersion[2]) { // a.b.C.d
|
||||
alertType = patchUpdateAlertType
|
||||
updateType = .patch
|
||||
} else if newVersion.count > 3 && (oldVersion.count <= 3 || newVersion[3] > oldVersion[3]) { // a.b.c.D
|
||||
alertType = revisionUpdateAlertType
|
||||
updateType = .revision
|
||||
}
|
||||
|
||||
return alertType
|
||||
@@ -395,8 +392,8 @@ private extension Siren {
|
||||
|
||||
private extension Siren {
|
||||
func localizedNewVersionMessage() -> String {
|
||||
let newVersionMessageToLocalize = "A new version of %@ is available. Please update to version %@ now."
|
||||
let newVersionMessage = Bundle().localizedString(stringKey: newVersionMessageToLocalize, forceLanguageLocalization: forceLanguageLocalization)
|
||||
let newVersionMessageToLocalize = alertMessaging.updateMessage
|
||||
let newVersionMessage = Bundle.localizedString(forKey: newVersionMessageToLocalize, forceLanguageLocalization: forceLanguageLocalization)
|
||||
|
||||
guard let currentAppStoreVersion = currentAppStoreVersion else {
|
||||
return String(format: newVersionMessage, appName, "Unknown")
|
||||
@@ -406,15 +403,15 @@ private extension Siren {
|
||||
}
|
||||
|
||||
func localizedUpdateButtonTitle() -> String {
|
||||
return Bundle().localizedString(stringKey: "Update", forceLanguageLocalization: forceLanguageLocalization)
|
||||
return Bundle.localizedString(forKey: alertMessaging.updateButtonMessage, forceLanguageLocalization: forceLanguageLocalization)
|
||||
}
|
||||
|
||||
func localizedNextTimeButtonTitle() -> String {
|
||||
return Bundle().localizedString(stringKey: "Next time", forceLanguageLocalization: forceLanguageLocalization)
|
||||
return Bundle.localizedString(forKey: alertMessaging.nextTimeButtonMessage, forceLanguageLocalization: forceLanguageLocalization)
|
||||
}
|
||||
|
||||
func localizedSkipButtonTitle() -> String {
|
||||
return Bundle().localizedString(stringKey: "Skip this version", forceLanguageLocalization: forceLanguageLocalization)
|
||||
return Bundle.localizedString(forKey: alertMessaging.skipVersionButtonMessage, forceLanguageLocalization: forceLanguageLocalization)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -446,11 +443,9 @@ extension Siren {
|
||||
// MARK: - Helpers (Misc.)
|
||||
|
||||
private extension Siren {
|
||||
func isUpdateCompatibleWithDeviceOS(appData: [String: Any]) -> Bool {
|
||||
guard let results = appData[JSONKeys.results] as? [[String: Any]],
|
||||
let info = results.first,
|
||||
let requiredOSVersion = info[JSONKeys.minimumOSVersion] as? String else {
|
||||
postError(.appStoreOSVersionNumberFailure, underlyingError: nil)
|
||||
func isUpdateCompatibleWithDeviceOS(for model: SirenLookupModel) -> Bool {
|
||||
guard let requiredOSVersion = model.results.first?.minimumOSVersion else {
|
||||
postError(.appStoreOSVersionNumberFailure)
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -458,7 +453,7 @@ private extension Siren {
|
||||
|
||||
guard systemVersion.compare(requiredOSVersion, options: .numeric) == .orderedDescending ||
|
||||
systemVersion.compare(requiredOSVersion, options: .numeric) == .orderedSame else {
|
||||
postError(.appStoreOSVersionUnsupported, underlyingError: nil)
|
||||
postError(.appStoreOSVersionUnsupported)
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -519,73 +514,54 @@ public extension Siren {
|
||||
/// By default, the operating system's default lanuage setting is used. However, you can force a specific language
|
||||
/// by setting the forceLanguageLocalization property before calling checkVersion()
|
||||
enum LanguageType: String {
|
||||
case Arabic = "ar"
|
||||
case Armenian = "hy"
|
||||
case Basque = "eu"
|
||||
case ChineseSimplified = "zh-Hans"
|
||||
case ChineseTraditional = "zh-Hant"
|
||||
case Croatian = "hr"
|
||||
case Czech = "cs"
|
||||
case Danish = "da"
|
||||
case Dutch = "nl"
|
||||
case English = "en"
|
||||
case Estonian = "et"
|
||||
case Finnish = "fi"
|
||||
case French = "fr"
|
||||
case German = "de"
|
||||
case Greek = "el"
|
||||
case Hebrew = "he"
|
||||
case Hungarian = "hu"
|
||||
case Indonesian = "id"
|
||||
case Italian = "it"
|
||||
case Japanese = "ja"
|
||||
case Korean = "ko"
|
||||
case Latvian = "lv"
|
||||
case Lithuanian = "lt"
|
||||
case Malay = "ms"
|
||||
case Norwegian = "nb-NO"
|
||||
case Persian = "fa"
|
||||
case PersianAfghanistan = "fa-AF"
|
||||
case PersianIran = "fa-IR"
|
||||
case Polish = "pl"
|
||||
case PortugueseBrazil = "pt"
|
||||
case PortuguesePortugal = "pt-PT"
|
||||
case Russian = "ru"
|
||||
case SerbianCyrillic = "sr-Cyrl"
|
||||
case SerbianLatin = "sr-Latn"
|
||||
case Slovenian = "sl"
|
||||
case Spanish = "es"
|
||||
case Swedish = "sv"
|
||||
case Thai = "th"
|
||||
case Turkish = "tr"
|
||||
case Urdu = "ur"
|
||||
case Vietnamese = "vi"
|
||||
case arabic = "ar"
|
||||
case armenian = "hy"
|
||||
case basque = "eu"
|
||||
case chineseSimplified = "zh-Hans"
|
||||
case chineseTraditional = "zh-Hant"
|
||||
case croatian = "hr"
|
||||
case czech = "cs"
|
||||
case danish = "da"
|
||||
case dutch = "nl"
|
||||
case english = "en"
|
||||
case estonian = "et"
|
||||
case finnish = "fi"
|
||||
case french = "fr"
|
||||
case german = "de"
|
||||
case greek = "el"
|
||||
case hebrew = "he"
|
||||
case hungarian = "hu"
|
||||
case indonesian = "id"
|
||||
case italian = "it"
|
||||
case japanese = "ja"
|
||||
case korean = "ko"
|
||||
case latvian = "lv"
|
||||
case lithuanian = "lt"
|
||||
case malay = "ms"
|
||||
case norwegian = "nb-NO"
|
||||
case persian = "fa"
|
||||
case persianAfghanistan = "fa-AF"
|
||||
case persianIran = "fa-IR"
|
||||
case polish = "pl"
|
||||
case portugueseBrazil = "pt"
|
||||
case portuguesePortugal = "pt-PT"
|
||||
case russian = "ru"
|
||||
case serbianCyrillic = "sr-Cyrl"
|
||||
case serbianLatin = "sr-Latn"
|
||||
case slovenian = "sl"
|
||||
case spanish = "es"
|
||||
case swedish = "sv"
|
||||
case thai = "th"
|
||||
case turkish = "tr"
|
||||
case urdu = "ur"
|
||||
case ukrainian = "uk"
|
||||
case vietnamese = "vi"
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Enumerated Types (Private)
|
||||
|
||||
private extension Siren {
|
||||
/// Siren-specific Error Codes
|
||||
enum ErrorCode: Int {
|
||||
case malformedURL = 1000
|
||||
case recentlyCheckedAlready
|
||||
case noUpdateAvailable
|
||||
case appStoreDataRetrievalFailure
|
||||
case appStoreJSONParsingFailure
|
||||
case appStoreOSVersionNumberFailure
|
||||
case appStoreOSVersionUnsupported
|
||||
case appStoreVersionNumberFailure
|
||||
case appStoreVersionArrayFailure
|
||||
case appStoreAppIDFailure
|
||||
case appStoreReleaseDateFailure
|
||||
}
|
||||
|
||||
/// Siren-specific Throwable Errors
|
||||
enum SirenError: Error {
|
||||
case malformedURL
|
||||
case missingBundleIdOrAppId
|
||||
}
|
||||
|
||||
/// Siren-specific UserDefaults Keys
|
||||
enum SirenDefaults: String {
|
||||
@@ -596,57 +572,13 @@ private extension Siren {
|
||||
case StoredSkippedVersion
|
||||
}
|
||||
|
||||
struct JSONKeys {
|
||||
static let appID = "trackId"
|
||||
static let currentVersionReleaseDate = "currentVersionReleaseDate"
|
||||
static let minimumOSVersion = "minimumOsVersion"
|
||||
static let results = "results"
|
||||
static let version = "version"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: - Error Handling
|
||||
|
||||
private extension Siren {
|
||||
func postError(_ code: ErrorCode, underlyingError: Error?) {
|
||||
let description: String
|
||||
|
||||
switch code {
|
||||
case .malformedURL:
|
||||
description = "The iTunes URL is malformed. Please leave an issue on http://github.com/ArtSabintsev/Siren with as many details as possible."
|
||||
case .recentlyCheckedAlready:
|
||||
description = "Not checking the version, because it already checked recently."
|
||||
case .noUpdateAvailable:
|
||||
description = "No new update available."
|
||||
case .appStoreDataRetrievalFailure:
|
||||
description = "Error retrieving App Store data as an error was returned."
|
||||
case .appStoreJSONParsingFailure:
|
||||
description = "Error parsing App Store JSON data."
|
||||
case .appStoreOSVersionNumberFailure:
|
||||
description = "Error retrieving iOS version number as there was no data returned."
|
||||
case .appStoreOSVersionUnsupported:
|
||||
description = "The version of iOS on the device is lower than that of the one required by the app verison update."
|
||||
case .appStoreVersionNumberFailure:
|
||||
description = "Error retrieving App Store version number as there was no data returned."
|
||||
case .appStoreVersionArrayFailure:
|
||||
description = "Error retrieving App Store verson number as the JSON does not contain a 'version' key."
|
||||
case .appStoreAppIDFailure:
|
||||
description = "Error retrieving trackId as the JSON does not contain a 'trackId' key."
|
||||
case .appStoreReleaseDateFailure:
|
||||
description = "Error retrieving trackId as the JSON does not contain a 'currentVersionReleaseDate' key."
|
||||
}
|
||||
|
||||
var userInfo: [String: Any] = [NSLocalizedDescriptionKey: description]
|
||||
|
||||
if let underlyingError = underlyingError {
|
||||
userInfo[NSUnderlyingErrorKey] = underlyingError
|
||||
}
|
||||
|
||||
let error = NSError(domain: SirenErrorDomain, code: code.rawValue, userInfo: userInfo)
|
||||
|
||||
func postError(_ error: SirenError.Known) {
|
||||
delegate?.sirenDidFailVersionCheck(error: error)
|
||||
|
||||
printMessage(error.localizedDescription)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
//
|
||||
// SirenAlertMessaging.swift
|
||||
// Siren
|
||||
//
|
||||
// Created by Arthur Sabintsev on 12/6/17.
|
||||
// Copyright © 2017 Sabintsev iOS Projects. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
// MARK: - Siren Alert Messaging Customization
|
||||
|
||||
/// Allows the overriding of all the `UIAlertController` and `UIActionSheet` Strings to which Siren defaults.
|
||||
///
|
||||
/// - Warning: Overriding any of these keys will result in the loss of the built-in internationalization that Siren provides.
|
||||
///
|
||||
/// As SirenAlertMessaging is a Struct, one _or_ more keys can be modified. Overriding only one string will result in the other keys retaining their default (and internationalizable) values.
|
||||
public struct SirenAlertMessaging {
|
||||
|
||||
public struct Constants {
|
||||
public static let nextTime = "Next time"
|
||||
public static let skipVersion = "Skip this version"
|
||||
public static let updateMessage = "A new version of %@ is available. Please update to version %@ now."
|
||||
public static let updateTitle = "Update Available"
|
||||
public static let updateNow = "Update"
|
||||
}
|
||||
|
||||
let nextTimeButtonMessage: String
|
||||
let skipVersionButtonMessage: String
|
||||
let updateButtonMessage: String
|
||||
let updateMessage: String
|
||||
let updateTitle: String
|
||||
|
||||
/// The public initializer
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - title: The title field of the `UIAlertController`.
|
||||
/// - message: The `message` field of the `UIAlertController`.
|
||||
/// - updateButtonMessage: The `title` field of the Update Button `UIAlertAction`.
|
||||
/// - nextTimeButtonMessage: The `title` field of the Next Time Button `UIAlertAction`.
|
||||
/// - skipVersionButtonMessage: The `title` field of the Skip Button `UIAlertAction`.
|
||||
public init(updateTitle title: String = Constants.updateTitle,
|
||||
updateMessage message: String = Constants.updateMessage,
|
||||
updateButtonMessage: String = Constants.updateNow,
|
||||
nextTimeButtonMessage: String = Constants.nextTime,
|
||||
skipVersionButtonMessage: String = Constants.skipVersion) {
|
||||
self.updateTitle = title
|
||||
self.nextTimeButtonMessage = nextTimeButtonMessage
|
||||
self.updateButtonMessage = updateButtonMessage
|
||||
self.updateMessage = message
|
||||
self.skipVersionButtonMessage = skipVersionButtonMessage
|
||||
}
|
||||
|
||||
}
|
||||
@@ -10,34 +10,34 @@ import Foundation
|
||||
|
||||
// MARK: - Bundle Extension for Siren
|
||||
|
||||
internal extension Bundle {
|
||||
extension Bundle {
|
||||
class func bundleID() -> String? {
|
||||
return Bundle.main.bundleIdentifier
|
||||
}
|
||||
|
||||
func sirenBundlePath() -> String {
|
||||
class func sirenBundlePath() -> String {
|
||||
return Bundle(for: Siren.self).path(forResource: "Siren", ofType: "bundle") as String!
|
||||
}
|
||||
|
||||
func sirenForcedBundlePath(forceLanguageLocalization: Siren.LanguageType) -> String {
|
||||
class func sirenForcedBundlePath(forceLanguageLocalization: Siren.LanguageType) -> String {
|
||||
let path = sirenBundlePath()
|
||||
let name = forceLanguageLocalization.rawValue
|
||||
|
||||
return Bundle(path: path)!.path(forResource: name, ofType: "lproj")!
|
||||
}
|
||||
|
||||
func localizedString(stringKey: String, forceLanguageLocalization: Siren.LanguageType?) -> String {
|
||||
var path: String
|
||||
class func localizedString(forKey key: String, forceLanguageLocalization: Siren.LanguageType?) -> String {
|
||||
var path = sirenBundlePath()
|
||||
let table = "SirenLocalizable"
|
||||
|
||||
if let forceLanguageLocalization = forceLanguageLocalization {
|
||||
path = sirenForcedBundlePath(forceLanguageLocalization: forceLanguageLocalization)
|
||||
} else {
|
||||
path = sirenBundlePath()
|
||||
}
|
||||
|
||||
return Bundle(path: path)!.localizedString(forKey: stringKey, value: stringKey, table: table)
|
||||
return Bundle(path: path)!.localizedString(forKey: key, value: key, table: table)
|
||||
}
|
||||
|
||||
func bestMatchingAppName() -> String {
|
||||
class func bestMatchingAppName() -> String {
|
||||
let bundleDisplayName = Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String
|
||||
let bundleName = Bundle.main.object(forInfoDictionaryKey: kCFBundleNameKey as String) as? String
|
||||
|
||||
@@ -48,7 +48,7 @@ internal extension Bundle {
|
||||
// MARK: - Bundle Extension for Testing Siren
|
||||
|
||||
extension Bundle {
|
||||
func testLocalizedString(stringKey: String, forceLanguageLocalization: Siren.LanguageType?) -> String {
|
||||
return Bundle().localizedString(stringKey: stringKey, forceLanguageLocalization: forceLanguageLocalization)
|
||||
func testLocalizedString(forKey key: String, forceLanguageLocalization: Siren.LanguageType?) -> String {
|
||||
return Bundle.localizedString(forKey: key, forceLanguageLocalization: forceLanguageLocalization)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
internal extension Date {
|
||||
// MARK: - Date Extension for Siren
|
||||
|
||||
extension Date {
|
||||
static func days(since date: Date) -> Int {
|
||||
let calendar = Calendar.current
|
||||
let components = calendar.dateComponents([.day], from: date, to: Date())
|
||||
|
||||
@@ -8,10 +8,29 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// MARK - Siren UpdateType
|
||||
|
||||
/// `UpdateType` defines what kind of update is available
|
||||
/// It is used as parameter if user wants to use
|
||||
/// custom alert to inform the user about an update.
|
||||
///
|
||||
/// - major: Major release available: A.b.c.d
|
||||
/// - minor: Minor release available: a.B.c.d
|
||||
/// - patch: Patch release available: a.b.C.d
|
||||
/// - revision: Revision release available: a.b.c.D
|
||||
/// - unknown: No information available about the update
|
||||
public enum UpdateType: String {
|
||||
case major
|
||||
case minor
|
||||
case patch
|
||||
case revision
|
||||
case unknown
|
||||
}
|
||||
|
||||
// MARK: - SirenDelegate Protocol
|
||||
|
||||
/// Delegate that handles all codepaths for Siren upon version check completion.
|
||||
public protocol SirenDelegate: class {
|
||||
public protocol SirenDelegate: NSObjectProtocol {
|
||||
/// User presented with update dialog.
|
||||
func sirenDidShowUpdateDialog(alertType: Siren.AlertType)
|
||||
|
||||
@@ -25,10 +44,10 @@ public protocol SirenDelegate: class {
|
||||
func sirenUserDidCancel()
|
||||
|
||||
/// Siren failed to perform version check (may return system-level error).
|
||||
func sirenDidFailVersionCheck(error: NSError)
|
||||
func sirenDidFailVersionCheck(error: Error)
|
||||
|
||||
/// Siren performed version check and did not display alert.
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String)
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String, updateType: UpdateType)
|
||||
|
||||
/// Siren performed version check and latest version is installed.
|
||||
func sirenLatestVersionInstalled()
|
||||
@@ -54,11 +73,11 @@ public extension SirenDelegate {
|
||||
printMessage()
|
||||
}
|
||||
|
||||
func sirenDidFailVersionCheck(error: NSError) {
|
||||
func sirenDidFailVersionCheck(error: Error) {
|
||||
printMessage()
|
||||
}
|
||||
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String) {
|
||||
func sirenDidDetectNewVersionWithoutAlert(message: String, updateType: UpdateType) {
|
||||
printMessage()
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
//
|
||||
// SirenError.swift
|
||||
// Siren
|
||||
//
|
||||
// Created by Arthur Sabintsev on 8/6/17.
|
||||
// Copyright © 2017 Sabintsev iOS Projects. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
// MARK: - Siren Error Handling
|
||||
|
||||
public struct SirenError: LocalizedError {
|
||||
|
||||
public enum Known: Error {
|
||||
case appStoreAppIDFailure
|
||||
case appStoreDataRetrievalFailure(underlyingError: Error?)
|
||||
case appStoreJSONParsingFailure(underlyingError: Error)
|
||||
case appStoreOSVersionNumberFailure
|
||||
case appStoreOSVersionUnsupported
|
||||
case appStoreVersionArrayFailure
|
||||
case malformedURL
|
||||
case noUpdateAvailable
|
||||
case recentlyCheckedAlready
|
||||
|
||||
var localizedDescription: String {
|
||||
switch self {
|
||||
case .appStoreAppIDFailure:
|
||||
return "Error retrieving trackId as the JSON does not contain a 'trackId' key."
|
||||
case .appStoreDataRetrievalFailure(let error?):
|
||||
return "Error retrieving App Store data as an error was returned\nAlso, the following system level error was returned: \(error)"
|
||||
case .appStoreDataRetrievalFailure(.none):
|
||||
return "Error retrieving App Store data as an error was returned."
|
||||
case .appStoreJSONParsingFailure(let error):
|
||||
return "Error parsing App Store JSON data.\nAlso, the following system level error was returned: \(error)"
|
||||
case .appStoreOSVersionNumberFailure:
|
||||
return "Error retrieving iOS version number as there was no data returned."
|
||||
case .appStoreOSVersionUnsupported:
|
||||
return "The version of iOS on the device is lower than that of the one required by the app verison update."
|
||||
case .appStoreVersionArrayFailure:
|
||||
return "Error retrieving App Store verson number as the JSON does not contain a 'version' key."
|
||||
case .malformedURL:
|
||||
return "The iTunes URL is malformed. Please leave an issue on http://github.com/ArtSabintsev/Siren with as many details as possible."
|
||||
case .noUpdateAvailable:
|
||||
return "No new update available."
|
||||
case .recentlyCheckedAlready:
|
||||
return "Not checking the version, because it already checked recently."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// SirenLookupModel.swift
|
||||
// Siren
|
||||
//
|
||||
// Created by Arthur Sabintsev on 8/6/17.
|
||||
// Copyright © 2017 Sabintsev iOS Projects. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
// MARK: - Model representing a selection of results from the iTunes Lookup API
|
||||
|
||||
struct SirenLookupModel: Decodable {
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case results
|
||||
}
|
||||
|
||||
let results: [Results]
|
||||
|
||||
struct Results: Decodable {
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case appID = "trackId"
|
||||
case currentVersionReleaseDate
|
||||
case minimumOSVersion = "minimumOsVersion"
|
||||
case version
|
||||
}
|
||||
|
||||
let appID: Int
|
||||
let currentVersionReleaseDate: String
|
||||
let minimumOSVersion: String
|
||||
let version: String
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
// MARK: - Helpers (Testing Target)
|
||||
// MARK: - Test Target Helpers
|
||||
|
||||
extension Siren {
|
||||
func testSetCurrentInstalledVersion(version: String) {
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
// MARK: - UIAlertController Extension for Siren
|
||||
|
||||
internal extension UIAlertController {
|
||||
extension UIAlertController {
|
||||
func show() {
|
||||
let window = UIWindow(frame: UIScreen.main.bounds)
|
||||
window.rootViewController = SirenViewController()
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
// MARK: - UIViewController Extension for Siren
|
||||
|
||||
internal class SirenViewController: UIViewController {
|
||||
final class SirenViewController: UIViewController {
|
||||
override var preferredStatusBarStyle: UIStatusBarStyle { return UIApplication.shared.statusBarStyle }
|
||||
}
|
||||
|
||||
@@ -13,13 +13,12 @@
|
||||
<a title="Classes Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html">Siren Reference</a>
|
||||
<a href="index.html"> Reference</a>
|
||||
<img id="carat" src="img/carat.png" />
|
||||
Classes Reference
|
||||
</p>
|
||||
@@ -44,6 +43,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:C5Siren5Siren"></a>
|
||||
<a name="/c:@M@Siren@objc(cs)Siren"></a>
|
||||
<a name="//apple_ref/swift/Class/Siren" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:C5Siren5Siren">Siren</a>
|
||||
<a class="token" href="#/c:@M@Siren@objc(cs)Siren">Siren</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -84,7 +91,7 @@
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>The Siren Class. A singleton that is initialized using the shared() method.</p>
|
||||
<p>The Siren Class. A singleton that is initialized using the <code>shared</code> constant.</p>
|
||||
|
||||
<a href="Classes/Siren.html" class="slightly-smaller">See more</a>
|
||||
</div>
|
||||
@@ -104,8 +111,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="Siren Class Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../index.html">Siren Reference</a>
|
||||
<a href="../index.html"> Reference</a>
|
||||
<img id="carat" src="../img/carat.png" />
|
||||
Siren Class Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -65,7 +72,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>The Siren Class. A singleton that is initialized using the shared() method.</p>
|
||||
<p>The Siren Class. A singleton that is initialized using the <code>shared</code> constant.</p>
|
||||
|
||||
</section>
|
||||
<section class="section task-group-section">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren16SirenErrorDomainSS"></a>
|
||||
<a name="/s:5SirenAAC0A11ErrorDomainSSv"></a>
|
||||
<a name="//apple_ref/swift/Property/SirenErrorDomain" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren16SirenErrorDomainSS">SirenErrorDomain</a>
|
||||
<a class="token" href="#/s:5SirenAAC0A11ErrorDomainSSv">SirenErrorDomain</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -101,9 +108,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren8delegateXwGSqPS_13SirenDelegate__"></a>
|
||||
<a name="/s:5SirenAAC8delegateAA0A8Delegate_pSgXwv"></a>
|
||||
<a name="//apple_ref/swift/Property/delegate" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren8delegateXwGSqPS_13SirenDelegate__">delegate</a>
|
||||
<a class="token" href="#/s:5SirenAAC8delegateAA0A8Delegate_pSgXwv">delegate</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -143,9 +150,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren12debugEnabledSb"></a>
|
||||
<a name="/s:5SirenAAC12debugEnabledSbv"></a>
|
||||
<a name="//apple_ref/swift/Property/debugEnabled" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren12debugEnabledSb">debugEnabled</a>
|
||||
<a class="token" href="#/s:5SirenAAC12debugEnabledSbv">debugEnabled</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -171,9 +178,9 @@ When enabled, a stream of print() statements are logged to your console when a v
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren9alertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC9alertTypeAB05AlertC0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/alertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren9alertTypeOS0_9AlertType">alertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC9alertTypeAB05AlertC0Ov">alertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -189,7 +196,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">alertType</span><span class="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,9 +206,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC20majorUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/majorUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType">majorUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC20majorUpdateAlertTypeAB0dE0Ov">majorUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -218,7 +225,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -228,9 +235,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC20minorUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/minorUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType">minorUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC20minorUpdateAlertTypeAB0dE0Ov">minorUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -247,7 +254,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -257,9 +264,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC20patchUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/patchUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType">patchUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC20patchUpdateAlertTypeAB0dE0Ov">patchUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -276,7 +283,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -286,9 +293,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC23revisionUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/revisionUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType">revisionUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC23revisionUpdateAlertTypeAB0dE0Ov">revisionUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -305,7 +312,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -315,9 +322,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren7appNameSS"></a>
|
||||
<a name="/s:5SirenAAC7appNameSSv"></a>
|
||||
<a name="//apple_ref/swift/Property/appName" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren7appNameSS">appName</a>
|
||||
<a class="token" href="#/s:5SirenAAC7appNameSSv">appName</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -333,7 +340,7 @@ By default, it’s set to the name of the app that’s stored in your pl
|
||||
<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">appName</span><span class="p">:</span> <span class="kt">String</span> <span class="o">=</span> <span class="kt">Bundle</span><span class="o">.</span><span class="n">main</span><span class="o">.</span><span class="nf">bestMatchingAppName</span><span class="p">()</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">appName</span> <span class="o">=</span> <span class="kt">Bundle</span><span class="o">.</span><span class="nf">bestMatchingAppName</span><span class="p">()</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -343,9 +350,9 @@ By default, it’s set to the name of the app that’s stored in your pl
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren11countryCodeGSqSS_"></a>
|
||||
<a name="/s:5SirenAAC11countryCodeSSSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/countryCode" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren11countryCodeGSqSS_">countryCode</a>
|
||||
<a class="token" href="#/s:5SirenAAC11countryCodeSSSgv">countryCode</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -372,9 +379,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:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_"></a>
|
||||
<a name="/s:5SirenAAC25forceLanguageLocalizationAB0C4TypeOSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/forceLanguageLocalization" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_">forceLanguageLocalization</a>
|
||||
<a class="token" href="#/s:5SirenAAC25forceLanguageLocalizationAB0C4TypeOSgv">forceLanguageLocalization</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -400,9 +407,9 @@ See the Siren.LanguageType enum for more details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren24alertControllerTintColorGSqCSo7UIColor_"></a>
|
||||
<a name="/s:5SirenAAC24alertControllerTintColorSo7UIColorCSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/alertControllerTintColor" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren24alertControllerTintColorGSqCSo7UIColor_">alertControllerTintColor</a>
|
||||
<a class="token" href="#/s:5SirenAAC24alertControllerTintColorSo7UIColorCSgv">alertControllerTintColor</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -427,9 +434,9 @@ See the Siren.LanguageType enum for more details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi"></a>
|
||||
<a name="/s:5SirenAAC50showAlertAfterCurrentVersionHasBeenReleasedForDaysSiv"></a>
|
||||
<a name="//apple_ref/swift/Property/showAlertAfterCurrentVersionHasBeenReleasedForDays" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
|
||||
<a class="token" href="#/s:5SirenAAC50showAlertAfterCurrentVersionHasBeenReleasedForDaysSiv">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -455,9 +462,9 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren22currentAppStoreVersionGSqSS_"></a>
|
||||
<a name="/s:5SirenAAC22currentAppStoreVersionSSSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/currentAppStoreVersion" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren22currentAppStoreVersionGSqSS_">currentAppStoreVersion</a>
|
||||
<a class="token" href="#/s:5SirenAAC22currentAppStoreVersionSSSgv">currentAppStoreVersion</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -482,9 +489,9 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:ZvC5Siren5Siren6sharedS0_"></a>
|
||||
<a name="/s:5SirenAAC6sharedABvZ"></a>
|
||||
<a name="//apple_ref/swift/Variable/shared" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:ZvC5Siren5Siren6sharedS0_">shared</a>
|
||||
<a class="token" href="#/s:5SirenAAC6sharedABvZ">shared</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -509,9 +516,9 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_"></a>
|
||||
<a name="/s:5SirenAAC12checkVersionyAB0C9CheckTypeO0bE0_tF"></a>
|
||||
<a name="//apple_ref/swift/Method/checkVersion(checkType:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_">checkVersion(checkType:)</a>
|
||||
<a class="token" href="#/s:5SirenAAC12checkVersionyAB0C9CheckTypeO0bE0_tF">checkVersion(checkType:)</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -521,7 +528,7 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<div class="abstract">
|
||||
<p>Checks the currently installed version of your app against the App Store.
|
||||
The default check is against the US App Store, but if your app is not listed in the US,
|
||||
you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11countryCodeGSqSS_">countryCode</a></code> property before calling this method. Please refer to the countryCode property for more information.</p>
|
||||
you should set the <code><a href="../Classes/Siren.html#/s:5SirenAAC11countryCodeSSSgv">countryCode</a></code> property before calling this method. Please refer to the countryCode property for more information.</p>
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
@@ -557,9 +564,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FC5Siren5Siren14launchAppStoreFT_T_"></a>
|
||||
<a name="/s:5SirenAAC14launchAppStoreyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/launchAppStore()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FC5Siren5Siren14launchAppStoreFT_T_">launchAppStore()</a>
|
||||
<a class="token" href="#/s:5SirenAAC14launchAppStoreyyF">launchAppStore()</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -593,9 +600,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:OC5Siren5Siren9AlertType"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/AlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:OC5Siren5Siren9AlertType">AlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO">AlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -621,9 +628,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:OC5Siren5Siren16VersionCheckType"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/VersionCheckType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:OC5Siren5Siren16VersionCheckType">VersionCheckType</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO">VersionCheckType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -649,9 +656,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:OC5Siren5Siren12LanguageType"></a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/LanguageType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:OC5Siren5Siren12LanguageType">LanguageType</a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO">LanguageType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -682,8 +689,8 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="AlertType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../../index.html">Siren Reference</a>
|
||||
<a href="../../index.html"> Reference</a>
|
||||
<img id="carat" src="../../img/carat.png" />
|
||||
AlertType Enum Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO5forceA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/force" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_">force</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO5forceA2DmF">force</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -105,9 +112,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO6optionA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/option" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_">option</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO6optionA2DmF">option</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -136,9 +143,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO4skipA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/skip" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_">skip</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO4skipA2DmF">skip</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -167,9 +174,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO4noneA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/none" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_">none</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO4noneA2DmF">none</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -197,8 +204,8 @@ for use in a custom UI within the sirenDidDetectNewVersionWithoutAlert() delegat
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="LanguageType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../../index.html">Siren Reference</a>
|
||||
<a href="../../index.html"> Reference</a>
|
||||
<img id="carat" src="../../img/carat.png" />
|
||||
LanguageType Enum Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -77,9 +84,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Arabic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_">Arabic</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6arabicA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/arabic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6arabicA2DmF">arabic</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -87,8 +94,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -108,9 +114,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Armenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_">Armenian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8armenianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/armenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8armenianA2DmF">armenian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -118,8 +124,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -139,9 +144,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Basque" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_">Basque</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6basqueA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/basque" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6basqueA2DmF">basque</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -149,8 +154,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -170,9 +174,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/ChineseSimplified" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_">ChineseSimplified</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO17chineseSimplifiedA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/chineseSimplified" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO17chineseSimplifiedA2DmF">chineseSimplified</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -180,8 +184,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -201,9 +204,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/ChineseTraditional" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_">ChineseTraditional</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO18chineseTraditionalA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/chineseTraditional" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO18chineseTraditionalA2DmF">chineseTraditional</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -211,8 +214,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -232,9 +234,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Croatian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_">Croatian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8croatianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/croatian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8croatianA2DmF">croatian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -242,8 +244,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -263,9 +264,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5CzechFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Czech" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5CzechFMS1_S1_">Czech</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5czechA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/czech" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5czechA2DmF">czech</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -273,8 +274,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -294,9 +294,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Danish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_">Danish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6danishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/danish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6danishA2DmF">danish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -304,8 +304,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -325,9 +324,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Dutch" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_">Dutch</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5dutchA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/dutch" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5dutchA2DmF">dutch</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -335,8 +334,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -356,9 +354,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/English" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_">English</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7englishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/english" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7englishA2DmF">english</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -366,8 +364,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -387,9 +384,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Estonian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_">Estonian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8estonianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/estonian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8estonianA2DmF">estonian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -397,8 +394,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -418,9 +414,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Finnish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_">Finnish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7finnishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/finnish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7finnishA2DmF">finnish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -428,8 +424,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -449,9 +444,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/French" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_">French</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6frenchA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/french" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6frenchA2DmF">french</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -459,8 +454,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -480,9 +474,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/German" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_">German</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6germanA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/german" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6germanA2DmF">german</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -490,8 +484,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -511,9 +504,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Greek" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_">Greek</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5greekA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/greek" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5greekA2DmF">greek</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -521,8 +514,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -542,9 +534,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Hebrew" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_">Hebrew</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6hebrewA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/hebrew" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6hebrewA2DmF">hebrew</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -552,8 +544,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -573,9 +564,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Hungarian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_">Hungarian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO9hungarianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/hungarian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO9hungarianA2DmF">hungarian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -583,8 +574,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -604,9 +594,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Indonesian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_">Indonesian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO10indonesianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/indonesian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO10indonesianA2DmF">indonesian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -614,8 +604,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -635,9 +624,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Italian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_">Italian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7italianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/italian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7italianA2DmF">italian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -645,8 +634,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -666,9 +654,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Japanese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_">Japanese</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8japaneseA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/japanese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8japaneseA2DmF">japanese</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -676,8 +664,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -697,9 +684,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Korean" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_">Korean</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6koreanA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/korean" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6koreanA2DmF">korean</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -707,8 +694,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -728,9 +714,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Latvian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_">Latvian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7latvianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/latvian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7latvianA2DmF">latvian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -738,8 +724,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -759,9 +744,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Lithuanian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_">Lithuanian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO10lithuanianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/lithuanian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO10lithuanianA2DmF">lithuanian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -769,8 +754,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -790,9 +774,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Malay" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_">Malay</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5malayA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/malay" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5malayA2DmF">malay</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -800,8 +784,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -821,9 +804,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Norwegian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_">Norwegian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO9norwegianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/norwegian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO9norwegianA2DmF">norwegian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -831,8 +814,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -852,9 +834,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7PersianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Persian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7PersianFMS1_S1_">Persian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7persianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/persian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7persianA2DmF">persian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -862,8 +844,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -883,9 +864,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType18PersianAfghanistanFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PersianAfghanistan" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18PersianAfghanistanFMS1_S1_">PersianAfghanistan</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO18persianAfghanistanA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/persianAfghanistan" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO18persianAfghanistanA2DmF">persianAfghanistan</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -893,8 +874,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -914,9 +894,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType11PersianIranFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PersianIran" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType11PersianIranFMS1_S1_">PersianIran</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO11persianIranA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/persianIran" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO11persianIranA2DmF">persianIran</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -924,8 +904,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -945,9 +924,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Polish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_">Polish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6polishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/polish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6polishA2DmF">polish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -955,8 +934,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -976,9 +954,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PortugueseBrazil" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_">PortugueseBrazil</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO16portugueseBrazilA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/portugueseBrazil" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO16portugueseBrazilA2DmF">portugueseBrazil</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -986,8 +964,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1007,9 +984,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PortuguesePortugal" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_">PortuguesePortugal</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO18portuguesePortugalA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/portuguesePortugal" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO18portuguesePortugalA2DmF">portuguesePortugal</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1017,8 +994,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1038,9 +1014,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Russian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_">Russian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7russianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/russian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7russianA2DmF">russian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1048,8 +1024,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1069,9 +1044,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/SerbianCyrillic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_">SerbianCyrillic</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO15serbianCyrillicA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/serbianCyrillic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO15serbianCyrillicA2DmF">serbianCyrillic</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1079,8 +1054,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1100,9 +1074,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/SerbianLatin" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_">SerbianLatin</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO12serbianLatinA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/serbianLatin" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO12serbianLatinA2DmF">serbianLatin</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1110,8 +1084,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1131,9 +1104,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Slovenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_">Slovenian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO9slovenianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/slovenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO9slovenianA2DmF">slovenian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1141,8 +1114,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1162,9 +1134,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Spanish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_">Spanish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7spanishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/spanish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7spanishA2DmF">spanish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1172,8 +1144,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1193,9 +1164,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Swedish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_">Swedish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7swedishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/swedish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7swedishA2DmF">swedish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1203,8 +1174,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1224,9 +1194,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Thai" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_">Thai</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO4thaiA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/thai" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO4thaiA2DmF">thai</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1234,8 +1204,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1255,9 +1224,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Turkish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_">Turkish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7turkishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/turkish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7turkishA2DmF">turkish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1265,8 +1234,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1286,9 +1254,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType4UrduFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Urdu" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType4UrduFMS1_S1_">Urdu</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO4urduA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/urdu" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO4urduA2DmF">urdu</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1296,8 +1264,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1317,9 +1284,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Vietnamese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_">Vietnamese</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO10vietnameseA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/vietnamese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO10vietnameseA2DmF">vietnamese</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1327,8 +1294,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1346,8 +1312,8 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="VersionCheckType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../../index.html">Siren Reference</a>
|
||||
<a href="../../index.html"> Reference</a>
|
||||
<img id="carat" src="../../img/carat.png" />
|
||||
VersionCheckType Enum Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO11immediatelyA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/immediately" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_">immediately</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO11immediatelyA2DmF">immediately</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -105,9 +112,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO5dailyA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/daily" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_">daily</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO5dailyA2DmF">daily</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -136,9 +143,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO6weeklyA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/weekly" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_">weekly</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO6weeklyA2DmF">weekly</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -165,8 +172,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
<!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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html"> 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>
|
||||
<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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<a href="Enums/UpdateType.html">UpdateType</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">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/UpdateType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO">UpdateType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>MARK - Siren UpdateType
|
||||
<code>UpdateType</code> defines what kind of update is available
|
||||
It is used as parameter if user wants to use
|
||||
custom alert to inform the user about an update.</p>
|
||||
|
||||
<ul>
|
||||
<li>major: Major release available: A.b.c.d</li>
|
||||
<li>minor: Minor release available: a.B.c.d</li>
|
||||
<li>patch: Patch release available: a.b.C.d</li>
|
||||
<li>revision: Revision release available: a.b.c.D</li>
|
||||
<li>unknown: No information available about the update</li>
|
||||
</ul>
|
||||
|
||||
<a href="Enums/UpdateType.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">UpdateType</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>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
@@ -0,0 +1,250 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>UpdateType 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>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a name="//apple_ref/swift/Enum/UpdateType" class="dashAnchor"></a>
|
||||
<a title="UpdateType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../index.html"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../index.html"> Reference</a>
|
||||
<img id="carat" src="../img/carat.png" />
|
||||
UpdateType 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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<a href="../Enums/UpdateType.html">UpdateType</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>UpdateType</h1>
|
||||
<div class="declaration">
|
||||
<div class="language">
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>MARK - Siren UpdateType
|
||||
<code>UpdateType</code> defines what kind of update is available
|
||||
It is used as parameter if user wants to use
|
||||
custom alert to inform the user about an update.</p>
|
||||
|
||||
<ul>
|
||||
<li>major: Major release available: A.b.c.d</li>
|
||||
<li>minor: Minor release available: a.B.c.d</li>
|
||||
<li>patch: Patch release available: a.b.C.d</li>
|
||||
<li>revision: Revision release available: a.b.c.D</li>
|
||||
<li>unknown: No information available about the update</li>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
<section class="section task-group-section">
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO5majorA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/major" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO5majorA2CmF">major</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO5minorA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/minor" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO5minorA2CmF">minor</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO5patchA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/patch" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO5patchA2CmF">patch</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO8revisionA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/revision" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO8revisionA2CmF">revision</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO7unknownA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/unknown" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO7unknownA2CmF">unknown</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</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>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
@@ -13,13 +13,12 @@
|
||||
<a title="Protocols Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html">Siren Reference</a>
|
||||
<a href="index.html"> Reference</a>
|
||||
<img id="carat" src="img/carat.png" />
|
||||
Protocols Reference
|
||||
</p>
|
||||
@@ -44,6 +43,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:P5Siren13SirenDelegate"></a>
|
||||
<a name="/s:5Siren0A8DelegateP"></a>
|
||||
<a name="//apple_ref/swift/Protocol/SirenDelegate" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:P5Siren13SirenDelegate">SirenDelegate</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP">SirenDelegate</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -92,7 +99,7 @@
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kd">class</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,8 +111,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="SirenDelegate Protocol Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../index.html">Siren Reference</a>
|
||||
<a href="../index.html"> Reference</a>
|
||||
<img id="carat" src="../img/carat.png" />
|
||||
SirenDelegate Protocol Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -61,7 +68,7 @@
|
||||
<h1>SirenDelegate</h1>
|
||||
<div class="declaration">
|
||||
<div class="language">
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kd">class</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP24sirenDidShowUpdateDialogyA2AC9AlertTypeO05alertI0_tF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidShowUpdateDialog(alertType:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_">sirenDidShowUpdateDialog(alertType:)</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP24sirenDidShowUpdateDialogyA2AC9AlertTypeO05alertI0_tF">sirenDidShowUpdateDialog(alertType:)</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -108,9 +115,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate26sirenUserDidLaunchAppStoreFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP26sirenUserDidLaunchAppStoreyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenUserDidLaunchAppStore()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate26sirenUserDidLaunchAppStoreFT_T_">sirenUserDidLaunchAppStore()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP26sirenUserDidLaunchAppStoreyyF">sirenUserDidLaunchAppStore()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -142,9 +149,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate23sirenUserDidSkipVersionFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP23sirenUserDidSkipVersionyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenUserDidSkipVersion()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate23sirenUserDidSkipVersionFT_T_">sirenUserDidSkipVersion()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP23sirenUserDidSkipVersionyyF">sirenUserDidSkipVersion()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -176,9 +183,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate18sirenUserDidCancelFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP18sirenUserDidCancelyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenUserDidCancel()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate18sirenUserDidCancelFT_T_">sirenUserDidCancel()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP18sirenUserDidCancelyyF">sirenUserDidCancel()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -210,9 +217,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate24sirenDidFailVersionCheckFT5errorCSo7NSError_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP24sirenDidFailVersionCheckys5Error_p5error_tF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidFailVersionCheck(error:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidFailVersionCheckFT5errorCSo7NSError_T_">sirenDidFailVersionCheck(error:)</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP24sirenDidFailVersionCheckys5Error_p5error_tF">sirenDidFailVersionCheck(error:)</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -234,7 +241,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">sirenDidFailVersionCheck</span><span class="p">(</span><span class="nv">error</span><span class="p">:</span> <span class="kt">NSError</span><span class="p">)</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidFailVersionCheck</span><span class="p">(</span><span class="nv">error</span><span class="p">:</span> <span class="kt">Error</span><span class="p">)</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -244,9 +251,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate36sirenDidDetectNewVersionWithoutAlertFT7messageSS_T_"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidDetectNewVersionWithoutAlert(message:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate36sirenDidDetectNewVersionWithoutAlertFT7messageSS_T_">sirenDidDetectNewVersionWithoutAlert(message:)</a>
|
||||
<a name="/s:5Siren0A8DelegateP36sirenDidDetectNewVersionWithoutAlertySS7message_AA10UpdateTypeO06updateL0tF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidDetectNewVersionWithoutAlert(message:updateType:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP36sirenDidDetectNewVersionWithoutAlertySS7message_AA10UpdateTypeO06updateL0tF">sirenDidDetectNewVersionWithoutAlert(message:updateType:)</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -268,7 +275,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">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">updateType</span><span class="p">:</span> <span class="kt"><a href="../Enums/UpdateType.html">UpdateType</a></span><span class="p">)</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -278,9 +285,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate27sirenLatestVersionInstalledFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP27sirenLatestVersionInstalledyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenLatestVersionInstalled()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate27sirenLatestVersionInstalledFT_T_">sirenLatestVersionInstalled()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP27sirenLatestVersionInstalledyyF">sirenLatestVersionInstalled()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -314,8 +321,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -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">52%</text><text x="109.5" y="14">52%</text></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="136" 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="136" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h93v20H0z"/><path fill="#4c1" d="M93 0h43v20H93z"/><path fill="url(#b)" d="M0 0h136v20H0z"/></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="113.5" y="15" fill="#010101" fill-opacity=".3">100%</text><text x="113.5" y="14">100%</text></g></svg>
|
||||
|
Before Width: | Height: | Size: 808 B After Width: | Height: | Size: 807 B |
@@ -3,11 +3,11 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.jazzy.siren</string>
|
||||
<string>com.jazzy.</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Siren</string>
|
||||
<string></string>
|
||||
<key>DocSetPlatformFamily</key>
|
||||
<string>siren</string>
|
||||
<string></string>
|
||||
<key>isDashDocset</key>
|
||||
<true/>
|
||||
<key>dashIndexFilePath</key>
|
||||
@@ -13,13 +13,12 @@
|
||||
<a title="Classes Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html">Siren Reference</a>
|
||||
<a href="index.html"> Reference</a>
|
||||
<img id="carat" src="img/carat.png" />
|
||||
Classes Reference
|
||||
</p>
|
||||
@@ -44,6 +43,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:C5Siren5Siren"></a>
|
||||
<a name="/c:@M@Siren@objc(cs)Siren"></a>
|
||||
<a name="//apple_ref/swift/Class/Siren" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:C5Siren5Siren">Siren</a>
|
||||
<a class="token" href="#/c:@M@Siren@objc(cs)Siren">Siren</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -84,7 +91,7 @@
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>The Siren Class. A singleton that is initialized using the shared() method.</p>
|
||||
<p>The Siren Class. A singleton that is initialized using the <code>shared</code> constant.</p>
|
||||
|
||||
<a href="Classes/Siren.html" class="slightly-smaller">See more</a>
|
||||
</div>
|
||||
@@ -104,8 +111,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="Siren Class Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../index.html">Siren Reference</a>
|
||||
<a href="../index.html"> Reference</a>
|
||||
<img id="carat" src="../img/carat.png" />
|
||||
Siren Class Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -65,7 +72,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>The Siren Class. A singleton that is initialized using the shared() method.</p>
|
||||
<p>The Siren Class. A singleton that is initialized using the <code>shared</code> constant.</p>
|
||||
|
||||
</section>
|
||||
<section class="section task-group-section">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren16SirenErrorDomainSS"></a>
|
||||
<a name="/s:5SirenAAC0A11ErrorDomainSSv"></a>
|
||||
<a name="//apple_ref/swift/Property/SirenErrorDomain" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren16SirenErrorDomainSS">SirenErrorDomain</a>
|
||||
<a class="token" href="#/s:5SirenAAC0A11ErrorDomainSSv">SirenErrorDomain</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -101,9 +108,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren8delegateXwGSqPS_13SirenDelegate__"></a>
|
||||
<a name="/s:5SirenAAC8delegateAA0A8Delegate_pSgXwv"></a>
|
||||
<a name="//apple_ref/swift/Property/delegate" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren8delegateXwGSqPS_13SirenDelegate__">delegate</a>
|
||||
<a class="token" href="#/s:5SirenAAC8delegateAA0A8Delegate_pSgXwv">delegate</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -143,9 +150,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren12debugEnabledSb"></a>
|
||||
<a name="/s:5SirenAAC12debugEnabledSbv"></a>
|
||||
<a name="//apple_ref/swift/Property/debugEnabled" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren12debugEnabledSb">debugEnabled</a>
|
||||
<a class="token" href="#/s:5SirenAAC12debugEnabledSbv">debugEnabled</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -171,9 +178,9 @@ When enabled, a stream of print() statements are logged to your console when a v
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren9alertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC9alertTypeAB05AlertC0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/alertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren9alertTypeOS0_9AlertType">alertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC9alertTypeAB05AlertC0Ov">alertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -189,7 +196,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">alertType</span><span class="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,9 +206,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC20majorUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/majorUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren20majorUpdateAlertTypeOS0_9AlertType">majorUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC20majorUpdateAlertTypeAB0dE0Ov">majorUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -218,7 +225,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -228,9 +235,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC20minorUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/minorUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren20minorUpdateAlertTypeOS0_9AlertType">minorUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC20minorUpdateAlertTypeAB0dE0Ov">minorUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -247,7 +254,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -257,9 +264,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC20patchUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/patchUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren20patchUpdateAlertTypeOS0_9AlertType">patchUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC20patchUpdateAlertTypeAB0dE0Ov">patchUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -276,7 +283,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -286,9 +293,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType"></a>
|
||||
<a name="/s:5SirenAAC23revisionUpdateAlertTypeAB0dE0Ov"></a>
|
||||
<a name="//apple_ref/swift/Property/revisionUpdateAlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren23revisionUpdateAlertTypeOS0_9AlertType">revisionUpdateAlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC23revisionUpdateAlertTypeAB0dE0Ov">revisionUpdateAlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -305,7 +312,7 @@ See the Siren.AlertType enum for full 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="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>
|
||||
<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="p">:</span> <span class="kt"><a href="../Classes/Siren/AlertType.html">AlertType</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">option</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -315,9 +322,9 @@ See the Siren.AlertType enum for full details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren7appNameSS"></a>
|
||||
<a name="/s:5SirenAAC7appNameSSv"></a>
|
||||
<a name="//apple_ref/swift/Property/appName" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren7appNameSS">appName</a>
|
||||
<a class="token" href="#/s:5SirenAAC7appNameSSv">appName</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -333,7 +340,7 @@ By default, it’s set to the name of the app that’s stored in your pl
|
||||
<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">appName</span><span class="p">:</span> <span class="kt">String</span> <span class="o">=</span> <span class="kt">Bundle</span><span class="o">.</span><span class="n">main</span><span class="o">.</span><span class="nf">bestMatchingAppName</span><span class="p">()</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">appName</span> <span class="o">=</span> <span class="kt">Bundle</span><span class="o">.</span><span class="nf">bestMatchingAppName</span><span class="p">()</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -343,9 +350,9 @@ By default, it’s set to the name of the app that’s stored in your pl
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren11countryCodeGSqSS_"></a>
|
||||
<a name="/s:5SirenAAC11countryCodeSSSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/countryCode" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren11countryCodeGSqSS_">countryCode</a>
|
||||
<a class="token" href="#/s:5SirenAAC11countryCodeSSSgv">countryCode</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -372,9 +379,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:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_"></a>
|
||||
<a name="/s:5SirenAAC25forceLanguageLocalizationAB0C4TypeOSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/forceLanguageLocalization" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren25forceLanguageLocalizationGSqOS0_12LanguageType_">forceLanguageLocalization</a>
|
||||
<a class="token" href="#/s:5SirenAAC25forceLanguageLocalizationAB0C4TypeOSgv">forceLanguageLocalization</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -400,9 +407,9 @@ See the Siren.LanguageType enum for more details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren24alertControllerTintColorGSqCSo7UIColor_"></a>
|
||||
<a name="/s:5SirenAAC24alertControllerTintColorSo7UIColorCSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/alertControllerTintColor" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren24alertControllerTintColorGSqCSo7UIColor_">alertControllerTintColor</a>
|
||||
<a class="token" href="#/s:5SirenAAC24alertControllerTintColorSo7UIColorCSgv">alertControllerTintColor</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -427,9 +434,9 @@ See the Siren.LanguageType enum for more details.</p>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi"></a>
|
||||
<a name="/s:5SirenAAC50showAlertAfterCurrentVersionHasBeenReleasedForDaysSiv"></a>
|
||||
<a name="//apple_ref/swift/Property/showAlertAfterCurrentVersionHasBeenReleasedForDays" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren50showAlertAfterCurrentVersionHasBeenReleasedForDaysSi">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
|
||||
<a class="token" href="#/s:5SirenAAC50showAlertAfterCurrentVersionHasBeenReleasedForDaysSiv">showAlertAfterCurrentVersionHasBeenReleasedForDays</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -455,9 +462,9 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:vC5Siren5Siren22currentAppStoreVersionGSqSS_"></a>
|
||||
<a name="/s:5SirenAAC22currentAppStoreVersionSSSgv"></a>
|
||||
<a name="//apple_ref/swift/Property/currentAppStoreVersion" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:vC5Siren5Siren22currentAppStoreVersionGSqSS_">currentAppStoreVersion</a>
|
||||
<a class="token" href="#/s:5SirenAAC22currentAppStoreVersionSSSgv">currentAppStoreVersion</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -482,9 +489,9 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:ZvC5Siren5Siren6sharedS0_"></a>
|
||||
<a name="/s:5SirenAAC6sharedABvZ"></a>
|
||||
<a name="//apple_ref/swift/Variable/shared" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:ZvC5Siren5Siren6sharedS0_">shared</a>
|
||||
<a class="token" href="#/s:5SirenAAC6sharedABvZ">shared</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -509,9 +516,9 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_"></a>
|
||||
<a name="/s:5SirenAAC12checkVersionyAB0C9CheckTypeO0bE0_tF"></a>
|
||||
<a name="//apple_ref/swift/Method/checkVersion(checkType:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FC5Siren5Siren12checkVersionFT9checkTypeOS0_16VersionCheckType_T_">checkVersion(checkType:)</a>
|
||||
<a class="token" href="#/s:5SirenAAC12checkVersionyAB0C9CheckTypeO0bE0_tF">checkVersion(checkType:)</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -521,7 +528,7 @@ Defaults to 1 day to avoid an issue where Apple updates the JSON faster than the
|
||||
<div class="abstract">
|
||||
<p>Checks the currently installed version of your app against the App Store.
|
||||
The default check is against the US App Store, but if your app is not listed in the US,
|
||||
you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11countryCodeGSqSS_">countryCode</a></code> property before calling this method. Please refer to the countryCode property for more information.</p>
|
||||
you should set the <code><a href="../Classes/Siren.html#/s:5SirenAAC11countryCodeSSSgv">countryCode</a></code> property before calling this method. Please refer to the countryCode property for more information.</p>
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
@@ -557,9 +564,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FC5Siren5Siren14launchAppStoreFT_T_"></a>
|
||||
<a name="/s:5SirenAAC14launchAppStoreyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/launchAppStore()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FC5Siren5Siren14launchAppStoreFT_T_">launchAppStore()</a>
|
||||
<a class="token" href="#/s:5SirenAAC14launchAppStoreyyF">launchAppStore()</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -593,9 +600,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:OC5Siren5Siren9AlertType"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/AlertType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:OC5Siren5Siren9AlertType">AlertType</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO">AlertType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -621,9 +628,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:OC5Siren5Siren16VersionCheckType"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/VersionCheckType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:OC5Siren5Siren16VersionCheckType">VersionCheckType</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO">VersionCheckType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -649,9 +656,9 @@ you should set the <code><a href="../Classes/Siren.html#/s:vC5Siren5Siren11count
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:OC5Siren5Siren12LanguageType"></a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/LanguageType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:OC5Siren5Siren12LanguageType">LanguageType</a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO">LanguageType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -682,8 +689,8 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="AlertType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../../index.html">Siren Reference</a>
|
||||
<a href="../../index.html"> Reference</a>
|
||||
<img id="carat" src="../../img/carat.png" />
|
||||
AlertType Enum Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO5forceA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/force" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType5forceFMS1_S1_">force</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO5forceA2DmF">force</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -105,9 +112,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO6optionA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/option" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType6optionFMS1_S1_">option</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO6optionA2DmF">option</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -136,9 +143,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO4skipA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/skip" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4skipFMS1_S1_">skip</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO4skipA2DmF">skip</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -167,9 +174,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC9AlertTypeO4noneA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/none" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren9AlertType4noneFMS1_S1_">none</a>
|
||||
<a class="token" href="#/s:5SirenAAC9AlertTypeO4noneA2DmF">none</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -197,8 +204,8 @@ for use in a custom UI within the sirenDidDetectNewVersionWithoutAlert() delegat
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="LanguageType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../../index.html">Siren Reference</a>
|
||||
<a href="../../index.html"> Reference</a>
|
||||
<img id="carat" src="../../img/carat.png" />
|
||||
LanguageType Enum Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -77,9 +84,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Arabic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6ArabicFMS1_S1_">Arabic</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6arabicA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/arabic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6arabicA2DmF">arabic</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -87,8 +94,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -108,9 +114,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Armenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8ArmenianFMS1_S1_">Armenian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8armenianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/armenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8armenianA2DmF">armenian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -118,8 +124,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -139,9 +144,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Basque" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6BasqueFMS1_S1_">Basque</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6basqueA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/basque" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6basqueA2DmF">basque</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -149,8 +154,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -170,9 +174,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/ChineseSimplified" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType17ChineseSimplifiedFMS1_S1_">ChineseSimplified</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO17chineseSimplifiedA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/chineseSimplified" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO17chineseSimplifiedA2DmF">chineseSimplified</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -180,8 +184,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -201,9 +204,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/ChineseTraditional" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18ChineseTraditionalFMS1_S1_">ChineseTraditional</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO18chineseTraditionalA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/chineseTraditional" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO18chineseTraditionalA2DmF">chineseTraditional</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -211,8 +214,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -232,9 +234,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Croatian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8CroatianFMS1_S1_">Croatian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8croatianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/croatian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8croatianA2DmF">croatian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -242,8 +244,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -263,9 +264,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5CzechFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Czech" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5CzechFMS1_S1_">Czech</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5czechA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/czech" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5czechA2DmF">czech</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -273,8 +274,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -294,9 +294,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Danish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6DanishFMS1_S1_">Danish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6danishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/danish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6danishA2DmF">danish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -304,8 +304,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -325,9 +324,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Dutch" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5DutchFMS1_S1_">Dutch</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5dutchA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/dutch" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5dutchA2DmF">dutch</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -335,8 +334,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -356,9 +354,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/English" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7EnglishFMS1_S1_">English</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7englishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/english" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7englishA2DmF">english</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -366,8 +364,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -387,9 +384,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Estonian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8EstonianFMS1_S1_">Estonian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8estonianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/estonian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8estonianA2DmF">estonian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -397,8 +394,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -418,9 +414,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Finnish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7FinnishFMS1_S1_">Finnish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7finnishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/finnish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7finnishA2DmF">finnish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -428,8 +424,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -449,9 +444,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/French" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6FrenchFMS1_S1_">French</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6frenchA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/french" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6frenchA2DmF">french</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -459,8 +454,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -480,9 +474,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/German" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6GermanFMS1_S1_">German</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6germanA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/german" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6germanA2DmF">german</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -490,8 +484,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -511,9 +504,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Greek" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5GreekFMS1_S1_">Greek</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5greekA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/greek" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5greekA2DmF">greek</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -521,8 +514,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -542,9 +534,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Hebrew" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6HebrewFMS1_S1_">Hebrew</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6hebrewA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/hebrew" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6hebrewA2DmF">hebrew</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -552,8 +544,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -573,9 +564,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Hungarian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9HungarianFMS1_S1_">Hungarian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO9hungarianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/hungarian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO9hungarianA2DmF">hungarian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -583,8 +574,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -604,9 +594,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Indonesian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10IndonesianFMS1_S1_">Indonesian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO10indonesianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/indonesian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO10indonesianA2DmF">indonesian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -614,8 +604,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -635,9 +624,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Italian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7ItalianFMS1_S1_">Italian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7italianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/italian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7italianA2DmF">italian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -645,8 +634,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -666,9 +654,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Japanese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType8JapaneseFMS1_S1_">Japanese</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO8japaneseA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/japanese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO8japaneseA2DmF">japanese</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -676,8 +664,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -697,9 +684,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Korean" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6KoreanFMS1_S1_">Korean</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6koreanA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/korean" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6koreanA2DmF">korean</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -707,8 +694,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -728,9 +714,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Latvian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7LatvianFMS1_S1_">Latvian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7latvianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/latvian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7latvianA2DmF">latvian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -738,8 +724,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -759,9 +744,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Lithuanian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10LithuanianFMS1_S1_">Lithuanian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO10lithuanianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/lithuanian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO10lithuanianA2DmF">lithuanian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -769,8 +754,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -790,9 +774,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Malay" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType5MalayFMS1_S1_">Malay</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO5malayA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/malay" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO5malayA2DmF">malay</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -800,8 +784,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -821,9 +804,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Norwegian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9NorwegianFMS1_S1_">Norwegian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO9norwegianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/norwegian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO9norwegianA2DmF">norwegian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -831,8 +814,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -852,9 +834,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7PersianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Persian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7PersianFMS1_S1_">Persian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7persianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/persian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7persianA2DmF">persian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -862,8 +844,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -883,9 +864,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType18PersianAfghanistanFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PersianAfghanistan" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18PersianAfghanistanFMS1_S1_">PersianAfghanistan</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO18persianAfghanistanA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/persianAfghanistan" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO18persianAfghanistanA2DmF">persianAfghanistan</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -893,8 +874,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -914,9 +894,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType11PersianIranFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PersianIran" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType11PersianIranFMS1_S1_">PersianIran</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO11persianIranA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/persianIran" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO11persianIranA2DmF">persianIran</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -924,8 +904,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -945,9 +924,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Polish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType6PolishFMS1_S1_">Polish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO6polishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/polish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO6polishA2DmF">polish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -955,8 +934,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -976,9 +954,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PortugueseBrazil" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType16PortugueseBrazilFMS1_S1_">PortugueseBrazil</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO16portugueseBrazilA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/portugueseBrazil" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO16portugueseBrazilA2DmF">portugueseBrazil</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -986,8 +964,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1007,9 +984,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/PortuguesePortugal" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType18PortuguesePortugalFMS1_S1_">PortuguesePortugal</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO18portuguesePortugalA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/portuguesePortugal" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO18portuguesePortugalA2DmF">portuguesePortugal</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1017,8 +994,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1038,9 +1014,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Russian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7RussianFMS1_S1_">Russian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7russianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/russian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7russianA2DmF">russian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1048,8 +1024,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1069,9 +1044,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/SerbianCyrillic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType15SerbianCyrillicFMS1_S1_">SerbianCyrillic</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO15serbianCyrillicA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/serbianCyrillic" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO15serbianCyrillicA2DmF">serbianCyrillic</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1079,8 +1054,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1100,9 +1074,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/SerbianLatin" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType12SerbianLatinFMS1_S1_">SerbianLatin</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO12serbianLatinA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/serbianLatin" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO12serbianLatinA2DmF">serbianLatin</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1110,8 +1084,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1131,9 +1104,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Slovenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType9SlovenianFMS1_S1_">Slovenian</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO9slovenianA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/slovenian" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO9slovenianA2DmF">slovenian</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1141,8 +1114,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1162,9 +1134,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Spanish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SpanishFMS1_S1_">Spanish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7spanishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/spanish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7spanishA2DmF">spanish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1172,8 +1144,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1193,9 +1164,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Swedish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7SwedishFMS1_S1_">Swedish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7swedishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/swedish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7swedishA2DmF">swedish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1203,8 +1174,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1224,9 +1194,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Thai" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType4ThaiFMS1_S1_">Thai</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO4thaiA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/thai" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO4thaiA2DmF">thai</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1234,8 +1204,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1255,9 +1224,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Turkish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType7TurkishFMS1_S1_">Turkish</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO7turkishA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/turkish" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO7turkishA2DmF">turkish</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1265,8 +1234,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1286,9 +1254,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType4UrduFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Urdu" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType4UrduFMS1_S1_">Urdu</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO4urduA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/urdu" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO4urduA2DmF">urdu</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1296,8 +1264,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1317,9 +1284,9 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_"></a>
|
||||
<a name="//apple_ref/swift/Element/Vietnamese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren12LanguageType10VietnameseFMS1_S1_">Vietnamese</a>
|
||||
<a name="/s:5SirenAAC12LanguageTypeO10vietnameseA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/vietnamese" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5SirenAAC12LanguageTypeO10vietnameseA2DmF">vietnamese</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -1327,8 +1294,7 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Undocumented</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
@@ -1346,8 +1312,8 @@ by setting the forceLanguageLocalization property before calling checkVersion()<
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="VersionCheckType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../../index.html">Siren Reference</a>
|
||||
<a href="../../index.html"> Reference</a>
|
||||
<img id="carat" src="../../img/carat.png" />
|
||||
VersionCheckType Enum Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO11immediatelyA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/immediately" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType11immediatelyFMS1_S1_">immediately</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO11immediatelyA2DmF">immediately</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -105,9 +112,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO5dailyA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/daily" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType5dailyFMS1_S1_">daily</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO5dailyA2DmF">daily</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -136,9 +143,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_"></a>
|
||||
<a name="/s:5SirenAAC16VersionCheckTypeO6weeklyA2DmF"></a>
|
||||
<a name="//apple_ref/swift/Element/weekly" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FOC5Siren5Siren16VersionCheckType6weeklyFMS1_S1_">weekly</a>
|
||||
<a class="token" href="#/s:5SirenAAC16VersionCheckTypeO6weeklyA2DmF">weekly</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -165,8 +172,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,125 @@
|
||||
<!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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html"> 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>
|
||||
<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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<a href="Enums/UpdateType.html">UpdateType</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">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO"></a>
|
||||
<a name="//apple_ref/swift/Enum/UpdateType" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO">UpdateType</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>MARK - Siren UpdateType
|
||||
<code>UpdateType</code> defines what kind of update is available
|
||||
It is used as parameter if user wants to use
|
||||
custom alert to inform the user about an update.</p>
|
||||
|
||||
<ul>
|
||||
<li>major: Major release available: A.b.c.d</li>
|
||||
<li>minor: Minor release available: a.B.c.d</li>
|
||||
<li>patch: Patch release available: a.b.C.d</li>
|
||||
<li>revision: Revision release available: a.b.c.D</li>
|
||||
<li>unknown: No information available about the update</li>
|
||||
</ul>
|
||||
|
||||
<a href="Enums/UpdateType.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">UpdateType</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>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
@@ -0,0 +1,250 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>UpdateType 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>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a name="//apple_ref/swift/Enum/UpdateType" class="dashAnchor"></a>
|
||||
<a title="UpdateType Enum Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../index.html"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../index.html"> Reference</a>
|
||||
<img id="carat" src="../img/carat.png" />
|
||||
UpdateType 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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<a href="../Enums/UpdateType.html">UpdateType</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>UpdateType</h1>
|
||||
<div class="declaration">
|
||||
<div class="language">
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>MARK - Siren UpdateType
|
||||
<code>UpdateType</code> defines what kind of update is available
|
||||
It is used as parameter if user wants to use
|
||||
custom alert to inform the user about an update.</p>
|
||||
|
||||
<ul>
|
||||
<li>major: Major release available: A.b.c.d</li>
|
||||
<li>minor: Minor release available: a.B.c.d</li>
|
||||
<li>patch: Patch release available: a.b.C.d</li>
|
||||
<li>revision: Revision release available: a.b.c.D</li>
|
||||
<li>unknown: No information available about the update</li>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
<section class="section task-group-section">
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO5majorA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/major" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO5majorA2CmF">major</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO5minorA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/minor" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO5minorA2CmF">minor</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO5patchA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/patch" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO5patchA2CmF">patch</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO8revisionA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/revision" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO8revisionA2CmF">revision</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</span><span class="p">:</span> <span class="kt">String</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="task-group">
|
||||
<ul>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:5Siren10UpdateTypeO7unknownA2CmF"></a>
|
||||
<a name="//apple_ref/swift/Element/unknown" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren10UpdateTypeO7unknownA2CmF">unknown</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</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">UpdateType</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>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
@@ -13,13 +13,12 @@
|
||||
<a title="Protocols Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html">Siren Reference</a>
|
||||
<a href="index.html"> Reference</a>
|
||||
<img id="carat" src="img/carat.png" />
|
||||
Protocols Reference
|
||||
</p>
|
||||
@@ -44,6 +43,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:P5Siren13SirenDelegate"></a>
|
||||
<a name="/s:5Siren0A8DelegateP"></a>
|
||||
<a name="//apple_ref/swift/Protocol/SirenDelegate" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:P5Siren13SirenDelegate">SirenDelegate</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP">SirenDelegate</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -92,7 +99,7 @@
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kd">class</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,8 +111,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
@@ -14,13 +14,12 @@
|
||||
<a title="SirenDelegate Protocol Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="../index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="../index.html">Siren Reference</a>
|
||||
<a href="../index.html"> Reference</a>
|
||||
<img id="carat" src="../img/carat.png" />
|
||||
SirenDelegate Protocol Reference
|
||||
</p>
|
||||
@@ -45,6 +44,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="../Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -61,7 +68,7 @@
|
||||
<h1>SirenDelegate</h1>
|
||||
<div class="declaration">
|
||||
<div class="language">
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kd">class</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -74,9 +81,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP24sirenDidShowUpdateDialogyA2AC9AlertTypeO05alertI0_tF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidShowUpdateDialog(alertType:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidShowUpdateDialogFT9alertTypeOCS_5Siren9AlertType_T_">sirenDidShowUpdateDialog(alertType:)</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP24sirenDidShowUpdateDialogyA2AC9AlertTypeO05alertI0_tF">sirenDidShowUpdateDialog(alertType:)</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -108,9 +115,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate26sirenUserDidLaunchAppStoreFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP26sirenUserDidLaunchAppStoreyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenUserDidLaunchAppStore()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate26sirenUserDidLaunchAppStoreFT_T_">sirenUserDidLaunchAppStore()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP26sirenUserDidLaunchAppStoreyyF">sirenUserDidLaunchAppStore()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -142,9 +149,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate23sirenUserDidSkipVersionFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP23sirenUserDidSkipVersionyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenUserDidSkipVersion()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate23sirenUserDidSkipVersionFT_T_">sirenUserDidSkipVersion()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP23sirenUserDidSkipVersionyyF">sirenUserDidSkipVersion()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -176,9 +183,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate18sirenUserDidCancelFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP18sirenUserDidCancelyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenUserDidCancel()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate18sirenUserDidCancelFT_T_">sirenUserDidCancel()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP18sirenUserDidCancelyyF">sirenUserDidCancel()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -210,9 +217,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate24sirenDidFailVersionCheckFT5errorCSo7NSError_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP24sirenDidFailVersionCheckys5Error_p5error_tF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidFailVersionCheck(error:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate24sirenDidFailVersionCheckFT5errorCSo7NSError_T_">sirenDidFailVersionCheck(error:)</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP24sirenDidFailVersionCheckys5Error_p5error_tF">sirenDidFailVersionCheck(error:)</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -234,7 +241,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">sirenDidFailVersionCheck</span><span class="p">(</span><span class="nv">error</span><span class="p">:</span> <span class="kt">NSError</span><span class="p">)</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidFailVersionCheck</span><span class="p">(</span><span class="nv">error</span><span class="p">:</span> <span class="kt">Error</span><span class="p">)</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -244,9 +251,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate36sirenDidDetectNewVersionWithoutAlertFT7messageSS_T_"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidDetectNewVersionWithoutAlert(message:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate36sirenDidDetectNewVersionWithoutAlertFT7messageSS_T_">sirenDidDetectNewVersionWithoutAlert(message:)</a>
|
||||
<a name="/s:5Siren0A8DelegateP36sirenDidDetectNewVersionWithoutAlertySS7message_AA10UpdateTypeO06updateL0tF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenDidDetectNewVersionWithoutAlert(message:updateType:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP36sirenDidDetectNewVersionWithoutAlertySS7message_AA10UpdateTypeO06updateL0tF">sirenDidDetectNewVersionWithoutAlert(message:updateType:)</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -268,7 +275,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">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>
|
||||
<pre class="highlight"><code><span class="kd">func</span> <span class="nf">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">updateType</span><span class="p">:</span> <span class="kt"><a href="../Enums/UpdateType.html">UpdateType</a></span><span class="p">)</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -278,9 +285,9 @@
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:FP5Siren13SirenDelegate27sirenLatestVersionInstalledFT_T_"></a>
|
||||
<a name="/s:5Siren0A8DelegateP27sirenLatestVersionInstalledyyF"></a>
|
||||
<a name="//apple_ref/swift/Method/sirenLatestVersionInstalled()" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:FP5Siren13SirenDelegate27sirenLatestVersionInstalledFT_T_">sirenLatestVersionInstalled()</a>
|
||||
<a class="token" href="#/s:5Siren0A8DelegateP27sirenLatestVersionInstalledyyF">sirenLatestVersionInstalled()</a>
|
||||
</code>
|
||||
<span class="declaration-note">
|
||||
Default implementation
|
||||
@@ -314,8 +321,8 @@
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title> 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=" Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html"> Reference</a>
|
||||
<img id="carat" src="img/carat.png" />
|
||||
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>
|
||||
<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>
|
||||
<ul class="nav-group-tasks">
|
||||
<li class="nav-group-task">
|
||||
<a href="Enums/UpdateType.html">UpdateType</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">
|
||||
|
||||
<h3 id='authors' class='heading'>Authors</h3>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
<section id="footer">
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
@@ -1,346 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Siren 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="Siren Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html">Siren Docs</a> (52% 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" />
|
||||
Siren 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>
|
||||
<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="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 id='siren' class='heading'>Siren 🚨</h1>
|
||||
<h3 id='notify-users-when-a-new-version-of-your-app-is-available-and-prompt-them-to-upgrade' class='heading'>Notify users when a new version of your app is available and prompt them to upgrade.</h3>
|
||||
<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' class='heading'><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>
|
||||
<h2 id='table-of-contents' class='heading'>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 & Submissions</a></li>
|
||||
<li><a href="https://github.com/ArtSabintsev/Siren#phased-releases">Phrased Releases</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>
|
||||
<h2 id='a-href-https-github-com-artsabintsev-siren-created-and-maintained-by-attribution-a' class='heading'>- <a href="https://github.com/ArtSabintsev/Siren#created-and-maintained-by">Attribution</a></h2>
|
||||
<h2 id='about' class='heading'>About</h2>
|
||||
|
||||
<p><strong>Siren</strong> checks a user’s currently installed version of your iOS app against the version that is currently available in the App Store.</p>
|
||||
|
||||
<p>If a new version is available, an alert can be presented to the user informing them of the newer version, and giving them the option to update the application. Alternatively, Siren can notify your app programmatically, enabling you to inform the user through alternative means, such as a custom interface.</p>
|
||||
|
||||
<ul>
|
||||
<li>Siren is built to work with the <a href="http://semver.org/"><strong>Semantic Versioning</strong></a> system.
|
||||
|
||||
<ul>
|
||||
<li>Semantic Versioning is a three number versioning system (e.g., 1.0.0)</li>
|
||||
<li>Siren also supports two-number versioning (e.g., 1.0) and four-number versioning (e.g., 1.0.0.0)</li>
|
||||
</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>
|
||||
<h3 id='readme-translations' class='heading'>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>
|
||||
<h2 id='features' class='heading'>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 <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>
|
||||
</ul>
|
||||
<h2 id='screenshots' class='heading'>Screenshots</h2>
|
||||
|
||||
<ul>
|
||||
<li>The <strong>left picture</strong> forces the user to update the app.</li>
|
||||
<li>The <strong>center picture</strong> gives the user the option to update the app.</li>
|
||||
<li>The <strong>right picture</strong> gives the user the option to skip the current update.</li>
|
||||
<li>These options are controlled by the <code>Siren.AlertType</code> enum.</li>
|
||||
</ul>
|
||||
|
||||
<p><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"></p>
|
||||
<h2 id='installation-instructions' class='heading'>Installation Instructions</h2>
|
||||
<h3 id='cocoapods' class='heading'>CocoaPods</h3>
|
||||
|
||||
<p>For Swift 3 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Siren'</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 4 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Siren'</span><span class="p">,</span> <span class="ss">:git</span> <span class="o">=></span> <span class="s1">'https://github.com/ArtSabintsev/Siren.git'</span><span class="p">,</span> <span class="ss">:branch</span> <span class="o">=></span> <span class="s1">'swift4'</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 2.3 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Siren'</span><span class="p">,</span> <span class="ss">:git</span> <span class="o">=></span> <span class="s1">'https://github.com/ArtSabintsev/Siren.git'</span><span class="p">,</span> <span class="ss">:branch</span> <span class="o">=></span> <span class="s1">'swift2.3'</span>
|
||||
</code></pre>
|
||||
<h3 id='carthage' class='heading'>Carthage</h3>
|
||||
|
||||
<p>For Swift 3 support:</p>
|
||||
<pre class="highlight swift"><code><span class="n">github</span> <span class="s">"ArtSabintsev/Siren"</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 4 support:</p>
|
||||
<pre class="highlight swift"><code><span class="n">github</span> <span class="s">"ArtSabintsev/Siren"</span><span class="p">,</span> <span class="s">"swift4"</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 2.3 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">github</span> <span class="s2">"ArtSabintsev/Siren"</span><span class="p">,</span> <span class="s2">"swift2.3"</span>
|
||||
</code></pre>
|
||||
<h3 id='swift-package-manager' class='heading'>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">2</span><span class="p">)</span>
|
||||
</code></pre>
|
||||
<h2 id='example-code' class='heading'>Example Code</h2>
|
||||
|
||||
<p>Below is some commented sample code. Adapt this to meet your app’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]?) -> Bool {
|
||||
/* Siren code should go below window?.makeKeyAndVisible() */
|
||||
|
||||
// Siren is a singleton
|
||||
let siren = Siren.shared
|
||||
|
||||
// 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.
|
||||
siren.checkVersion(checkType: .immediately)
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
func applicationDidBecomeActive(application: UIApplication) {
|
||||
/*
|
||||
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(_:). */
|
||||
|
||||
Siren.shared.checkVersion(checkType: .daily)
|
||||
}
|
||||
|
||||
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.
|
||||
|
||||
ONLY USE WITH Siren.AlertType.immediately
|
||||
*/
|
||||
|
||||
Siren.shared.checkVersion(checkType: .immediately)
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>And you’re all set!</p>
|
||||
<h3 id='prompting-for-updates-without-alerts' class='heading'>Prompting for Updates without Alerts</h3>
|
||||
|
||||
<p>Some developers may want to display a less obtrusive custom interface, like a banner or small icon. To accomplish this, you can disable alert presentation by doing the following:</p>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">application</span><span class="p">(</span><span class="nv">application</span><span class="p">:</span> <span class="kt">UIApplication</span><span class="p">,</span> <span class="n">didFinishLaunchingWithOptions</span> <span class="nv">launchOptions</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSObject</span><span class="p">:</span> <span class="kt">AnyObject</span><span class="p">]?)</span> <span class="o">-></span> <span class="kt">Bool</span> <span class="p">{</span>
|
||||
<span class="o">...</span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">delegate</span> <span class="o">=</span> <span class="k">self</span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">alertType</span> <span class="o">=</span> <span class="o">.</span><span class="k">none</span>
|
||||
<span class="o">...</span>
|
||||
<span class="p">}</span>
|
||||
|
||||
<span class="kd">extension</span> <span class="kt">AppDelegate</span><span class="p">:</span> <span class="kt">SirenDelegate</span> <span class="p">{</span>
|
||||
<span class="c1">// Returns a localized message to this delegate method upon performing a successful version check</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"</span><span class="se">\(</span><span class="n">message</span><span class="se">)</span><span class="s">"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</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>
|
||||
<h2 id='granular-version-update-management' class='heading'>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 Siren.AlertType.option for all updates */</span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">revisionUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">patchUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">minorUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">majorUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
</code></pre>
|
||||
<h2 id='optional-delegate-and-delegate-methods' class='heading'>Optional Delegate and Delegate Methods</h2>
|
||||
|
||||
<p>Six delegate methods allow you to handle or track the user’s behavior. Each method has a default, empty implementation, effectively making each of these methods optional.</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kd">class</span> <span class="p">{</span>
|
||||
<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">Siren</span><span class="o">.</span><span class="kt">AlertType</span><span class="p">)</span> <span class="c1">// User presented with update dialog</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenUserDidLaunchAppStore</span><span class="p">()</span> <span class="c1">// User did click on button that launched App Store.app</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenUserDidSkipVersion</span><span class="p">()</span> <span class="c1">// User did click on button that skips version update</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenUserDidCancel</span><span class="p">()</span> <span class="c1">// User did click on button that cancels update dialog</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenDidFailVersionCheck</span><span class="p">(</span><span class="nv">error</span><span class="p">:</span> <span class="kt">NSError</span><span class="p">)</span> <span class="c1">// Siren failed to perform version check (may return system-level error)</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="c1">// Siren performed version check and did not display alert</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<h2 id='localization' class='heading'>Localization</h2>
|
||||
|
||||
<p>Siren is localized for</p>
|
||||
|
||||
<ul>
|
||||
<li>Arabic</li>
|
||||
<li>Armenian</li>
|
||||
<li>Basque</li>
|
||||
<li>Chinese (Simplified and Traditional)</li>
|
||||
<li>Croatian</li>
|
||||
<li>Czech</li>
|
||||
<li>Danish</li>
|
||||
<li>Dutch</li>
|
||||
<li>English</li>
|
||||
<li>Estonian</li>
|
||||
<li>Finnish</li>
|
||||
<li>French</li>
|
||||
<li>German</li>
|
||||
<li>Greek</li>
|
||||
<li>Hebrew</li>
|
||||
<li>Hungarian</li>
|
||||
<li>Indonesian</li>
|
||||
<li>Italian</li>
|
||||
<li>Japanese</li>
|
||||
<li>Korean</li>
|
||||
<li>Latvian</li>
|
||||
<li>Lithuanian</li>
|
||||
<li>Malay</li>
|
||||
<li>Norwegian (Bokmål)</li>
|
||||
<li>Persian (Afghanistan, Iran, Persian)</li>
|
||||
<li>Polish</li>
|
||||
<li>Portuguese (Brazil and Portugal)</li>
|
||||
<li>Russian</li>
|
||||
<li>Serbian (Cyrillic and Latin)</li>
|
||||
<li>Slovenian</li>
|
||||
<li>Spanish</li>
|
||||
<li>Swedish</li>
|
||||
<li>Thai</li>
|
||||
<li>Turkish</li>
|
||||
<li>Urdu</li>
|
||||
<li>Vietnamese</li>
|
||||
</ul>
|
||||
|
||||
<p>You may want the update dialog to <em>always</em> appear in a certain language, ignoring iOS’s language setting (e.g. apps released in a specific country).</p>
|
||||
|
||||
<p>You can enable it like so:</p>
|
||||
<pre class="highlight swift"><code><span class="kt">Siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">forceLanguageLocalization</span> <span class="o">=</span> <span class="kt">Siren</span><span class="o">.</span><span class="kt">LanguageType</span><span class="o">.<</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">LanguageType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
</code></pre>
|
||||
<h2 id='device-compatibility' class='heading'>Device Compatibility</h2>
|
||||
|
||||
<p>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 <em>false positive</em> case regarding app updating.</p>
|
||||
<h2 id='testing-siren' class='heading'>Testing Siren</h2>
|
||||
|
||||
<p>Temporarily change the version string in Xcode (within the <code>.xcodeproj</code>) to an older version than the one that’s currently available in the App Store. Afterwards, build and run your app, and you should see the alert.</p>
|
||||
|
||||
<p>If you currently don’t have an app in the store, change your bundleID to one that is already in the store. In the sample app packaged with this library, we use the <a href="https://itunes.apple.com/us/app/itunes-connect/id376771144?mt=8">iTunes Connect Mobile</a> app’s bundleID: <code>com.apple.itunesconnect.mobile</code>.</p>
|
||||
|
||||
<p>For your convenience, you may turn on debugging statements by setting <code>self.debugEnabled = true</code> before calling the <code>checkVersion()</code> method.</p>
|
||||
<h2 id='app-store-submissions' class='heading'>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>
|
||||
<h2 id='phased-releases' class='heading'>Phased Releases</h2>
|
||||
|
||||
<p>In 2017, Apple announced the <a href="https://itunespartner.apple.com/en/apps/faq/Managing%20Your%20Apps_Submission%20Process">ability to rollout app updates gradually (a.k.a. Phased Releases)</a>. Siren will continue to work as it has in the past, presenting an update modal to <em>all</em> users. If you opt-in to a phased rollout for a specific version, you will need to remotely disable Siren until the rollout is done.</p>
|
||||
<h2 id='words-of-caution' class='heading'>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 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 <code>showAlertAfterCurrentVersionHasBeenReleasedForDays</code>.</p>
|
||||
<h2 id='ports' class='heading'>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’ 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’s Siren library</strong></a></li>
|
||||
<li>The Siren Swift library inspired the React Native library.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<h2 id='created-and-maintained-by' class='heading'>Created and maintained by</h2>
|
||||
|
||||
<p><a href="http://www.sabintsev.com/">Arthur Ariel Sabintsev</a> & <a href="http://twitter.com/getaaron">Aaron Brager</a></p>
|
||||
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Siren Reference</title>
|
||||
<title> 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'>
|
||||
@@ -10,18 +10,17 @@
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a title="Siren Reference"></a>
|
||||
<a title=" Reference"></a>
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<p><a href="index.html">Siren Docs</a> (52% 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"> Docs</a> (100% documented)</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content-wrapper">
|
||||
<p id="breadcrumbs">
|
||||
<a href="index.html">Siren Reference</a>
|
||||
<a href="index.html"> Reference</a>
|
||||
<img id="carat" src="img/carat.png" />
|
||||
Siren Reference
|
||||
Reference
|
||||
</p>
|
||||
</div>
|
||||
<div class="content-wrapper">
|
||||
@@ -44,6 +43,14 @@
|
||||
</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/UpdateType.html">UpdateType</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group-name">
|
||||
<a href="Protocols.html">Protocols</a>
|
||||
<ul class="nav-group-tasks">
|
||||
@@ -58,286 +65,13 @@
|
||||
<section>
|
||||
<section class="section">
|
||||
|
||||
<h1 id='siren' class='heading'>Siren 🚨</h1>
|
||||
<h3 id='notify-users-when-a-new-version-of-your-app-is-available-and-prompt-them-to-upgrade' class='heading'>Notify users when a new version of your app is available and prompt them to upgrade.</h3>
|
||||
<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' class='heading'><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>
|
||||
<h2 id='table-of-contents' class='heading'>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 & Submissions</a></li>
|
||||
<li><a href="https://github.com/ArtSabintsev/Siren#phased-releases">Phrased Releases</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>
|
||||
<h2 id='a-href-https-github-com-artsabintsev-siren-created-and-maintained-by-attribution-a' class='heading'>- <a href="https://github.com/ArtSabintsev/Siren#created-and-maintained-by">Attribution</a></h2>
|
||||
<h2 id='about' class='heading'>About</h2>
|
||||
|
||||
<p><strong>Siren</strong> checks a user’s currently installed version of your iOS app against the version that is currently available in the App Store.</p>
|
||||
|
||||
<p>If a new version is available, an alert can be presented to the user informing them of the newer version, and giving them the option to update the application. Alternatively, Siren can notify your app programmatically, enabling you to inform the user through alternative means, such as a custom interface.</p>
|
||||
|
||||
<ul>
|
||||
<li>Siren is built to work with the <a href="http://semver.org/"><strong>Semantic Versioning</strong></a> system.
|
||||
|
||||
<ul>
|
||||
<li>Semantic Versioning is a three number versioning system (e.g., 1.0.0)</li>
|
||||
<li>Siren also supports two-number versioning (e.g., 1.0) and four-number versioning (e.g., 1.0.0.0)</li>
|
||||
</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>
|
||||
<h3 id='readme-translations' class='heading'>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>
|
||||
<h2 id='features' class='heading'>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 <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>
|
||||
</ul>
|
||||
<h2 id='screenshots' class='heading'>Screenshots</h2>
|
||||
|
||||
<ul>
|
||||
<li>The <strong>left picture</strong> forces the user to update the app.</li>
|
||||
<li>The <strong>center picture</strong> gives the user the option to update the app.</li>
|
||||
<li>The <strong>right picture</strong> gives the user the option to skip the current update.</li>
|
||||
<li>These options are controlled by the <code>Siren.AlertType</code> enum.</li>
|
||||
</ul>
|
||||
|
||||
<p><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"></p>
|
||||
<h2 id='installation-instructions' class='heading'>Installation Instructions</h2>
|
||||
<h3 id='cocoapods' class='heading'>CocoaPods</h3>
|
||||
|
||||
<p>For Swift 3 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Siren'</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 4 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Siren'</span><span class="p">,</span> <span class="ss">:git</span> <span class="o">=></span> <span class="s1">'https://github.com/ArtSabintsev/Siren.git'</span><span class="p">,</span> <span class="ss">:branch</span> <span class="o">=></span> <span class="s1">'swift4'</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 2.3 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'Siren'</span><span class="p">,</span> <span class="ss">:git</span> <span class="o">=></span> <span class="s1">'https://github.com/ArtSabintsev/Siren.git'</span><span class="p">,</span> <span class="ss">:branch</span> <span class="o">=></span> <span class="s1">'swift2.3'</span>
|
||||
</code></pre>
|
||||
<h3 id='carthage' class='heading'>Carthage</h3>
|
||||
|
||||
<p>For Swift 3 support:</p>
|
||||
<pre class="highlight swift"><code><span class="n">github</span> <span class="s">"ArtSabintsev/Siren"</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 4 support:</p>
|
||||
<pre class="highlight swift"><code><span class="n">github</span> <span class="s">"ArtSabintsev/Siren"</span><span class="p">,</span> <span class="s">"swift4"</span>
|
||||
</code></pre>
|
||||
|
||||
<p>For Swift 2.3 support:</p>
|
||||
<pre class="highlight ruby"><code><span class="n">github</span> <span class="s2">"ArtSabintsev/Siren"</span><span class="p">,</span> <span class="s2">"swift2.3"</span>
|
||||
</code></pre>
|
||||
<h3 id='swift-package-manager' class='heading'>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">2</span><span class="p">)</span>
|
||||
</code></pre>
|
||||
<h2 id='example-code' class='heading'>Example Code</h2>
|
||||
|
||||
<p>Below is some commented sample code. Adapt this to meet your app’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]?) -> Bool {
|
||||
/* Siren code should go below window?.makeKeyAndVisible() */
|
||||
|
||||
// Siren is a singleton
|
||||
let siren = Siren.shared
|
||||
|
||||
// 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.
|
||||
siren.checkVersion(checkType: .immediately)
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
func applicationDidBecomeActive(application: UIApplication) {
|
||||
/*
|
||||
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(_:). */
|
||||
|
||||
Siren.shared.checkVersion(checkType: .daily)
|
||||
}
|
||||
|
||||
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.
|
||||
|
||||
ONLY USE WITH Siren.AlertType.immediately
|
||||
*/
|
||||
|
||||
Siren.shared.checkVersion(checkType: .immediately)
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>And you’re all set!</p>
|
||||
<h3 id='prompting-for-updates-without-alerts' class='heading'>Prompting for Updates without Alerts</h3>
|
||||
|
||||
<p>Some developers may want to display a less obtrusive custom interface, like a banner or small icon. To accomplish this, you can disable alert presentation by doing the following:</p>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">application</span><span class="p">(</span><span class="nv">application</span><span class="p">:</span> <span class="kt">UIApplication</span><span class="p">,</span> <span class="n">didFinishLaunchingWithOptions</span> <span class="nv">launchOptions</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSObject</span><span class="p">:</span> <span class="kt">AnyObject</span><span class="p">]?)</span> <span class="o">-></span> <span class="kt">Bool</span> <span class="p">{</span>
|
||||
<span class="o">...</span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">delegate</span> <span class="o">=</span> <span class="k">self</span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">alertType</span> <span class="o">=</span> <span class="o">.</span><span class="k">none</span>
|
||||
<span class="o">...</span>
|
||||
<span class="p">}</span>
|
||||
|
||||
<span class="kd">extension</span> <span class="kt">AppDelegate</span><span class="p">:</span> <span class="kt">SirenDelegate</span> <span class="p">{</span>
|
||||
<span class="c1">// Returns a localized message to this delegate method upon performing a successful version check</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"</span><span class="se">\(</span><span class="n">message</span><span class="se">)</span><span class="s">"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</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>
|
||||
<h2 id='granular-version-update-management' class='heading'>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 Siren.AlertType.option for all updates */</span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">revisionUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">patchUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">minorUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
<span class="n">siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">majorUpdateAlertType</span> <span class="o">=</span> <span class="o"><</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">AlertType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
</code></pre>
|
||||
<h2 id='optional-delegate-and-delegate-methods' class='heading'>Optional Delegate and Delegate Methods</h2>
|
||||
|
||||
<p>Six delegate methods allow you to handle or track the user’s behavior. Each method has a default, empty implementation, effectively making each of these methods optional.</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SirenDelegate</span><span class="p">:</span> <span class="kd">class</span> <span class="p">{</span>
|
||||
<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">Siren</span><span class="o">.</span><span class="kt">AlertType</span><span class="p">)</span> <span class="c1">// User presented with update dialog</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenUserDidLaunchAppStore</span><span class="p">()</span> <span class="c1">// User did click on button that launched App Store.app</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenUserDidSkipVersion</span><span class="p">()</span> <span class="c1">// User did click on button that skips version update</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenUserDidCancel</span><span class="p">()</span> <span class="c1">// User did click on button that cancels update dialog</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenDidFailVersionCheck</span><span class="p">(</span><span class="nv">error</span><span class="p">:</span> <span class="kt">NSError</span><span class="p">)</span> <span class="c1">// Siren failed to perform version check (may return system-level error)</span>
|
||||
<span class="kd">func</span> <span class="nf">sirenDidDetectNewVersionWithoutAlert</span><span class="p">(</span><span class="nv">message</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="c1">// Siren performed version check and did not display alert</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<h2 id='localization' class='heading'>Localization</h2>
|
||||
|
||||
<p>Siren is localized for</p>
|
||||
|
||||
<ul>
|
||||
<li>Arabic</li>
|
||||
<li>Armenian</li>
|
||||
<li>Basque</li>
|
||||
<li>Chinese (Simplified and Traditional)</li>
|
||||
<li>Croatian</li>
|
||||
<li>Czech</li>
|
||||
<li>Danish</li>
|
||||
<li>Dutch</li>
|
||||
<li>English</li>
|
||||
<li>Estonian</li>
|
||||
<li>Finnish</li>
|
||||
<li>French</li>
|
||||
<li>German</li>
|
||||
<li>Greek</li>
|
||||
<li>Hebrew</li>
|
||||
<li>Hungarian</li>
|
||||
<li>Indonesian</li>
|
||||
<li>Italian</li>
|
||||
<li>Japanese</li>
|
||||
<li>Korean</li>
|
||||
<li>Latvian</li>
|
||||
<li>Lithuanian</li>
|
||||
<li>Malay</li>
|
||||
<li>Norwegian (Bokmål)</li>
|
||||
<li>Persian (Afghanistan, Iran, Persian)</li>
|
||||
<li>Polish</li>
|
||||
<li>Portuguese (Brazil and Portugal)</li>
|
||||
<li>Russian</li>
|
||||
<li>Serbian (Cyrillic and Latin)</li>
|
||||
<li>Slovenian</li>
|
||||
<li>Spanish</li>
|
||||
<li>Swedish</li>
|
||||
<li>Thai</li>
|
||||
<li>Turkish</li>
|
||||
<li>Urdu</li>
|
||||
<li>Vietnamese</li>
|
||||
</ul>
|
||||
|
||||
<p>You may want the update dialog to <em>always</em> appear in a certain language, ignoring iOS’s language setting (e.g. apps released in a specific country).</p>
|
||||
|
||||
<p>You can enable it like so:</p>
|
||||
<pre class="highlight swift"><code><span class="kt">Siren</span><span class="o">.</span><span class="n">shared</span><span class="o">.</span><span class="n">forceLanguageLocalization</span> <span class="o">=</span> <span class="kt">Siren</span><span class="o">.</span><span class="kt">LanguageType</span><span class="o">.<</span><span class="err">#</span><span class="kt">Siren</span><span class="o">.</span><span class="kt">LanguageType_Enum_Value</span><span class="err">#</span><span class="o">></span>
|
||||
</code></pre>
|
||||
<h2 id='device-compatibility' class='heading'>Device Compatibility</h2>
|
||||
|
||||
<p>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 <em>false positive</em> case regarding app updating.</p>
|
||||
<h2 id='testing-siren' class='heading'>Testing Siren</h2>
|
||||
|
||||
<p>Temporarily change the version string in Xcode (within the <code>.xcodeproj</code>) to an older version than the one that’s currently available in the App Store. Afterwards, build and run your app, and you should see the alert.</p>
|
||||
|
||||
<p>If you currently don’t have an app in the store, change your bundleID to one that is already in the store. In the sample app packaged with this library, we use the <a href="https://itunes.apple.com/us/app/itunes-connect/id376771144?mt=8">iTunes Connect Mobile</a> app’s bundleID: <code>com.apple.itunesconnect.mobile</code>.</p>
|
||||
|
||||
<p>For your convenience, you may turn on debugging statements by setting <code>self.debugEnabled = true</code> before calling the <code>checkVersion()</code> method.</p>
|
||||
<h2 id='app-store-submissions' class='heading'>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>
|
||||
<h2 id='phased-releases' class='heading'>Phased Releases</h2>
|
||||
|
||||
<p>In 2017, Apple announced the <a href="https://itunespartner.apple.com/en/apps/faq/Managing%20Your%20Apps_Submission%20Process">ability to rollout app updates gradually (a.k.a. Phased Releases)</a>. Siren will continue to work as it has in the past, presenting an update modal to <em>all</em> users. If you opt-in to a phased rollout for a specific version, you will need to remotely disable Siren until the rollout is done.</p>
|
||||
<h2 id='words-of-caution' class='heading'>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 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 <code>showAlertAfterCurrentVersionHasBeenReleasedForDays</code>.</p>
|
||||
<h2 id='ports' class='heading'>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’ 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’s Siren library</strong></a></li>
|
||||
<li>The Siren Swift library inspired the React Native library.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<h2 id='created-and-maintained-by' class='heading'>Created and maintained by</h2>
|
||||
|
||||
<p><a href="http://www.sabintsev.com/">Arthur Ariel Sabintsev</a> & <a href="http://twitter.com/getaaron">Aaron Brager</a></p>
|
||||
<h3 id='authors' class='heading'>Authors</h3>
|
||||
|
||||
</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.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
<p>© 2017 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2017-10-11)</p>
|
||||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -1,292 +1,6 @@
|
||||
{
|
||||
"warnings": [
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 522,
|
||||
"symbol": "Siren.LanguageType.Arabic",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 523,
|
||||
"symbol": "Siren.LanguageType.Armenian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 524,
|
||||
"symbol": "Siren.LanguageType.Basque",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 525,
|
||||
"symbol": "Siren.LanguageType.ChineseSimplified",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 526,
|
||||
"symbol": "Siren.LanguageType.ChineseTraditional",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 527,
|
||||
"symbol": "Siren.LanguageType.Croatian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 528,
|
||||
"symbol": "Siren.LanguageType.Czech",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 529,
|
||||
"symbol": "Siren.LanguageType.Danish",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 530,
|
||||
"symbol": "Siren.LanguageType.Dutch",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 531,
|
||||
"symbol": "Siren.LanguageType.English",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 532,
|
||||
"symbol": "Siren.LanguageType.Estonian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 533,
|
||||
"symbol": "Siren.LanguageType.Finnish",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 534,
|
||||
"symbol": "Siren.LanguageType.French",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 535,
|
||||
"symbol": "Siren.LanguageType.German",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 536,
|
||||
"symbol": "Siren.LanguageType.Greek",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 537,
|
||||
"symbol": "Siren.LanguageType.Hebrew",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 538,
|
||||
"symbol": "Siren.LanguageType.Hungarian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 539,
|
||||
"symbol": "Siren.LanguageType.Indonesian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 540,
|
||||
"symbol": "Siren.LanguageType.Italian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 541,
|
||||
"symbol": "Siren.LanguageType.Japanese",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 542,
|
||||
"symbol": "Siren.LanguageType.Korean",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 543,
|
||||
"symbol": "Siren.LanguageType.Latvian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 544,
|
||||
"symbol": "Siren.LanguageType.Lithuanian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 545,
|
||||
"symbol": "Siren.LanguageType.Malay",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 546,
|
||||
"symbol": "Siren.LanguageType.Norwegian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 547,
|
||||
"symbol": "Siren.LanguageType.Persian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 548,
|
||||
"symbol": "Siren.LanguageType.PersianAfghanistan",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 549,
|
||||
"symbol": "Siren.LanguageType.PersianIran",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 550,
|
||||
"symbol": "Siren.LanguageType.Polish",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 551,
|
||||
"symbol": "Siren.LanguageType.PortugueseBrazil",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 552,
|
||||
"symbol": "Siren.LanguageType.PortuguesePortugal",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 553,
|
||||
"symbol": "Siren.LanguageType.Russian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 554,
|
||||
"symbol": "Siren.LanguageType.SerbianCyrillic",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 555,
|
||||
"symbol": "Siren.LanguageType.SerbianLatin",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 556,
|
||||
"symbol": "Siren.LanguageType.Slovenian",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 557,
|
||||
"symbol": "Siren.LanguageType.Spanish",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 558,
|
||||
"symbol": "Siren.LanguageType.Swedish",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 559,
|
||||
"symbol": "Siren.LanguageType.Thai",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 560,
|
||||
"symbol": "Siren.LanguageType.Turkish",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 561,
|
||||
"symbol": "Siren.LanguageType.Urdu",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
},
|
||||
{
|
||||
"file": "/Users/Arthur/Documents/oss/siren/Sources/Siren.swift",
|
||||
"line": 562,
|
||||
"symbol": "Siren.LanguageType.Vietnamese",
|
||||
"symbol_kind": "source.lang.swift.decl.enumelement",
|
||||
"warning": "undocumented"
|
||||
}
|
||||
|
||||
],
|
||||
"source_directory": "/Users/Arthur/Documents/oss/siren"
|
||||
"source_directory": "/Users/Arthur/Documents/oss/siren/SirenExample"
|
||||
}
|
||||