Skip to content

Suggestion: respond to UITextViewTextDidChangeNotification, instead of delegate #5

@calioasis

Description

@calioasis

Great library! A suggestion:

If you respond to UITextViewTextDidChangeNotification inside GrowingTextViewHandler, you won't even need to deal with the textViewDelegate. Makes it even easier/faster to set up

[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(resizeTextViewWithAnimation:)
name:UITextViewTextDidChangeNotification
object:self.growingTextView];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions