forked from YAPP-19th/iOS-Team-2-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c092788
commit 4fd02d0
Showing
9 changed files
with
423 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Budi/Budi/Source/MyBudi/Edit/Cells/LocationReplaceTableViewCell.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// PositionTableViewCell.swift | ||
// Budi | ||
// | ||
// Created by 인병윤 on 2022/01/10. | ||
// | ||
|
||
import UIKit | ||
|
||
class LocationReplaceTableViewCell: UITableViewCell { | ||
|
||
static let cellId = "LocationReplaceTableViewCell" | ||
|
||
@IBOutlet weak var locationTextField: UITextField! | ||
@IBOutlet weak var replaceLocationButton: UIButton! | ||
override func awakeFromNib() { | ||
super.awakeFromNib() | ||
// Initialization code | ||
} | ||
|
||
override func setSelected(_ selected: Bool, animated: Bool) { | ||
super.setSelected(selected, animated: animated) | ||
|
||
// Configure the view for the selected state | ||
} | ||
|
||
} |
96 changes: 96 additions & 0 deletions
96
Budi/Budi/Source/MyBudi/Edit/Cells/LocationReplaceTableViewCell.xib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | ||
<device id="retina6_1" orientation="portrait" appearance="light"/> | ||
<dependencies> | ||
<deployment identifier="iOS"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19454"/> | ||
<capability name="Named colors" minToolsVersion="9.0"/> | ||
<capability name="Safe area layout guides" minToolsVersion="9.0"/> | ||
<capability name="System colors in document resources" minToolsVersion="11.0"/> | ||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
</dependencies> | ||
<objects> | ||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> | ||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="LocationReplaceTableViewCell" rowHeight="110" id="KGk-i7-Jjw" customClass="LocationReplaceTableViewCell" customModule="Budi" customModuleProvider="target"> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="165"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="165"/> | ||
<autoresizingMask key="autoresizingMask"/> | ||
<subviews> | ||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FxT-Va-Dqg"> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="165"/> | ||
<color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
</view> | ||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="활동지역" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jCU-Fb-r7H"> | ||
<rect key="frame" x="8" y="16" width="48.5" height="17"/> | ||
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="14"/> | ||
<nil key="textColor"/> | ||
<nil key="highlightedColor"/> | ||
</label> | ||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gry-dR-8wz"> | ||
<rect key="frame" x="16" y="105" width="343" height="48"/> | ||
<color key="backgroundColor" name="Border"/> | ||
<constraints> | ||
<constraint firstAttribute="height" constant="48" id="ayI-mE-M7a"/> | ||
</constraints> | ||
<fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
<color key="tintColor" name="Black"/> | ||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | ||
<state key="normal" title="다시 선택"> | ||
<color key="titleColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | ||
</state> | ||
<userDefinedRuntimeAttributes> | ||
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | ||
<real key="value" value="8"/> | ||
</userDefinedRuntimeAttribute> | ||
</userDefinedRuntimeAttributes> | ||
</button> | ||
<textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="yEt-5g-y2m"> | ||
<rect key="frame" x="16" y="49" width="343" height="48"/> | ||
<constraints> | ||
<constraint firstAttribute="height" constant="48" id="YLm-Aj-sbr"/> | ||
</constraints> | ||
<fontDescription key="fontDescription" type="system" pointSize="16"/> | ||
<textInputTraits key="textInputTraits"/> | ||
<connections> | ||
<action selector="locationTextField:" destination="KGk-i7-Jjw" eventType="editingDidEnd" id="7ls-DA-j6T"/> | ||
</connections> | ||
</textField> | ||
</subviews> | ||
<constraints> | ||
<constraint firstAttribute="trailing" secondItem="yEt-5g-y2m" secondAttribute="trailing" constant="16" id="0vH-1m-iNA"/> | ||
<constraint firstItem="FxT-Va-Dqg" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="3i3-Wc-WI9"/> | ||
<constraint firstAttribute="trailing" secondItem="gry-dR-8wz" secondAttribute="trailing" constant="16" id="7mp-Md-oZy"/> | ||
<constraint firstItem="gry-dR-8wz" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="J6F-BD-fSR"/> | ||
<constraint firstAttribute="trailing" secondItem="FxT-Va-Dqg" secondAttribute="trailing" id="OV3-8d-jbS"/> | ||
<constraint firstAttribute="bottom" secondItem="FxT-Va-Dqg" secondAttribute="bottom" id="UWq-QQ-nNV"/> | ||
<constraint firstItem="jCU-Fb-r7H" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="16" id="WEK-xf-fOe"/> | ||
<constraint firstItem="gry-dR-8wz" firstAttribute="top" secondItem="yEt-5g-y2m" secondAttribute="bottom" constant="8" id="ge0-Bm-Eak"/> | ||
<constraint firstItem="FxT-Va-Dqg" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="hPj-m5-whX"/> | ||
<constraint firstItem="yEt-5g-y2m" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="l7F-BD-O8b"/> | ||
<constraint firstItem="jCU-Fb-r7H" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="8" id="ss3-Jx-1nx"/> | ||
<constraint firstItem="yEt-5g-y2m" firstAttribute="top" secondItem="jCU-Fb-r7H" secondAttribute="bottom" constant="16" id="uGh-N8-Ha7"/> | ||
</constraints> | ||
</tableViewCellContentView> | ||
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/> | ||
<connections> | ||
<outlet property="locationTextField" destination="yEt-5g-y2m" id="vdn-MC-ec5"/> | ||
<outlet property="replaceLocationButton" destination="gry-dR-8wz" id="QFC-hl-qs3"/> | ||
</connections> | ||
<point key="canvasLocation" x="160.86956521739131" y="105.80357142857143"/> | ||
</tableViewCell> | ||
</objects> | ||
<resources> | ||
<namedColor name="Black"> | ||
<color red="0.11699999868869781" green="0.11699999868869781" blue="0.11699999868869781" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
</namedColor> | ||
<namedColor name="Border"> | ||
<color red="0.87800002098083496" green="0.87800002098083496" blue="0.87800002098083496" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
</namedColor> | ||
<systemColor name="systemBackgroundColor"> | ||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
</systemColor> | ||
</resources> | ||
</document> |
25 changes: 25 additions & 0 deletions
25
Budi/Budi/Source/MyBudi/Edit/Cells/NormalTextFieldTableViewCell.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// NormalTextFieldTableViewCell.swift | ||
// Budi | ||
// | ||
// Created by 인병윤 on 2022/01/10. | ||
// | ||
|
||
import UIKit | ||
|
||
class NormalTextFieldTableViewCell: UITableViewCell { | ||
|
||
static let cellId = "NormalTableViewCell" | ||
|
||
override func awakeFromNib() { | ||
super.awakeFromNib() | ||
// Initialization code | ||
} | ||
|
||
override func setSelected(_ selected: Bool, animated: Bool) { | ||
super.setSelected(selected, animated: animated) | ||
|
||
// Configure the view for the selected state | ||
} | ||
|
||
} |
Oops, something went wrong.