Skip to content

Commit

Permalink
add tableViewcell selectionStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
foxsofter committed Oct 22, 2016
1 parent c1358fb commit 7563032
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Classes/Mvvm/ViewModels/LPDTableCellViewModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

@property (nonatomic) UITableViewCellAccessoryType accessoryType;

@property (nonatomic) UITableViewCellSelectionStyle selectionStyle;
@end

@interface LPDTableDefaultCellViewModel : LPDTableCellViewModel
Expand Down
1 change: 1 addition & 0 deletions Classes/Mvvm/Views/LPDTableViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ - (void)bindingTo:(__kindof id<LPDTableCellViewModelProtocol>)viewModel {
self.detailTextLabel.text = self.selfViewModel.detail;
self.imageView.image = self.selfViewModel.image;
self.accessoryType = self.selfViewModel.accessoryType;
self.selectionStyle = self.selfViewModel.selectionStyle;
}

- (LPDTableCellViewModel *)selfViewModel {
Expand Down
2 changes: 1 addition & 1 deletion LPDMvvmKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "LPDMvvmKit"
s.version = "0.4.6"
s.version = "0.4.7"
s.summary = "mvvm"

s.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions LPDMvvmKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4.</string>
<string>0.4.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>70</string>
<string>71</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down

0 comments on commit 7563032

Please sign in to comment.