Contents

Formatter.Context.dynamic

A formatting context determined automatically at runtime.

Declaration

case dynamic

Discussion

A Formatter.Context.dynamic context is automatically determined to be one of the following: Formatter.Context.standalone, Formatter.Context.beginningOfSentence, or Formatter.Context.middleOfSentence.

When used in combination with stringWithFormat:, the formatter returns a string proxy, formats the string using Formatter.Context.unknown, determines context based on the proxy string’s location, and then reformats the string accordingly.

See Also

Constants