Skip to content

Commit e801851

Browse files
committed
Add marks in extensions for AttributedStringConvertible
1 parent 77d0300 commit e801851

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Attributed/AttributedStringConvertible.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public protocol AttributedStringConvertible
3131
/// Swift's `String` is extended to conform to `AttributedStringConvertible`.
3232
extension String: AttributedStringConvertible
3333
{
34+
// MARK: - Attributed String Convertible
35+
3436
/// Required to conform to `AttributedStringConvertible`.
3537
public var attributedString: NSAttributedString
3638
{
@@ -49,6 +51,8 @@ extension String: AttributedStringConvertible
4951
/// Foundation's `NSAttributedString` is extended to conform to `AttributedStringConvertible`.
5052
extension NSAttributedString: AttributedStringConvertible
5153
{
54+
// MARK: - Attributed String Convertible
55+
5256
/// Required to conform to `AttributedStringConvertible`.
5357
public var attributedString: NSAttributedString
5458
{

0 commit comments

Comments
 (0)