MACaptionAppearanceExecuteBlockForProfileID(_:_:)
Declaration
func MACaptionAppearanceExecuteBlockForProfileID(_ profileID: CFString, _ aBlock: @escaping () -> Void)Parameters
- profileID:
The profileID which will appear active when executing the block
- aBlock:
The block of code to execute
Discussion
Executes a block of code as if the provided profileID was active. This is used in cases such as a need to get the fonts and colors of a profileID without changing the currently selected profileID.