mirror of
https://github.com/HackPlan/IQKeyboardManager.git
synced 2026-03-26 06:54:36 +08:00
Tried to fix travis ci compilation issue.
This commit is contained in:
@@ -15,4 +15,4 @@ before_install:
|
||||
- rvm use 2.3.1
|
||||
- sudo gem install cocoapods -v '1.0.1'
|
||||
|
||||
script: xctool -workspace Demo.xcworkspace -scheme DemoObjC -sdk iphonesimulator
|
||||
script: xcodebuild -workspace Demo.xcworkspace -scheme DemoObjC -sdk iphonesimulator
|
||||
|
||||
@@ -24,6 +24,38 @@
|
||||
return 30;
|
||||
}
|
||||
|
||||
//-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
//{
|
||||
// return 40;
|
||||
//}
|
||||
//
|
||||
//-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
|
||||
//{
|
||||
// return 40;
|
||||
//}
|
||||
//
|
||||
//-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
|
||||
//{
|
||||
// UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.frame.size.width, 40)];
|
||||
// view.backgroundColor = [UIColor colorWithRed:0.9 green:1 blue:1 alpha:1];
|
||||
//
|
||||
// UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(20, 5, 280, 30)];
|
||||
// textField.placeholder = [NSString stringWithFormat:@"Header %ld",(long)section];
|
||||
// [view addSubview:textField];
|
||||
// return view;
|
||||
//}
|
||||
//
|
||||
//-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
|
||||
//{
|
||||
// UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.frame.size.width, 40)];
|
||||
// view.backgroundColor = [UIColor colorWithRed:1 green:1 blue:0.9 alpha:1];
|
||||
//
|
||||
// UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(20, 5, 280, 30)];
|
||||
// textField.placeholder = [NSString stringWithFormat:@"Footer %ld",(long)section];
|
||||
// [view addSubview:textField];
|
||||
// return view;
|
||||
//}
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
static NSString *identifier = @"TestCell";
|
||||
|
||||
Reference in New Issue
Block a user