Classes
The following classes are available globally.
-
BundleInfoVersioning
checks at runtime if, for a given keypath, there have been changes in theinfo.plist
file from the associatedBundle
.Check for
CFBundleShortVersionString
updates and show a What’s new like screen each time the user updates the app:
See moreimport BundleInfoVersioning let bundleInfoVersioning = BundleInfoVersioning() bundleInfoVersioning.check(forKeyPath: "CFBundleShortVersionString") { (_ , newVersion: String?) in self.showWhatsNew(in: newVersion) }
Declaration
Swift
public class BundleInfoVersioning