UITextViewDelegate_Extensions 클래스

정의

프로토콜의 모든 메서드를 IUITextViewDelegate 지원하기 위해 인터페이스에 대한 확장 메서드입니다 UITextViewDelegate .

public static class UITextViewDelegate_Extensions
type UITextViewDelegate_Extensions = class
상속
UITextViewDelegate_Extensions

설명

개발자는 에 대한 IUITextViewDelegate 확장 메서드를 사용하여 인터페이스의 인스턴스를 원래 UITextViewDelegate 프로토콜의 모든 선택적 메서드를 갖는 것으로 처리할 수 있습니다. 인터페이스에는 필요한 멤버만 포함되므로 이러한 확장 메서드를 사용하면 개발자가 프로토콜의 선택적 멤버를 호출할 수 있습니다.

메서드

Changed(IUITextViewDelegate, UITextView)

앱 사용자가 지정한 UITextView의 텍스트 또는 텍스트 특성을 변경했음을 나타냅니다.

EditingEnded(IUITextViewDelegate, UITextView)

지정된 UITextView에서 편집이 종료되었음을 나타냅니다.

EditingStarted(IUITextViewDelegate, UITextView)

지정된 UITextView에서 편집이 시작되었음을 나타냅니다.

SelectionChanged(IUITextViewDelegate, UITextView)

지정한 UITextView에서 텍스트 선택 영역이 변경되었음을 나타냅니다.

ShouldBeginEditing(IUITextViewDelegate, UITextView)

지정된 UITextView에서 편집을 시작해야 하는지 여부입니다.

ShouldChangeText(IUITextViewDelegate, UITextView, NSRange, String)

UITextView에서 지정된 텍스트를 바꿀지 여부입니다.

ShouldEndEditing(IUITextViewDelegate, UITextView)

편집이 지정된 UITextView에서 끝나야 하는지 여부입니다.

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)

개발자는 이 사용되지 않는 메서드를 사용하면 안 됩니다. 개발자는 대신 'UITextItemInteraction'을 사용하는 'ShouldInteractWithTextAttachment' 오버로드를 사용해야 합니다.

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

지정된 UITextView에서 지정된 텍스트 범위의 지정된 URL과 사용자 상호 작용을 허용할지 여부입니다.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

지정된 UITextView에서 지정된 텍스트 범위의 지정된 URL과 사용자 상호 작용을 허용할지 여부입니다.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)

지정된 UITextView에서 지정된 텍스트 범위의 지정된 URL과 사용자 상호 작용을 허용할지 여부입니다.

적용 대상