Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: facebookarchive/three20
...
head fork: boucher/three20
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
6 src/TTMessageController.m
@@ -235,7 +235,7 @@ - (void)updateSendCommand {
}
} else if ([field isKindOfClass:[TTMessageTextField class]]) {
UITextField* textField = [_fieldViews objectAtIndex:i];
- if (!textField.text.isEmptyOrWhitespace) {
+ if (textField.text.isEmptyOrWhitespace) {
compliant = NO;
}
}
@@ -477,6 +477,10 @@ - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRang
[NSTimer scheduledTimerWithTimeInterval:0 target:self
selector:@selector(setTitleToSubject) userInfo:nil repeats:NO];
}
+
+ [NSTimer scheduledTimerWithTimeInterval:0 target:self
+ selector:@selector(updateSendCommand) userInfo:nil repeats:NO];
+
return YES;
}
View
1  src/TTTableViewController.m
@@ -40,6 +40,7 @@ - (void)reloadTableData {
- (void)refreshingHideAnimationStopped {
[_refreshingView removeFromSuperview];
+ [_tableView flashScrollIndicators];
TT_RELEASE_MEMBER(_refreshingView);
}
View
5 src/TTTableViewDelegate.m
@@ -114,6 +114,11 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
[TTURLRequestQueue mainQueue].suspended = NO;
+
+ if (scrollView.contentOffset.y == scrollView.contentSize.height - scrollView.frame.size.height)
+ if ([self.controller.dataSource respondsToSelector:@selector(canLoadMore)])
+ if ([self.controller.dataSource canLoadMore])
+ [self.controller.dataSource load:TTURLRequestCachePolicyDefault nextPage:YES];
}
@end

No commit comments for this range

Something went wrong with that request. Please try again.