added counter to new tweet window
This commit is contained in:
parent
e2de5c1719
commit
1e39bed3f0
2 changed files with 93 additions and 11 deletions
|
@ -86,6 +86,10 @@
|
|||
[[textField currentEditor] setSelectedRange:range];
|
||||
}
|
||||
|
||||
-(void)controlTextDidChange:(NSNotification *)aNotification {
|
||||
[counter setIntValue: 140 - [[textField stringValue] length]];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark Keyboard delegate methods
|
||||
|
||||
|
|
Reference in a new issue