diff --git a/Classes/Mvvm/ViewModels/LPDTableCellViewModel.h b/Classes/Mvvm/ViewModels/LPDTableCellViewModel.h index d780fcd..7188ab5 100644 --- a/Classes/Mvvm/ViewModels/LPDTableCellViewModel.h +++ b/Classes/Mvvm/ViewModels/LPDTableCellViewModel.h @@ -21,6 +21,7 @@ @property (nonatomic) UITableViewCellAccessoryType accessoryType; +@property (nonatomic) UITableViewCellSelectionStyle selectionStyle; @end @interface LPDTableDefaultCellViewModel : LPDTableCellViewModel diff --git a/Classes/Mvvm/Views/LPDTableViewCell.m b/Classes/Mvvm/Views/LPDTableViewCell.m index 7367c24..0992263 100644 --- a/Classes/Mvvm/Views/LPDTableViewCell.m +++ b/Classes/Mvvm/Views/LPDTableViewCell.m @@ -33,6 +33,7 @@ - (void)bindingTo:(__kindof id)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 { diff --git a/LPDMvvmKit.podspec b/LPDMvvmKit.podspec index a789299..5455ab2 100644 --- a/LPDMvvmKit.podspec +++ b/LPDMvvmKit.podspec @@ -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 diff --git a/LPDMvvmKit/Info.plist b/LPDMvvmKit/Info.plist index fef94a4..e1fa821 100644 --- a/LPDMvvmKit/Info.plist +++ b/LPDMvvmKit/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4. + 0.4.7 CFBundleSignature ???? CFBundleVersion - 70 + 71 LSRequiresIPhoneOS NSAppTransportSecurity