Skip to content

Commit 051a1f2

Browse files
committed
Add mark to ColorType extensions.
1 parent 1294e87 commit 051a1f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Attributed/ColorType+Attributes.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
public 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

0 commit comments

Comments
 (0)