-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
29 changed files
with
281 additions
and
4 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
23 changes: 23 additions & 0 deletions
23
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/coinIcon.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" : [ | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "1x", | ||
"filename" : "coinIcon.png" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x", | ||
"filename" : "[email protected]" | ||
}, | ||
{ | ||
"scale" : "3x", | ||
"filename" : "[email protected]", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+291 Bytes
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/coinIcon.imageset/coinIcon.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
+417 Bytes
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/coinIcon.imageset/[email protected]
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
+609 Bytes
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/coinIcon.imageset/[email protected]
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
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/graph.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" : [ | ||
{ | ||
"scale" : "1x", | ||
"idiom" : "universal", | ||
"filename" : "graph.png" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x", | ||
"filename" : "[email protected]" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"scale" : "3x", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+8.3 KB
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/graph.imageset/graph.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
+22.5 KB
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/graph.imageset/[email protected]
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
+39.9 KB
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/graph.imageset/[email protected]
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
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/searchIcon.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" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "searchIcon.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"scale" : "2x", | ||
"idiom" : "universal", | ||
"filename" : "[email protected]" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"scale" : "3x", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+332 Bytes
...one-iOS/Coinone-iOS/Resource/Assets.xcassets/searchIcon.imageset/searchIcon.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
+531 Bytes
...-iOS/Coinone-iOS/Resource/Assets.xcassets/searchIcon.imageset/[email protected]
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
+773 Bytes
...-iOS/Coinone-iOS/Resource/Assets.xcassets/searchIcon.imageset/[email protected]
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
Coinone-iOS/Coinone-iOS/Resource/Assets.xcassets/titleImage.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" : [ | ||
{ | ||
"scale" : "1x", | ||
"idiom" : "universal", | ||
"filename" : "titleImage.png" | ||
}, | ||
{ | ||
"scale" : "2x", | ||
"idiom" : "universal", | ||
"filename" : "[email protected]" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"scale" : "3x", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+2.27 KB
...one-iOS/Coinone-iOS/Resource/Assets.xcassets/titleImage.imageset/titleImage.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
+4.41 KB
...-iOS/Coinone-iOS/Resource/Assets.xcassets/titleImage.imageset/[email protected]
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
+6.82 KB
...-iOS/Coinone-iOS/Resource/Assets.xcassets/titleImage.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
7 changes: 4 additions & 3 deletions
7
Coinone-iOS/Coinone-iOS/Resource/Storyboards/Popup.storyboard
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13142" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | ||
<device id="retina6_1" orientation="portrait" appearance="light"/> | ||
<dependencies> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12042"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/> | ||
</dependencies> | ||
<scenes/> | ||
</document> |
29 changes: 29 additions & 0 deletions
29
Coinone-iOS/Coinone-iOS/Source/ViewControllers/HomeViewController.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,29 @@ | ||
// | ||
// HomeViewController.swift | ||
// Coinone-iOS | ||
// | ||
// Created by ๋ ธํ์ on 2021/05/17. | ||
// | ||
|
||
import UIKit | ||
|
||
class HomeViewController: UIViewController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
// Do any additional setup after loading the view. | ||
} | ||
|
||
|
||
/* | ||
// MARK: - Navigation | ||
|
||
// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
// Get the new view controller using segue.destination. | ||
// Pass the selected object to the new view controller. | ||
} | ||
*/ | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
Coinone-iOS/Coinone-iOS/Source/ViewControllers/TabbarViewController.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,53 @@ | ||
// | ||
// TabbarViewController.swift | ||
// Coinone-iOS | ||
// | ||
// Created by ๋ ธํ์ on 2021/05/17. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
|
||
class TabbarViewContorller: UITabBarController { | ||
var defaultIndex = 0 { | ||
didSet { | ||
self.selectedIndex = defaultIndex | ||
} | ||
} | ||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
self.view.backgroundColor = .clear | ||
self.selectedIndex = defaultIndex | ||
self.tabBar.layer.borderWidth = 0.6 | ||
// self.tabBar.layer.borderColor = lineColor.cgColor | ||
} | ||
|
||
} | ||
|
||
extension TabbarViewContorller { | ||
override func viewWillAppear(_ animated: Bool) { | ||
super.viewWillAppear(animated) | ||
let firstTabController = HomeViewController() | ||
let secondTabController = TransactionViewController() | ||
let viewControllers = [firstTabController, secondTabController] | ||
self.setViewControllers(viewControllers, animated: true) | ||
|
||
let tabBar: UITabBar = self.tabBar | ||
tabBar.backgroundColor = UIColor.clear | ||
tabBar.barStyle = UIBarStyle.default | ||
tabBar.barTintColor = UIColor.white | ||
|
||
let imageNames = ["tabHomeInact", "tabSearchInact", "tabCommunityInact", "tabMyInact"] | ||
let imageSelectedNames = ["tabHomeAct", "tabSearchAct", "tabCommunityAct", "tabMyAct"] | ||
|
||
for (ind, value) in (tabBar.items?.enumerated())! { | ||
let tabBarItem: UITabBarItem = value as UITabBarItem | ||
tabBarItem.title = nil | ||
tabBarItem.image = UIImage(named: imageNames[ind])?.withRenderingMode(.alwaysOriginal) | ||
tabBarItem.selectedImage = UIImage(named: imageSelectedNames[ind])?.withRenderingMode(.alwaysOriginal) | ||
tabBarItem.accessibilityIdentifier = imageNames[ind] | ||
tabBarItem.imageInsets.top = 15 | ||
tabBarItem.imageInsets.bottom = -15 | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
Coinone-iOS/Coinone-iOS/Source/ViewControllers/TransactionViewController.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,29 @@ | ||
// | ||
// TransactionViewController.swift | ||
// Coinone-iOS | ||
// | ||
// Created by ๋ ธํ์ on 2021/05/17. | ||
// | ||
|
||
import UIKit | ||
|
||
class TransactionViewController: UIViewController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
// Do any additional setup after loading the view. | ||
} | ||
|
||
|
||
/* | ||
// MARK: - Navigation | ||
|
||
// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
// Get the new view controller using segue.destination. | ||
// Pass the selected object to the new view controller. | ||
} | ||
*/ | ||
|
||
} |