diff --git a/Tablet/Tablet.swift b/Tablet/Tablet.swift
index 698cd50..074016b 100644
--- a/Tablet/Tablet.swift
+++ b/Tablet/Tablet.swift
@@ -104,6 +104,14 @@ public protocol ConfigurableCell {
func configureWithItem(item: Item)
}
+extension ConfigurableCell where Self: UITableViewCell {
+
+ static func reusableIdentifier() -> String {
+
+ return NSStringFromClass(self).componentsSeparatedByString(".").last ?? ""
+ }
+}
+
/**
A protocol that every row builder should follow.
A certain section can only works with row builders that respect this protocol.
diff --git a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate b/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate
index eb6cc0e..78ba641 100644
Binary files a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate and b/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
new file mode 100644
index 0000000..fe2b454
--- /dev/null
+++ b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
@@ -0,0 +1,5 @@
+
+
+
diff --git a/TabletDemo/TabletDemo/Base.lproj/Main.storyboard b/TabletDemo/TabletDemo/Base.lproj/Main.storyboard
index 2bd0123..7c1d36f 100644
--- a/TabletDemo/TabletDemo/Base.lproj/Main.storyboard
+++ b/TabletDemo/TabletDemo/Base.lproj/Main.storyboard
@@ -1,8 +1,8 @@
-
+
-
+
@@ -20,21 +20,21 @@
-
+
-
+
-
+
@@ -42,11 +42,11 @@
-
-
+
+
-
+
diff --git a/TabletDemo/TabletDemo/ConfigurableTableViewCell.swift b/TabletDemo/TabletDemo/ConfigurableTableViewCell.swift
index 215a443..05da583 100644
--- a/TabletDemo/TabletDemo/ConfigurableTableViewCell.swift
+++ b/TabletDemo/TabletDemo/ConfigurableTableViewCell.swift
@@ -19,7 +19,7 @@ class ConfigurableTableViewCell: UITableViewCell, ConfigurableCell {
static func reusableIdentifier() -> String {
- return "configurable_cell"
+ return "ConfigurableTableViewCell"
}
func configureWithItem(item: Item) {