Skip to content

Commit

Permalink
Setting the style of the separator causes a reload of the tableview, …
Browse files Browse the repository at this point in the history
…which can cause a lot of problems. Removed it.
  • Loading branch information
escoz committed Sep 6, 2013
1 parent e2a9c42 commit 12e5344
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion quickdialog/QAppearance.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
@property(nonatomic) CGFloat cellBorderWidth;

@property(nonatomic) UIBarStyle toolbarStyle;
@property(nonatomic) UITableViewCellSeparatorStyle tableSeparatorStyle;


@property(nonatomic, strong) UIView *tableGroupedBackgroundView;
Expand Down
2 changes: 0 additions & 2 deletions quickdialog/QAppearance.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ - (QAppearance *)init {


- (void)setDefaults {
self.tableSeparatorStyle = UITableViewCellSeparatorStyleSingleLine;
}

- (id)copyWithZone:(NSZone *)zone {
Expand Down Expand Up @@ -63,7 +62,6 @@ - (id)copyWithZone:(NSZone *)zone {
copy.sectionTitleFont = _sectionTitleFont;
copy.sectionFooterColor = _sectionFooterColor;
copy.sectionFooterFont = _sectionFooterFont;
copy.tableSeparatorStyle = _tableSeparatorStyle;
}
return copy;
}
Expand Down
2 changes: 0 additions & 2 deletions quickdialog/QuickDialogTableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ - (void)applyAppearanceForRoot:(QRootElement *)element {

if (element.appearance.tableSeparatorColor!=nil)
self.separatorColor = element.appearance.tableSeparatorColor;

self.separatorStyle = element.appearance.tableSeparatorStyle;

}

Expand Down

0 comments on commit 12e5344

Please sign in to comment.