Refactoring

This commit is contained in:
Roman Efimov
2013-07-19 15:52:42 -05:00
parent 6bce30ef91
commit fa3f4a8bd7

View File

@@ -52,9 +52,8 @@
- (void)textChanged:(NSNotification *)notification
{
if (self.placeholder.length == 0) {
if (self.placeholder.length == 0)
return;
}
if (self.text.length == 0) {
[[self viewWithTag:999] setAlpha:1];