We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce15b3 commit 0538bcdCopy full SHA for 0538bcd
SWTableViewCell/ViewController.m
@@ -35,8 +35,7 @@ - (void)viewDidLoad {
35
UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
36
[refreshControl addTarget:self action:@selector(toggleCells:) forControlEvents:UIControlEventValueChanged];
37
refreshControl.tintColor = [UIColor blueColor];
38
-
39
- [self.tableView addSubview:refreshControl];
+
40
self.refreshControl = refreshControl;
41
42
// If you set the seperator inset on iOS 6 you get a NSInvalidArgumentException...weird
0 commit comments