diff --git a/TNStackView.j b/TNStackView.j index 6240aec..82fddc1 100644 --- a/TNStackView.j +++ b/TNStackView.j @@ -131,6 +131,9 @@ */ - (IBAction)removeAllViews:(id)aSender { + for (var i = 0; i < [_dataSource count]; i++) + [[_dataSource objectAtIndex:i] removeFromSuperview]; + [_dataSource removeAllObjects]; [self reload];