Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Tweaks sample's logging of keyboard status update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Romero Zurbuchen committed Jul 20, 2016
1 parent 51d3aef commit a1e3482
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Examples/Messenger-Shared/MessageViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,12 @@ - (void)didChangeKeyboardStatus:(SLKKeyboardStatus)status
{
// Notifies the view controller that the keyboard changed status.

NSLog(@"didChangeKeyboardStatus : %ld", status);
switch (status) {
case SLKKeyboardStatusWillShow: return NSLog(@"Will Show");
case SLKKeyboardStatusDidShow: return NSLog(@"Did Show");
case SLKKeyboardStatusWillHide: return NSLog(@"Will Hide");
case SLKKeyboardStatusDidHide: return NSLog(@"Did Hide");
}
}

- (void)textWillUpdate
Expand Down

0 comments on commit a1e3482

Please sign in to comment.