Skip to content

Commit

Permalink
[#142] Page Control Color Asset ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
meenyweeny committed Jul 29, 2022
1 parent 3daa6ab commit 8260cef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions Deartoday/Deartoday/Screen/Main/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@
</view>
<pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="2" translatesAutoresizingMaskIntoConstraints="NO" id="59W-gz-LAT">
<rect key="frame" x="326.33333333333331" y="753" width="96.666666666666686" height="25"/>
<color key="pageIndicatorTintColor" name="lightBlue00"/>
<color key="currentPageIndicatorTintColor" name="lightBlue00"/>
</pageControl>
</subviews>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
Expand Down Expand Up @@ -369,6 +371,9 @@
<namedColor name="blue02">
<color red="0.33300000429153442" green="0.56099998950958252" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="lightBlue00">
<color red="0.94099998474121094" green="0.9649999737739563" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ final class MainViewController: UIViewController {
private func setUI() {
setConstraint()
setLabelUI()
setPageControlUI()
setLayout()
}

Expand Down Expand Up @@ -174,11 +173,6 @@ extension MainViewController {
}
}

private func setPageControlUI() {
pageControl.currentPageIndicatorTintColor = .lightBlue00
pageControl.pageIndicatorTintColor = .lightBlue00
}

private func setConstraint() {
backgroundImageViewWidthConstraintCollection.forEach {
$0.constant = getDeviceWidth()
Expand Down

0 comments on commit 8260cef

Please sign in to comment.