File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1616
1717public extension ColorType
1818{
19+ // MARK: - Foreground Color
20+
1921 /**
2022 Applies a foreground color attribute to the enclosed attributed strings.
2123
@@ -40,6 +42,8 @@ public extension ColorType
4042 return Attributed . attribute ( NSForegroundColorAttributeName, self , strings)
4143 }
4244
45+ // MARK: - Background Color
46+
4347 /**
4448 Applies a background color attribute to the enclosed attributed strings.
4549
@@ -64,6 +68,8 @@ public extension ColorType
6468 return Attributed . attribute ( NSBackgroundColorAttributeName, self , strings)
6569 }
6670
71+ // MARK: - Underline Color
72+
6773 /**
6874 Applies an underline color attribute to the enclosed attributed strings.
6975
@@ -88,6 +94,8 @@ public extension ColorType
8894 return Attributed . attribute ( NSUnderlineColorAttributeName, self , strings)
8995 }
9096
97+ // MARK: - Strikethrough Color
98+
9199 /**
92100 Applies an strikethrough color attribute to the enclosed attributed strings.
93101
You can’t perform that action at this time.
0 commit comments