character
TypeScriptstatic get character(): numberSwift declarationclass var character: Int { get }class · iOS 7.0+ · SDK 27.1
class NSTextAttachmentstatic get character(): numberSwift declarationclass var character: Int { get }static registerViewProviderClass(textAttachmentViewProviderClass: string, fileType: string): voidSwift declarationclass func registerViewProviderClass(_ textAttachmentViewProviderClass: AnyClass, forFileType fileType: String)static textAttachmentViewProviderClass(fileType: string): (string) | nullSwift declarationclass func textAttachmentViewProviderClass(forFileType fileType: String) -> AnyClass?static initImage(image: UIImage): NSTextAttachmentSwift declarationinit(image: UIImage)static initDataOfType(contentData?: (ArrayBuffer) | null, uti?: (string) | null): NSTextAttachmentSwift declarationinit(data contentData: Data?, ofType uti: String?)get allowsTextAttachmentView(): booleanSwift declarationvar allowsTextAttachmentView: Bool { get set }set allowsTextAttachmentView(value: boolean)Swift declarationvar allowsTextAttachmentView: Bool { get set }get bounds(): { x: number; y: number; width: number; height: number }Swift declarationvar bounds: CGRect { get set }set bounds(value: { x: number; y: number; width: number; height: number })Swift declarationvar bounds: CGRect { get set }get contents(): (ArrayBuffer) | nullSwift declarationvar contents: Data? { get set }set contents(value: (ArrayBuffer) | null)Swift declarationvar contents: Data? { get set }get fileType(): (string) | nullSwift declarationvar fileType: String? { get set }set fileType(value: (string) | null)Swift declarationvar fileType: String? { get set }get fileWrapper(): (_Foundation_FileWrapper) | nullSwift declarationvar fileWrapper: FileWrapper? { get set }set fileWrapper(value: (_Foundation_FileWrapper) | null)Swift declarationvar fileWrapper: FileWrapper? { get set }get image(): (UIImage) | nullSwift declarationvar image: UIImage? { get set }set image(value: (UIImage) | null)Swift declarationvar image: UIImage? { get set }get lineLayoutPadding(): numberSwift declarationvar lineLayoutPadding: CGFloat { get set }set lineLayoutPadding(value: number)Swift declarationvar lineLayoutPadding: CGFloat { get set }get usesTextAttachmentView(): booleanSwift declarationvar usesTextAttachmentView: Bool { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSTextAttachment.init()
inherited init: cannot prove legal (class declares 2 custom initializers)