azu / azu/MarkdownSyntaxEditor

suggest add initWithFrame to MarkdownTextView

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
50
Forks
10
PR merge metrics
No merged PRs in 30d

Description

- (id)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
[[NSNotificationCenter defaultCenter]
addObserver:self selector:@selector(didTextChangeText:) name:UITextViewTextDidChangeNotification object:nil];
[self updateSyntax];
[KOKeyboardRow applyToTextView:self];
}
return self;
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at MarkdownTextView's initialization code and inspect the UITextView lifecycle around initWithFrame:(CGRect)frame. Confirm how text-change observation, syntax updates, and KOKeyboardRow setup are currently reached, then verify the requested initializer is exercised without breaking existing construction paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.