diff --git a/examples/Kittens/Sample/ViewController.m b/examples/Kittens/Sample/ViewController.m index 6b2e4b5058..63a662327a 100644 --- a/examples/Kittens/Sample/ViewController.m +++ b/examples/Kittens/Sample/ViewController.m @@ -57,8 +57,6 @@ static const NSInteger kMaxLitterSize = 100; // max number of kitten cell if (!(self = [super initWithNode:_tableNode])) return nil; - - _tableNode.view.separatorStyle = UITableViewCellSeparatorStyleNone; // KittenNode has its own separator // populate our "data source" with some random kittens _kittenDataSource = [self createLitterWithSize:kLitterSize]; @@ -76,6 +74,7 @@ static const NSInteger kMaxLitterSize = 100; // max number of kitten cell { [super viewDidLoad]; + _tableNode.view.separatorStyle = UITableViewCellSeparatorStyleNone; // KittenNode has its own separator [self.node addSubnode:_tableNode]; }