diff --git a/RETableViewManager/Cells/RETableViewBoolCell.m b/RETableViewManager/Cells/RETableViewBoolCell.m
index 6316204..aa207b7 100644
--- a/RETableViewManager/Cells/RETableViewBoolCell.m
+++ b/RETableViewManager/Cells/RETableViewBoolCell.m
@@ -74,7 +74,7 @@
self.textLabel.frame = CGRectMake(self.textLabel.frame.origin.x, self.textLabel.frame.origin.y, self.textLabel.frame.size.width - self.switchView.frame.size.width - self.section.style.contentViewMargin - 10.0, self.textLabel.frame.size.height);
self.textLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth;
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
#pragma mark -
diff --git a/RETableViewManager/Cells/RETableViewCreditCardCell.m b/RETableViewManager/Cells/RETableViewCreditCardCell.m
index 3d14b46..0ae5a82 100644
--- a/RETableViewManager/Cells/RETableViewCreditCardCell.m
+++ b/RETableViewManager/Cells/RETableViewCreditCardCell.m
@@ -174,7 +174,7 @@ static inline NSString * RECreditCardType(NSString *creditCardNumber)
self.cvvField.frame = frame;
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
diff --git a/RETableViewManager/Cells/RETableViewDateTimeCell.m b/RETableViewManager/Cells/RETableViewDateTimeCell.m
index d725fcc..f57b028 100644
--- a/RETableViewManager/Cells/RETableViewDateTimeCell.m
+++ b/RETableViewManager/Cells/RETableViewDateTimeCell.m
@@ -110,7 +110,7 @@
[self layoutDetailView:self.placeholderLabel minimumWidth:[self.placeholderLabel.text sizeWithFont:self.placeholderLabel.font].width];
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
diff --git a/RETableViewManager/Cells/RETableViewFloatCell.m b/RETableViewManager/Cells/RETableViewFloatCell.m
index a4df9c7..4deae9f 100644
--- a/RETableViewManager/Cells/RETableViewFloatCell.m
+++ b/RETableViewManager/Cells/RETableViewFloatCell.m
@@ -65,7 +65,7 @@
self.sliderView.frame = CGRectMake(self.contentView.frame.size.width - self.item.sliderWidth - cellOffset, (self.contentView.frame.size.height - self.sliderView.frame.size.height) / 2.0, self.item.sliderWidth, 23.0);
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
#pragma mark -
diff --git a/RETableViewManager/Cells/RETableViewLongTextCell.m b/RETableViewManager/Cells/RETableViewLongTextCell.m
index 2f7a9e4..f921f5a 100644
--- a/RETableViewManager/Cells/RETableViewLongTextCell.m
+++ b/RETableViewManager/Cells/RETableViewLongTextCell.m
@@ -108,7 +108,7 @@
{
[super layoutSubviews];
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
diff --git a/RETableViewManager/Cells/RETableViewNumberCell.m b/RETableViewManager/Cells/RETableViewNumberCell.m
index 43f9d60..45a4a15 100644
--- a/RETableViewManager/Cells/RETableViewNumberCell.m
+++ b/RETableViewManager/Cells/RETableViewNumberCell.m
@@ -74,7 +74,7 @@
{
[super layoutSubviews];
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
#pragma mark -
diff --git a/RETableViewManager/Cells/RETableViewOptionCell.m b/RETableViewManager/Cells/RETableViewOptionCell.m
index c0a13a0..8d6d761 100644
--- a/RETableViewManager/Cells/RETableViewOptionCell.m
+++ b/RETableViewManager/Cells/RETableViewOptionCell.m
@@ -75,7 +75,7 @@
}
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
@end
diff --git a/RETableViewManager/Cells/RETableViewTextCell.m b/RETableViewManager/Cells/RETableViewTextCell.m
index 26921c2..e2a1264 100644
--- a/RETableViewManager/Cells/RETableViewTextCell.m
+++ b/RETableViewManager/Cells/RETableViewTextCell.m
@@ -97,7 +97,7 @@
[self layoutDetailView:self.textField minimumWidth:0];
if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
- [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
+ [self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[self.tableViewManager.tableView indexPathForCell:self]];
}
#pragma mark -
diff --git a/RETableViewManagerExample/RETableViewManagerExample.xcworkspace/xcshareddata/RETableViewManagerExample.xccheckout b/RETableViewManagerExample/RETableViewManagerExample.xcworkspace/xcshareddata/RETableViewManagerExample.xccheckout
index 6e1c430..130b2ad 100644
--- a/RETableViewManagerExample/RETableViewManagerExample.xcworkspace/xcshareddata/RETableViewManagerExample.xccheckout
+++ b/RETableViewManagerExample/RETableViewManagerExample.xcworkspace/xcshareddata/RETableViewManagerExample.xccheckout
@@ -5,7 +5,7 @@
IDESourceControlProjectFavoriteDictionaryKey
IDESourceControlProjectIdentifier
- 36F5AB62-F623-4022-8626-6561C6679C33
+ 5069A593-C29C-4F7F-99C3-C70D9B926F65
IDESourceControlProjectName
RETableViewManagerExample
IDESourceControlProjectOriginsDictionary
diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/XIBTestCell.xib b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/XIBTestCell.xib
index 36c7a56..4705872 100644
--- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/XIBTestCell.xib
+++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/XIBTestCell.xib
@@ -1,14 +1,14 @@
- 1552
- 12E55
- 3084
+ 1536
+ 12F37
+ 4510
1187.39
626.00
IBNSLayoutConstraint
@@ -33,7 +33,7 @@
IBCocoaTouchFramework
{320, 44}
-
-
_NS:9
@@ -161,6 +156,7 @@
5
22
2
+ NO
@@ -177,6 +173,7 @@
3
9
3
+ NO
@@ -200,6 +197,7 @@
3
9
1
+ NO
@@ -247,50 +245,21 @@
12
-
-
-
- NSLayoutConstraint
- NSObject
-
- IBProjectSource
- ./Classes/NSLayoutConstraint.h
-
-
-
- RETableViewCell
- UITableViewCell
-
- IBProjectSource
- ./Classes/RETableViewCell.h
-
-
-
- XIBTestCell
- RETableViewCell
-
- testLabel
- UILabel
-
-
- testLabel
-
- testLabel
- UILabel
-
-
-
- IBProjectSource
- ./Classes/XIBTestCell.h
-
-
-
-
+
0
IBCocoaTouchFramework
+ YES
+
+ com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS
+
+
+
+ com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3
+
+
YES
3
YES
- 2083
+ 3742