SUVersionDisplay

Objective-C

@protocol SUVersionDisplay

Swift

protocol SUVersionDisplay

Applies special display formatting to version numbers.

  • Formats two version strings.

    Both versions are provided so that important distinguishing information can be displayed while also leaving out unnecessary/confusing parts.

    Declaration

    Objective-C

    - (void)formatVersion:(NSString *_Nonnull *_Nonnull)inOutVersionA
               andVersion:(NSString *_Nonnull *_Nonnull)inOutVersionB;

    Swift

    func formatVersion(_ inOutVersionA: AutoreleasingUnsafeMutablePointer<NSString>, andVersion inOutVersionB: AutoreleasingUnsafeMutablePointer<NSString>)