String

struct String
  • Convenience getter for localized strings, uses NSLocalizedString internally on the main bundle and the C3PRO table.

    Declaration

    Swift

    public var c3_localized: String
  • Convenience method for string localizations that have a comment. Looks for the C3PRO table in the main bundle, i.e. C3PRO.strings.

    Declaration

    Swift

    public func c3_localized(_ comment: String) -> String

    Parameters

    comment

    The comment for localizers

    Return Value

    A localized string, if found in the “C3PRO” table