Skip to content

Commit b8cbf93

Browse files
committed
[#4] chore: Extension 파일 추가
1 parent 60fae4c commit b8cbf93

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

iOS/TodoList/Util/Extension.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import Foundation
2+
import UIKit
3+
4+
extension UIScreen {
5+
var isPortrait : Bool {
6+
return self.bounds.width < self.bounds.height
7+
}
8+
}

iOS/TodoList/Xib/TaskCardListView.xib

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
88
</dependencies>
99
<objects>
10-
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="TaskCardListViewController" customModule="TodoList" customModuleProvider="target"/>
10+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="TaskCardListViewController" customModule="TodoList" customModuleProvider="target">
11+
<connections>
12+
<outlet property="taskCardList" destination="iN0-l3-epB" id="E4h-XI-lgP"/>
13+
<outlet property="view" destination="iN0-l3-epB" id="Hf6-21-LBu"/>
14+
</connections>
15+
</placeholder>
1116
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
1217
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="TaskCardListView" customModule="TodoList" customModuleProvider="target">
1318
<rect key="frame" x="0.0" y="0.0" width="495" height="375"/>

0 commit comments

Comments
 (0)