-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[#4] - 로그인 화면 구현, pod 추가
- Loading branch information
Showing
89 changed files
with
8,073 additions
and
559 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
Binary file added
BIN
+330 Bytes
...OS-forRelease/Resouces/Assets/Assets.xcassets/AppleLogo.imageset/Apple Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+535 Bytes
...forRelease/Resouces/Assets/Assets.xcassets/AppleLogo.imageset/Apple Logo@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+734 Bytes
...forRelease/Resouces/Assets/Assets.xcassets/AppleLogo.imageset/Apple Logo@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
NADA-iOS-forRelease/Resouces/Assets/Assets.xcassets/AppleLogo.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Apple Logo.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "Apple Logo@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "Apple Logo@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
NADA-iOS-forRelease/Resouces/Assets/Assets.xcassets/KakaoLogo.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "pngaaa 1.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "pngaaa 1@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "pngaaa 1@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+420 Bytes
...-iOS-forRelease/Resouces/Assets/Assets.xcassets/KakaoLogo.imageset/pngaaa 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+740 Bytes
...S-forRelease/Resouces/Assets/Assets.xcassets/KakaoLogo.imageset/pngaaa 1@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.11 KB
...S-forRelease/Resouces/Assets/Assets.xcassets/KakaoLogo.imageset/pngaaa 1@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
NADA-iOS-forRelease/Resouces/Assets/Assets.xcassets/NADALogo.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Group 1.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "Group 1@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "Group 1@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+1.64 KB
NADA-iOS-forRelease/Resouces/Assets/Assets.xcassets/NADALogo.imageset/Group 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.53 KB
...iOS-forRelease/Resouces/Assets/Assets.xcassets/NADALogo.imageset/Group 1@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.71 KB
...iOS-forRelease/Resouces/Assets/Assets.xcassets/NADALogo.imageset/Group 1@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions
65
NADA-iOS-forRelease/Resouces/Extensions/UIView+Extension.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,65 @@ | ||
// | ||
// UIView+Extension.swift | ||
// NADA-iOS-forRelease | ||
// | ||
// Created by 민 on 2021/09/21. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
|
||
//@IBDesignable | ||
extension UIView { | ||
|
||
@IBInspectable | ||
var cornerRadius: CGFloat { | ||
get { | ||
return layer.cornerRadius | ||
} | ||
set { | ||
layer.cornerRadius = newValue | ||
} | ||
} | ||
|
||
|
||
@IBInspectable | ||
var borderWidth: CGFloat { | ||
get { | ||
return layer.borderWidth | ||
} | ||
set { | ||
layer.borderWidth = newValue | ||
} | ||
} | ||
|
||
@IBInspectable | ||
var borderColor: UIColor? { | ||
get { | ||
if let color = layer.borderColor { | ||
return UIColor(cgColor: color) | ||
} | ||
return nil | ||
} | ||
set { | ||
if let color = newValue { | ||
layer.borderColor = color.cgColor | ||
} else { | ||
layer.borderColor = nil | ||
} | ||
} | ||
} | ||
} | ||
|
||
// MARK: - load xib | ||
|
||
extension UIView { | ||
static func loadFromXib(withOwner: Any? = nil, options: [UINib.OptionsKey: Any]? = nil) -> Self { | ||
let bundle = Bundle(for: self) | ||
let nib = UINib(nibName: "\(self)", bundle: bundle) | ||
|
||
guard let view = nib.instantiate(withOwner: withOwner, options: options).first as? Self else { | ||
fatalError("Could not load view from nib file.") | ||
} | ||
return view | ||
} | ||
} |
Oops, something went wrong.