AppVersionDelegate
public protocol AppVersionDelegate : NSObjectProtocol
Delegate methods which allow expose a set of events to control update checking workflow
-
appVersionCheckedForNewVersion()
Default implementationSuccesefull check for new version in App Store
Default Implementation
Declaration
Swift
func appVersionCheckedForNewVersion()
-
appVersionVersionCheckFailed()
Default implementationFailed check for new version in App Store
Default Implementation
Declaration
Swift
func appVersionVersionCheckFailed()
-
appVersionNewVersionDetected()
Default implementationNew version detected in App Store. Fires for all update types: Major, Minor and Patch
Default Implementation
Declaration
Swift
func appVersionNewVersionDetected()
-
appVersionNewMajorVersionDetected()
Default implementationNew MAJOR version detected in App Store
Default Implementation
Declaration
Swift
func appVersionNewMajorVersionDetected()
-
appVersionNewMinorVersionDetected()
Default implementationNew Minor version detected in App Store
Default Implementation
Declaration
Swift
func appVersionNewMinorVersionDetected()
-
appVersionNewPatchVersionDetected()
Default implementationNew Patch version detected in App Store
Default Implementation
Declaration
Swift
func appVersionNewPatchVersionDetected()
-
appVersionSuppressedBySkipFlag()
Default implementationUpdate
new version available
delegates were suppressed bySkip this Update
flagDefault Implementation
Declaration
Swift
func appVersionSuppressedBySkipFlag()
-
appVersionFirstLaunchForThisVersion()
Default implementationCurrent app version launched for the first time
Default Implementation
Declaration
Swift
func appVersionFirstLaunchForThisVersion()
-
appVersionDidPresentUI()
Default implementationUpdate-suggesting UI(alert) was presented on screen
Default Implementation
Declaration
Swift
func appVersionDidPresentUI()
-
appVersionUserPressedUpdate()
Default implementationUser accepted update proposal, i.e. pressed Update button
Default Implementation
Declaration
Swift
func appVersionUserPressedUpdate()
-
appVersionUserPressedSkip()
Default implementationUser Skipped proposed update, i.e pressed SKip button
Default Implementation
Declaration
Swift
func appVersionUserPressedSkip()
-
appVersionUserPressedCancel()
Default implementationUser dismissed update proposal, i.e. pressed Cancel button
Default Implementation
Declaration
Swift
func appVersionUserPressedCancel()
-
appVersionUserPressedNeverPresent()
Default implementationUser requested to silence update proposals forever, i.e. pressed Never button
Default Implementation
Declaration
Swift
func appVersionUserPressedNeverPresent()