FormatStyleCapitalizationContext
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct FormatStyleCapitalizationContext
struct FormatStyleCapitalizationContext
s30FoundationInternationalization32FormatStyleCapitalizationContextV
What are these?8JKEZ
import FoundationInternationalization
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(from decoder: any Decoder) throws
static var beginningOfSentence: FormatStyleCapitalizationContext { get }
static var listItem: FormatStyleCapitalizationContext { get }
For use in a UI list or menu item.
static var middleOfSentence: FormatStyleCapitalizationContext { get }
static var standalone: FormatStyleCapitalizationContext { get }
For stand-alone usage, such as an isolated name on a calendar page.
static var unknown: FormatStyleCapitalizationContext { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.