added counter to new tweet window

This commit is contained in:
Jeena Paradies 2010-05-29 16:37:17 +02:00
parent e2de5c1719
commit 1e39bed3f0
2 changed files with 93 additions and 11 deletions

View file

@ -86,6 +86,10 @@
[[textField currentEditor] setSelectedRange:range];
}
-(void)controlTextDidChange:(NSNotification *)aNotification {
[counter setIntValue: 140 - [[textField stringValue] length]];
}
#pragma mark Keyboard delegate methods