Skip to content

Commit 7e0ef38

Browse files
committed
Tweak comment
1 parent 3659545 commit 7e0ef38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSAttributedString.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecur
5050
public func attributesAtIndex(_ location: Int, effectiveRange range: NSRangePointer) -> [String : AnyObject] {
5151
var cfRange = CFRange()
5252
return withUnsafeMutablePointer(&cfRange) { (rangePointer: UnsafeMutablePointer<CFRange>) -> [String : AnyObject] in
53-
// Get attributes value from `_attributeArray`
53+
// Get attributes value using CoreFoundation function
5454
let value = CFAttributedStringGetAttributes(_cfObject, location, rangePointer)
5555

5656
// Convert the value to [String : AnyObject]

0 commit comments

Comments
 (0)