Skip to content

Commit 8b4f694

Browse files
committed
Enables row editing by default.
1 parent ac314fe commit 8b4f694

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Example/Base.lproj/Main.storyboard

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" id="ofV-B0-7Rb">
1515
<rect key="frame" x="0.0" y="64" width="600" height="536"/>
1616
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
17-
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
17+
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/>
1818
<sections>
1919
<tableViewSection id="Qz7-v6-H2v">
2020
<cells>
@@ -29,7 +29,7 @@
2929
<rect key="frame" x="15" y="0.0" width="550" height="43.5"/>
3030
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
3131
<fontDescription key="fontDescription" type="system" pointSize="16"/>
32-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
32+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
3333
<nil key="highlightedColor"/>
3434
</label>
3535
</subviews>
@@ -49,7 +49,7 @@
4949
<rect key="frame" x="15" y="0.0" width="550" height="43.5"/>
5050
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
5151
<fontDescription key="fontDescription" type="system" pointSize="16"/>
52-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
52+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
5353
<nil key="highlightedColor"/>
5454
</label>
5555
</subviews>
@@ -221,7 +221,7 @@
221221
<rect key="frame" x="15" y="0.0" width="570" height="43.5"/>
222222
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
223223
<fontDescription key="fontDescription" type="system" pointSize="16"/>
224-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
224+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
225225
<nil key="highlightedColor"/>
226226
</label>
227227
</subviews>

Sources/DataSources/TableViewSectionedDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class _TableViewSectionedDataSource
6666
}
6767

6868
func _tableView(tableView: UITableView, canMoveRowAtIndexPath indexPath: NSIndexPath) -> Bool {
69-
return false
69+
return true
7070
}
7171

7272
public func tableView(tableView: UITableView, canMoveRowAtIndexPath indexPath: NSIndexPath) -> Bool {

0 commit comments

Comments
 (0)