Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

comment typos

  • Loading branch information...
commit 2ad198ac5b825788920a7ac8a70bba5174e2414d 1 parent a6c047f
Johan Kool authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 KVPasscodeViewController.m
5 KVPasscodeViewController.m
View
@@ -147,6 +147,7 @@ - (void)internalResetWithAnimation:(NSNumber *)animationStyleNumber {
case KVPasscodeAnimationStyleConfirm:
;
+ // This will cause the 'new' fields to appear without bullets already in them
self.bulletField0.text = nil;
self.bulletField1.text = nil;
self.bulletField2.text = nil;
@@ -175,7 +176,7 @@ - (void)internalResetWithAnimation:(NSNumber *)animationStyleNumber {
}
- (void)resetWithAnimation:(KVPasscodeAnimationStyle)animationStyle {
- // Do the animation a little later, for better animatio
+ // Do the animation a little later (for better animation) as it's likely this method is called in our delegate method
[self performSelector:@selector(internalResetWithAnimation:) withObject:[NSNumber numberWithInt:animationStyle] afterDelay:0];
}
@@ -230,7 +231,7 @@ - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRang
self.bulletField2.text = @"*";
self.bulletField3.text = @"*";
- // Notify delegate a little later so we have a change to show the 4th bullet
+ // Notify delegate a little later so we have a chance to show the 4th bullet
[self performSelector:@selector(notifyDelegate:) withObject:passcode afterDelay:0];
return NO;
Please sign in to comment.
Something went wrong with that request. Please try again.