One Logo Pool Ball
UIKit · IOS API REFERENCE

NSTextParagraph

class · iOS 15.0+ · SDK 27.1

class NSTextParagraph

Members (4)

init · iOS 15.0+

init

TypeScript
static init(attributedString?: (_Foundation_NSAttributedString) | null): NSTextParagraph
Swift declaration
init(attributedString: NSAttributedString?)
get · iOS 15.0+

attributedString

TypeScript
get attributedString(): _Foundation_NSAttributedString
Swift declaration
var attributedString: NSAttributedString { get }
get · iOS 15.0+

paragraphContentRange

TypeScript
get paragraphContentRange(): (NSTextRange) | null
Swift declaration
var paragraphContentRange: NSTextRange? { get }
get · iOS 15.0+

paragraphSeparatorRange

TypeScript
get paragraphSeparatorRange(): (NSTextRange) | null
Swift declaration
var paragraphSeparatorRange: NSTextRange? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSTextParagraph.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →